blob: 2df867bf5465e330e8cccb4441a6dd46c521c15c [file] [log] [blame]
Ittay Stern6ad41e32018-12-31 17:21:27 +02001<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 <groupId>org.onap.vid</groupId>
5 <artifactId>vid-parent</artifactId>
Ittay Stern02a9aa82019-09-15 11:12:03 +03006 <version>5.0.3-SNAPSHOT</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +02007 <packaging>pom</packaging>
8 <name>vid</name>
9
Ittay Stern9f9e9b22019-02-28 12:09:45 +020010 <parent>
11 <groupId>org.onap.oparent</groupId>
12 <artifactId>oparent</artifactId>
Jessica Wagantall97bec3c2019-05-11 01:01:20 +030013 <version>2.0.0</version>
Ittay Stern9f9e9b22019-02-28 12:09:45 +020014 <relativePath/>
15 </parent>
16
Ittay Stern6ad41e32018-12-31 17:21:27 +020017 <profiles>
18 <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
19
20 <profile>
21 <id>onap</id>
22 <activation>
23 <activeByDefault>true</activeByDefault>
24 </activation>
25 <modules>
26 <module>vid-app-common</module>
27 <module>vid-webpack-master</module>
28 <module>epsdk-app-onap</module>
29 </modules>
30
31 <repositories>
32 <repository>
33 <id>ecomp-releases</id>
34 <name>VID Release Repository</name>
35 <url>${nexusproxy}/${releaseNexusPath}</url>
36 </repository>
37 <repository>
38 <id>ecomp-snapshots</id>
39 <name>VID Snapshot Repository</name>
40 <url>${nexusproxy}/${snapshotNexusPath}</url>
41 </repository>
42 <repository>
43 <id>ecomp-staging</id>
44 <name>VID Staging Repository</name>
45 <url>${nexusproxy}/${stagingNexusPath}</url>
46 </repository>
47 <repository>
48 <!-- Snapshots repository has ECOMP snapshot artifacts -->
49 <id>oss-snapshots</id>
50 <name>oss Central - Snapshots</name>
51 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
52 </repository>
53 </repositories>
54
55 <distributionManagement>
56 <repository>
57 <id>ecomp-releases</id>
58 <name>VID Release Repository</name>
59 <url>${nexusproxy}/${releaseNexusPath}</url>
60 </repository>
61 <snapshotRepository>
62 <id>ecomp-snapshots</id>
63 <name>VID Snapshot Repository</name>
64 <url>${nexusproxy}/${snapshotNexusPath}</url>
65 </snapshotRepository>
66 <!-- added for javadoc -->
67 <site>
68 <id>ecomp-site</id>
Ittay Sternb93b96b2019-06-19 14:39:39 +030069 <url>dav:${nexusproxy}/${sitePath}</url>
Ittay Stern6ad41e32018-12-31 17:21:27 +020070 </site>
71 </distributionManagement>
72
73 </profile>
74
75 <profile>
76 <id>docker</id>
77 <modules>
78 <module>vid-app-common</module>
79 <module>vid-webpack-master</module>
80 <module>epsdk-app-onap</module>
81 <module>deliveries</module>
82 </modules>
83 </profile>
84 </profiles>
85
86 <properties>
87 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Ittay Stern02a9aa82019-09-15 11:12:03 +030089 <build.version>5.0.3-SNAPSHOT</build.version>
Ittay Stern6ad41e32018-12-31 17:21:27 +020090 <nexusproxy>https://nexus.onap.org</nexusproxy>
Ittay Sternb93b96b2019-06-19 14:39:39 +030091 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
92 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
93 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
94 <sitePath>content/sites/site/org/onap/vid/${project.version}</sitePath>
Ittay Stern6ad41e32018-12-31 17:21:27 +020095 </properties>
96
97 <build>
98 <plugins>
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>versions-maven-plugin</artifactId>
Ittay Sterne67fc392019-06-19 12:41:36 +0300102 <version>2.7</version>
103 <configuration>
104 <!--
105 Update all modules of aggregator
106 http://www.mojohaus.org/versions-maven-plugin/set-mojo.html#artifactId
107 -->
108 <artifactId>*</artifactId>
109 </configuration>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200110 </plugin>
111 <plugin>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-site-plugin</artifactId>
114 <version>3.6</version>
115 <dependencies>
116 <dependency>
117 <groupId>org.apache.maven.wagon</groupId>
118 <artifactId>wagon-webdav-jackrabbit</artifactId>
119 <version>2.10</version>
120 </dependency>
121 </dependencies>
122 </plugin>
123
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200126 <artifactId>maven-surefire-plugin</artifactId>
127 <version>2.22.1</version>
128 <configuration>
129 <useSystemClassLoader>false</useSystemClassLoader>
130 </configuration>
131 </plugin>
132
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-compiler-plugin</artifactId>
Ittay Sterndb98c792019-07-17 18:02:48 +0300136 <version>3.5.1</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200137
138 <configuration>
139 <debug>true</debug>
140 <compilerArgument>-Xlint</compilerArgument>
141 <verbose>true</verbose>
142 <showDeprecation>true</showDeprecation>
143 <showWarnings>true</showWarnings>
144 <source>1.8</source>
145 <target>1.8</target>
146 </configuration>
147 </plugin>
148 <plugin>
149 <groupId>org.sonarsource.scanner.maven</groupId>
150 <artifactId>sonar-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200151 <version>3.6.0.1398</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200152 </plugin>
153 <plugin>
154 <groupId>com.blackducksoftware.integration</groupId>
155 <artifactId>hub-maven-plugin</artifactId>
156 <version>1.4.0</version>
157 <inherited>false</inherited>
158 <configuration>
159 <hubProjectName>${project.name}</hubProjectName>
160 <outputDirectory>${project.basedir}</outputDirectory>
161 </configuration>
162 <executions>
163 <execution>
164 <id>create-bdio-file</id>
165 <phase>package</phase>
166 <goals>
167 <goal>createHubOutput</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
172 </plugins>
173 </build>
174
175 <!-- added for javadoc -->
176 <pluginRepositories>
177 <!-- Black Duck plugin dependencies -->
178 <pluginRepository>
179 <id>JCenter</id>
180 <name>JCenter Repository</name>
181 <url>http://jcenter.bintray.com</url>
182 </pluginRepository>
183
184 <pluginRepository>
185 <id>Restlet</id>
186 <name>Restlet Repository</name>
187 <url>http://maven.restlet.com</url>
188 </pluginRepository>
189 </pluginRepositories>
190 <reporting>
191 <plugins>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-javadoc-plugin</artifactId>
195 <version>2.10.4</version>
196 <configuration>
197 <failOnError>false</failOnError>
198 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
199 <docletArtifact>
200 <groupId>org.umlgraph</groupId>
201 <artifactId>umlgraph</artifactId>
202 <version>5.6</version>
203 </docletArtifact>
204 <additionalparam>-views</additionalparam>
205 <useStandardDocletOptions>true</useStandardDocletOptions>
206 </configuration>
207 </plugin>
208 </plugins>
209 </reporting>
210 <dependencies>
211 <dependency>
212 <groupId>junit</groupId>
213 <artifactId>junit</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300214 <version>4.12</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200215 <scope>test</scope>
216 </dependency>
217
218 <!--Overide versions for latest security fixes-->
219 <dependency>
220 <groupId>ch.qos.logback</groupId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200221 <artifactId>logback-classic</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200222 </dependency>
223 <dependency>
Einat Vinouze83157b32019-07-11 16:25:44 +0300224 <groupId>org.apache.commons</groupId>
225 <artifactId>commons-collections4</artifactId>
226 <version>4.4</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200227 </dependency>
228 <dependency>
229 <groupId>org.apache.poi</groupId>
230 <artifactId>poi</artifactId>
231 <version>3.17</version>
232 </dependency>
233 <dependency>
234 <groupId>org.apache.httpcomponents</groupId>
235 <artifactId>httpclient</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300236 <version>4.5.9</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200237 </dependency>
238 </dependencies>
239</project>