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