blob: 9c49c14d8a780f26ac061cd1a97eb712bc8fe44d [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>
6 <version>4.0.0-SNAPSHOT</version>
7 <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>
13 <version>1.2.3</version>
14 <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>
69 <url>dav:${nexusproxy}${sitePath}</url>
70 </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>
89 <build.version>4.0.0-SNAPSHOT</build.version>
90 <nexusproxy>https://nexus.onap.org</nexusproxy>
91 <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>
95 </properties>
96
97 <build>
98 <plugins>
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>versions-maven-plugin</artifactId>
102 <version>1.3.1</version>
103 </plugin>
104 <plugin>
105 <groupId>org.sonatype.plugins</groupId>
106 <artifactId>nexus-staging-maven-plugin</artifactId>
107 <version>1.6.7</version>
108 <extensions>true</extensions>
109 <configuration>
110 <nexusUrl>${nexusproxy}</nexusUrl>
111 <stagingProfileId>176c31dfe190a</stagingProfileId>
112 <serverId>ecomp-staging</serverId>
113 </configuration>
114 </plugin>
115
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-site-plugin</artifactId>
119 <version>3.6</version>
120 <dependencies>
121 <dependency>
122 <groupId>org.apache.maven.wagon</groupId>
123 <artifactId>wagon-webdav-jackrabbit</artifactId>
124 <version>2.10</version>
125 </dependency>
126 </dependencies>
127 </plugin>
128
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-deploy-plugin</artifactId>
132 <version>2.8</version>
133 </plugin>
134
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-surefire-plugin</artifactId>
138 <version>2.22.1</version>
139 <configuration>
140 <useSystemClassLoader>false</useSystemClassLoader>
141 </configuration>
142 </plugin>
143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-compiler-plugin</artifactId>
147 <version>2.3.2</version>
148
149 <configuration>
150 <debug>true</debug>
151 <compilerArgument>-Xlint</compilerArgument>
152 <verbose>true</verbose>
153 <showDeprecation>true</showDeprecation>
154 <showWarnings>true</showWarnings>
155 <source>1.8</source>
156 <target>1.8</target>
157 </configuration>
158 </plugin>
159 <plugin>
160 <groupId>org.sonarsource.scanner.maven</groupId>
161 <artifactId>sonar-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200162 <version>3.6.0.1398</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200163 </plugin>
164 <plugin>
165 <groupId>com.blackducksoftware.integration</groupId>
166 <artifactId>hub-maven-plugin</artifactId>
167 <version>1.4.0</version>
168 <inherited>false</inherited>
169 <configuration>
170 <hubProjectName>${project.name}</hubProjectName>
171 <outputDirectory>${project.basedir}</outputDirectory>
172 </configuration>
173 <executions>
174 <execution>
175 <id>create-bdio-file</id>
176 <phase>package</phase>
177 <goals>
178 <goal>createHubOutput</goal>
179 </goals>
180 </execution>
181 </executions>
182 </plugin>
183 </plugins>
184 </build>
185
186 <!-- added for javadoc -->
187 <pluginRepositories>
188 <!-- Black Duck plugin dependencies -->
189 <pluginRepository>
190 <id>JCenter</id>
191 <name>JCenter Repository</name>
192 <url>http://jcenter.bintray.com</url>
193 </pluginRepository>
194
195 <pluginRepository>
196 <id>Restlet</id>
197 <name>Restlet Repository</name>
198 <url>http://maven.restlet.com</url>
199 </pluginRepository>
200 </pluginRepositories>
201 <reporting>
202 <plugins>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-javadoc-plugin</artifactId>
206 <version>2.10.4</version>
207 <configuration>
208 <failOnError>false</failOnError>
209 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
210 <docletArtifact>
211 <groupId>org.umlgraph</groupId>
212 <artifactId>umlgraph</artifactId>
213 <version>5.6</version>
214 </docletArtifact>
215 <additionalparam>-views</additionalparam>
216 <useStandardDocletOptions>true</useStandardDocletOptions>
217 </configuration>
218 </plugin>
219 </plugins>
220 </reporting>
221 <dependencies>
222 <dependency>
223 <groupId>junit</groupId>
224 <artifactId>junit</artifactId>
225 <version>4.11</version>
226 <scope>test</scope>
227 </dependency>
228
229 <!--Overide versions for latest security fixes-->
230 <dependency>
231 <groupId>ch.qos.logback</groupId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200232 <artifactId>logback-classic</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200233 </dependency>
234 <dependency>
235 <groupId>commons-collections</groupId>
236 <artifactId>commons-collections</artifactId>
237 <version>3.2.2</version>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.poi</groupId>
241 <artifactId>poi</artifactId>
242 <version>3.17</version>
243 </dependency>
244 <dependency>
245 <groupId>org.apache.httpcomponents</groupId>
246 <artifactId>httpclient</artifactId>
Ittay Stern9f9e9b22019-02-28 12:09:45 +0200247 <version>4.5.7</version>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200248 </dependency>
249 </dependencies>
250</project>