fix null pointer
[sdc/sdc-tosca.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4
5         <groupId>org.onap.sdc.jtosca</groupId>
6         <artifactId>jtosca</artifactId>
7         <version>1.4.7-SNAPSHOT</version>
8         <name>sdc-jtosca</name>
9         <properties>
10
11                 <!-- ==================== -->
12                 <!-- Generic properties -->
13                 <!-- ==================== -->
14                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
16                 <!-- ==================== -->
17                 <!-- Versions -->
18                 <!-- ==================== -->
19                 <!-- Global project version -->
20
21                 <!-- Dependencies projects version -->
22                 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
23                 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
24                 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
25                 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
26                 <sitePath>/content/sites/site/org/onap/sdc/jtosca/${project.version}</sitePath>
27                 <snapshots.path>snapshots</snapshots.path>
28                 <releases.path>releases</releases.path>
29                 <staging.profile.id>176c31dfe190a</staging.profile.id>
30                 <!-- Sonar properties -->
31                 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
32                 <sonar.skipDesign>true</sonar.skipDesign>
33                 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
34                 <sonar.sources>.</sonar.sources>
35                 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
36                 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
37                 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
38                 <sonar.branch>${project.version}</sonar.branch>
39
40         </properties>
41
42         <dependencies>
43                 <!-- YAML parser -->
44                 <dependency>
45                         <groupId>org.yaml</groupId>
46                         <artifactId>snakeyaml</artifactId>
47                         <version>1.14</version>
48                         <scope>compile</scope>
49                 </dependency>
50
51                 <dependency>
52                         <groupId>org.slf4j</groupId>
53                         <artifactId>slf4j-api</artifactId>
54                         <version>1.7.25</version>
55                 </dependency>
56
57                 <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> 
58                         <version>1.1.2</version> <scope>test</scope> </dependency> -->
59
60                 <dependency>
61                         <groupId>junit</groupId>
62                         <artifactId>junit</artifactId>
63                         <version>4.12</version>
64                         <scope>test</scope>
65                 </dependency>
66                 
67                 <dependency>
68                   <groupId>com.opencsv</groupId>
69                   <artifactId>opencsv</artifactId>
70                   <version>3.10</version>
71                   <scope>test</scope>
72                 </dependency>
73                 
74                 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
75 <dependency>
76     <groupId>org.apache.commons</groupId>
77     <artifactId>commons-io</artifactId>
78     <version>1.3.2</version>
79 </dependency>
80
81         <dependency>
82             <groupId>org.reflections</groupId>
83             <artifactId>reflections</artifactId>
84             <version>0.9.11</version>
85             <exclusions>
86                 <exclusion>  <!-- declare the exclusion here -->
87                     <groupId>com.google.guava</groupId>
88                     <artifactId>guava</artifactId>
89                 </exclusion>
90             </exclusions>
91         </dependency>
92         <dependency>
93             <groupId>com.google.guava</groupId>
94             <artifactId>guava</artifactId>
95                         <scope>compile</scope>
96             <version>25.1-jre</version>
97         </dependency>
98                 
99         </dependencies>
100
101         <reporting>
102                 <plugins>
103                         <plugin>
104                                 <groupId>org.apache.maven.plugins</groupId>
105                                 <artifactId>maven-javadoc-plugin</artifactId>
106                                 <version>2.10.4</version>
107                                 <configuration>
108                                         <failOnError>false</failOnError>
109                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
110                                         <docletArtifact>
111                                                 <groupId>org.umlgraph</groupId>
112                                                 <artifactId>umlgraph</artifactId>
113                                                 <version>5.6</version>
114                                         </docletArtifact>
115                                         <additionalparam>-views</additionalparam>
116                                         <useStandardDocletOptions>true</useStandardDocletOptions>
117                                 </configuration>
118                         </plugin>
119                 </plugins>
120         </reporting>
121
122         <build>
123                 <plugins>
124                         <plugin>
125                                 <groupId>org.apache.maven.plugins</groupId>
126                                 <artifactId>maven-site-plugin</artifactId>
127                                 <version>3.4</version>
128                                 <dependencies>
129                                         <dependency>
130                                                 <groupId>org.apache.maven.wagon</groupId>
131                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
132                                                 <version>2.10</version>
133                                         </dependency>
134                                 </dependencies>
135                         </plugin>
136
137                         <plugin>
138                                 <groupId>org.jacoco</groupId>
139                                 <artifactId>jacoco-maven-plugin</artifactId>
140                                 <version>0.7.8</version>
141                                 <executions>
142                                         <!-- Unit-Tests -->
143                                         <execution>
144                                                 <id>prepare-agent</id>
145                                                 <goals>
146                                                         <goal>prepare-agent</goal>
147                                                 </goals>
148                                                 <configuration>
149                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
150                                                 </configuration>
151                                         </execution>
152                                 </executions>
153                         </plugin>
154
155                         <!-- Staging Plugin -->
156                         <plugin>
157                                 <groupId>org.sonatype.plugins</groupId>
158                                 <artifactId>nexus-staging-maven-plugin</artifactId>
159                                 <version>1.6.7</version>
160                                 <extensions>true</extensions>
161                                 <configuration>
162                                         <nexusUrl>${nexus.proxy}</nexusUrl>
163                                         <stagingProfileId>${staging.profile.id}</stagingProfileId>
164                                         <serverId>onap-staging</serverId>
165                                 </configuration>
166                         </plugin>
167
168                         <plugin>
169                                 <groupId>org.apache.maven.plugins</groupId>
170                                 <artifactId>maven-compiler-plugin</artifactId>
171                                 <version>2.5.1</version>
172                                 <inherited>true</inherited>
173                                 <configuration>
174                                         <source>1.8</source>
175                                         <target>1.8</target>
176                                 </configuration>
177                         </plugin>
178                         <plugin>
179                                 <groupId>org.apache.maven.plugins</groupId>
180                                 <artifactId>maven-javadoc-plugin</artifactId>
181                                 <version>2.10.3</version>
182                                 <configuration />
183                         </plugin>
184                         <!-- Test -->
185                         <plugin>
186                                 <groupId>org.apache.maven.plugins</groupId>
187                                 <artifactId>maven-surefire-plugin</artifactId>
188                                 <version>2.19.1</version>
189                                 <configuration>
190                                         <includes>
191                                                 <include>*/*</include>
192                                         </includes>
193                                 </configuration>
194                         </plugin>
195                         <plugin>
196                                 <groupId>org.sonarsource.scanner.maven</groupId>
197                                 <artifactId>sonar-maven-plugin</artifactId>
198                                 <version>3.0.2</version>
199                         </plugin>
200                 </plugins>
201         </build>
202
203         <repositories>
204                 <repository>
205                         <id>central</id>
206                         <name>Official Maven repository</name>
207                         <url>http://repo2.maven.org/maven2/</url>
208                 </repository>
209                 <repository>
210                         <id>onap-releases</id>
211                         <name>Release Repository</name>
212                         <url>${nexus.proxy}/content/repositories/releases/</url>
213                 </repository>
214                 <repository>
215                         <id>onap-snapshots</id>
216                         <name>Snapshots Repository</name>
217                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
218                 </repository>
219         </repositories>
220
221         <distributionManagement>
222                 <repository>
223                         <id>onap-releases</id>
224                         <name>Release Repository</name>
225                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
226                 </repository>
227                 <snapshotRepository>
228                         <id>onap-snapshots</id>
229                         <name>Snapshot Repository</name>
230                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
231                 </snapshotRepository>
232                 <site>
233                         <id>onap-site</id>
234                         <url>dav:${nexus.proxy}${sitePath}</url>
235                 </site>
236         </distributionManagement>
237
238 </project>