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