Fix for overriding skipTests variable.
[vid.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
3     <modelVersion>4.0.0</modelVersion>\r
4     <groupId>org.onap.vid</groupId>\r
5     <artifactId>vid-parent</artifactId>\r
6     <version>4.0.0-SNAPSHOT</version>\r
7     <packaging>pom</packaging>\r
8     <name>vid</name>\r
9 \r
10     <profiles>\r
11         <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->\r
12 \r
13         <profile>\r
14             <id>onap</id>\r
15             <activation>\r
16                 <activeByDefault>true</activeByDefault>\r
17             </activation>\r
18             <modules>\r
19                 <module>vid-app-common</module>\r
20                 <module>vid-webpack-master</module>\r
21                 <module>epsdk-app-onap</module>\r
22             </modules>\r
23 \r
24             <repositories>\r
25                 <repository>\r
26                     <id>ecomp-releases</id>\r
27                     <name>VID Release Repository</name>\r
28                     <url>${nexusproxy}/${releaseNexusPath}</url>\r
29                 </repository>\r
30                 <repository>\r
31                     <id>ecomp-snapshots</id>\r
32                     <name>VID Snapshot Repository</name>\r
33                     <url>${nexusproxy}/${snapshotNexusPath}</url>\r
34                 </repository>\r
35                 <repository>\r
36                     <id>ecomp-staging</id>\r
37                     <name>VID Staging Repository</name>\r
38                     <url>${nexusproxy}/${stagingNexusPath}</url>\r
39                 </repository>\r
40                 <repository>\r
41                     <!-- Snapshots repository has ECOMP snapshot artifacts -->\r
42                     <id>oss-snapshots</id>\r
43                     <name>oss Central - Snapshots</name>\r
44                     <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>\r
45                 </repository>\r
46             </repositories>\r
47 \r
48             <distributionManagement>\r
49                 <repository>\r
50                     <id>ecomp-releases</id>\r
51                     <name>VID Release Repository</name>\r
52                     <url>${nexusproxy}/${releaseNexusPath}</url>\r
53                 </repository>\r
54                 <snapshotRepository>\r
55                     <id>ecomp-snapshots</id>\r
56                     <name>VID Snapshot Repository</name>\r
57                     <url>${nexusproxy}/${snapshotNexusPath}</url>\r
58                 </snapshotRepository>\r
59                 <!-- added for javadoc -->\r
60                 <site>\r
61                     <id>ecomp-site</id>\r
62                     <url>dav:${nexusproxy}${sitePath}</url>\r
63                 </site>\r
64             </distributionManagement>\r
65 \r
66         </profile>\r
67 \r
68         <profile>\r
69             <id>docker</id>\r
70             <modules>\r
71                 <module>vid-app-common</module>\r
72                 <module>vid-webpack-master</module>\r
73                 <module>epsdk-app-onap</module>\r
74                 <module>deliveries</module>\r
75             </modules>\r
76         </profile>\r
77     </profiles>\r
78 \r
79     <properties>\r
80         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
81         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
82         <build.version>4.0.0-SNAPSHOT</build.version>\r
83         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
84         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
85         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
86         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
87         <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>\r
88     </properties>\r
89 \r
90     <build>\r
91         <plugins>\r
92             <plugin>\r
93                 <groupId>org.codehaus.mojo</groupId>\r
94                 <artifactId>versions-maven-plugin</artifactId>\r
95                 <version>1.3.1</version>\r
96             </plugin>\r
97             <plugin>\r
98                 <groupId>org.sonatype.plugins</groupId>\r
99                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
100                 <version>1.6.7</version>\r
101                 <extensions>true</extensions>\r
102                 <configuration>\r
103                     <nexusUrl>${nexusproxy}</nexusUrl>\r
104                     <stagingProfileId>176c31dfe190a</stagingProfileId>\r
105                     <serverId>ecomp-staging</serverId>\r
106                 </configuration>\r
107             </plugin>\r
108 \r
109             <plugin>\r
110                 <groupId>org.apache.maven.plugins</groupId>\r
111                 <artifactId>maven-site-plugin</artifactId>\r
112                 <version>3.6</version>\r
113                 <dependencies>\r
114                     <dependency>\r
115                         <groupId>org.apache.maven.wagon</groupId>\r
116                         <artifactId>wagon-webdav-jackrabbit</artifactId>\r
117                         <version>2.10</version>\r
118                     </dependency>\r
119                 </dependencies>\r
120             </plugin>\r
121 \r
122             <plugin>\r
123                 <groupId>org.apache.maven.plugins</groupId>\r
124                 <artifactId>maven-deploy-plugin</artifactId>\r
125                 <version>2.8</version>\r
126             </plugin>\r
127 \r
128             <plugin>\r
129                 <groupId>org.apache.maven.plugins</groupId>\r
130                 <artifactId>maven-surefire-plugin</artifactId>\r
131                 <version>2.17</version>\r
132                 <configuration>\r
133                     <useSystemClassLoader>false</useSystemClassLoader>\r
134                 </configuration>\r
135             </plugin>\r
136 \r
137             <plugin>\r
138                 <groupId>org.apache.maven.plugins</groupId>\r
139                 <artifactId>maven-compiler-plugin</artifactId>\r
140                 <version>2.3.2</version>\r
141 \r
142                 <configuration>\r
143                     <debug>true</debug>\r
144                     <compilerArgument>-Xlint</compilerArgument>\r
145                     <verbose>true</verbose>\r
146                     <showDeprecation>true</showDeprecation>\r
147                     <showWarnings>true</showWarnings>\r
148                     <source>1.8</source>\r
149                     <target>1.8</target>\r
150                 </configuration>\r
151             </plugin>\r
152             <plugin>\r
153                 <groupId>org.sonarsource.scanner.maven</groupId>\r
154                 <artifactId>sonar-maven-plugin</artifactId>\r
155                 <version>3.3.0.603</version>\r
156             </plugin>\r
157             <plugin>\r
158                 <groupId>com.blackducksoftware.integration</groupId>\r
159                 <artifactId>hub-maven-plugin</artifactId>\r
160                 <version>1.4.0</version>\r
161                 <inherited>false</inherited>\r
162                 <configuration>\r
163                     <hubProjectName>${project.name}</hubProjectName>\r
164                     <outputDirectory>${project.basedir}</outputDirectory>\r
165                 </configuration>\r
166                 <executions>\r
167                     <execution>\r
168                         <id>create-bdio-file</id>\r
169                         <phase>package</phase>\r
170                         <goals>\r
171                             <goal>createHubOutput</goal>\r
172                         </goals>\r
173                     </execution>\r
174                 </executions>\r
175             </plugin>\r
176         </plugins>\r
177     </build>\r
178 \r
179     <!-- added for javadoc -->\r
180     <pluginRepositories>\r
181         <!-- Black Duck plugin dependencies -->\r
182         <pluginRepository>\r
183             <id>JCenter</id>\r
184             <name>JCenter Repository</name>\r
185             <url>http://jcenter.bintray.com</url>\r
186         </pluginRepository>\r
187 \r
188         <pluginRepository>\r
189             <id>Restlet</id>\r
190             <name>Restlet Repository</name>\r
191             <url>http://maven.restlet.com</url>\r
192         </pluginRepository>\r
193     </pluginRepositories>\r
194     <reporting>\r
195         <plugins>\r
196             <plugin>\r
197                 <groupId>org.apache.maven.plugins</groupId>\r
198                 <artifactId>maven-javadoc-plugin</artifactId>\r
199                 <version>2.10.4</version>\r
200                 <configuration>\r
201                     <failOnError>false</failOnError>\r
202                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>\r
203                     <docletArtifact>\r
204                         <groupId>org.umlgraph</groupId>\r
205                         <artifactId>umlgraph</artifactId>\r
206                         <version>5.6</version>\r
207                     </docletArtifact>\r
208                     <additionalparam>-views</additionalparam>\r
209                     <useStandardDocletOptions>true</useStandardDocletOptions>\r
210                 </configuration>\r
211             </plugin>\r
212         </plugins>\r
213     </reporting>\r
214     <dependencies>\r
215         <dependency>\r
216             <groupId>junit</groupId>\r
217             <artifactId>junit</artifactId>\r
218             <version>4.11</version>\r
219             <scope>test</scope>\r
220         </dependency>\r
221 \r
222         <!--Overide versions for latest security fixes-->\r
223         <dependency>\r
224             <groupId>ch.qos.logback</groupId>\r
225             <artifactId>logback-core</artifactId>\r
226             <version>1.2.3</version>\r
227         </dependency>\r
228         <dependency>\r
229             <groupId>ch.qos.logback</groupId>\r
230             <artifactId>logback-classic</artifactId>\r
231             <version>1.2.3</version>\r
232         </dependency>\r
233         <dependency>\r
234             <groupId>commons-collections</groupId>\r
235             <artifactId>commons-collections</artifactId>\r
236             <version>3.2.2</version>\r
237         </dependency>\r
238         <dependency>\r
239             <groupId>org.apache.poi</groupId>\r
240             <artifactId>poi</artifactId>\r
241             <version>3.17</version>\r
242         </dependency>\r
243         <dependency>\r
244             <groupId>org.apache.httpcomponents</groupId>\r
245             <artifactId>httpclient</artifactId>\r
246             <version>4.5.3</version>\r
247         </dependency>\r
248     </dependencies>\r
249 </project>\r