blob: 746a343ec69616d84176fc2508a0f20cfa8ad5e4 [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<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.openecomp.vid</groupId>
5 <artifactId>vid-parent</artifactId>
6 <packaging>pom</packaging>
7 <name>VID Parent Project</name>
8
9 <profiles>
10 <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
11
12 <profile>
13 <id>onap</id>
14 <activation>
15 <activeByDefault>true</activeByDefault>
16 </activation>
17 <modules>
18 <module>vid-app-common</module>
19 <module>epsdk-app-onap</module>
20 </modules>
21
22 <repositories>
23 <repository>
24 <id>ecomp-releases</id>
25 <name>VID Release Repository</name>
26 <url>${nexusproxy}/${releaseNexusPath}</url>
27 </repository>
28 <repository>
29 <id>ecomp-snapshots</id>
30 <name>VID Snapshot Repository</name>
31 <url>${nexusproxy}/${snapshotNexusPath}</url>
32 </repository>
33 <repository>
34 <id>ecomp-staging</id>
35 <name>VID Staging Repository</name>
36 <url>${nexusproxy}/${stagingNexusPath}</url>
37 </repository>
38 <repository>
39 <!-- Snapshots repository has ECOMP snapshot artifacts -->
40 <id>oss-snapshots</id>
41 <name>oss Central - Snapshots</name>
42 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
43 </repository>
44 </repositories>
45
46 <distributionManagement>
47 <repository>
48 <id>ecomp-releases</id>
49 <name>VID Release Repository</name>
50 <url>${nexusproxy}/${releaseNexusPath}</url>
51 </repository>
52 <snapshotRepository>
53 <id>ecomp-snapshots</id>
54 <name>VID Snapshot Repository</name>
55 <url>${nexusproxy}/${snapshotNexusPath}</url>
56 </snapshotRepository>
57 <!-- added for javadoc -->
58 <site>
59 <id>ecomp-site</id>
60 <url>dav:${nexusproxy}${sitePath}</url>
61 </site>
62 </distributionManagement>
63
64 </profile>
65
66 <profile>
67 <id>docker</id>
68 <modules>
69 <module>vid-app-common</module>
70 <module>epsdk-app-onap</module>
71 <module>deliveries</module>
72 </modules>
73 </profile>
74 </profiles>
75
76 <properties>
77 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
78 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
79 <build.version>1.1.0-SNAPSHOT</build.version>
80 <nexusproxy>https://nexus.onap.org</nexusproxy>
81 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
82 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
83 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
84 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
85 </properties>
86
87 <build>
88 <plugins>
89 <plugin>
90 <groupId>org.codehaus.mojo</groupId>
91 <artifactId>versions-maven-plugin</artifactId>
92 <version>1.3.1</version>
93 </plugin>
94 <plugin>
95 <groupId>org.sonatype.plugins</groupId>
96 <artifactId>nexus-staging-maven-plugin</artifactId>
97 <version>1.6.7</version>
98 <extensions>true</extensions>
99 <configuration>
100 <nexusUrl>${nexusproxy}</nexusUrl>
101 <stagingProfileId>176c31dfe190a</stagingProfileId>
102 <serverId>ecomp-staging</serverId>
103 </configuration>
104 </plugin>
105
jimmydotf88fada2017-05-07 19:42:59 -0400106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-site-plugin</artifactId>
109 <version>3.6</version>
110 <dependencies>
111 <dependency>
112 <groupId>org.apache.maven.wagon</groupId>
113 <artifactId>wagon-webdav-jackrabbit</artifactId>
114 <version>2.10</version>
115 </dependency>
116 </dependencies>
117 </plugin>
118 <plugin>
119
120 <groupId>org.codehaus.mojo</groupId>
121 <artifactId>versions-maven-plugin</artifactId>
122 <version>1.3.1</version>
123 </plugin>
124 <plugin>
125 <groupId>org.sonatype.plugins</groupId>
126 <artifactId>nexus-staging-maven-plugin</artifactId>
127 <version>1.6.7</version>
128 <extensions>true</extensions>
129 <configuration>
130 <nexusUrl>${nexusproxy}</nexusUrl>
131 <stagingProfileId>176c31dfe190a</stagingProfileId>
132 <serverId>ecomp-staging</serverId>
133 </configuration>
134 </plugin>
135
jimmydot3982f4f2017-05-07 14:58:24 -0400136 <!-- license plugin for open source -->
137 <plugin>
138 <groupId>org.codehaus.mojo</groupId>
139 <artifactId>license-maven-plugin</artifactId>
140 <version>1.9</version>
141 <configuration>
142 <licenseName>apache_v2</licenseName>
143 <inceptionYear>2017</inceptionYear>
144 <organizationName>AT&amp;T</organizationName>
145 <projectName>VID</projectName>
146 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
147 <processStartTag>========LICENSE_START===========</processStartTag>
148 <processEndTag>============LICENSE_END===========</processEndTag>
149 <roots>
150 <root>src/main/java</root>
151 </roots>
152 <excludes>
153 <exclude>*.png</exclude>
154 </excludes>
155 </configuration>
156 </plugin>
157
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-deploy-plugin</artifactId>
161 <version>2.8</version>
162 </plugin>
163
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-surefire-plugin</artifactId>
167 <version>2.17</version>
168 </plugin>
169
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-compiler-plugin</artifactId>
173 <version>2.3.2</version>
174
175 <configuration>
176 <debug>true</debug>
177 <compilerArgument>-Xlint</compilerArgument>
178 <verbose>true</verbose>
179 <showDeprecation>true</showDeprecation>
180 <showWarnings>true</showWarnings>
181 <source>1.8</source>
182 <target>1.8</target>
183 </configuration>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-site-plugin</artifactId>
188 <version>3.6</version>
189 <dependencies>
190 <dependency>
191 <groupId>org.apache.maven.wagon</groupId>
192 <artifactId>wagon-webdav-jackrabbit</artifactId>
193 <version>2.10</version>
194 </dependency>
195 </dependencies>
196 </plugin>
197 <plugin>
198 <groupId>com.blackducksoftware.integration</groupId>
199 <artifactId>hub-maven-plugin</artifactId>
200 <version>1.4.0</version>
201 <inherited>false</inherited>
202 <configuration>
203 <hubProjectName>${project.name}</hubProjectName>
204 <outputDirectory>${project.basedir}</outputDirectory>
205 </configuration>
206 <executions>
207 <execution>
208 <id>create-bdio-file</id>
209 <phase>package</phase>
210 <goals>
211 <goal>createHubOutput</goal>
212 </goals>
213 </execution>
214 </executions>
215 </plugin>
216 </plugins>
217 </build>
218
219 <!-- added for javadoc -->
220 <pluginRepositories>
221 <!-- Black Duck plugin dependencies -->
222 <pluginRepository>
223 <id>JCenter</id>
224 <name>JCenter Repository</name>
225 <url>http://jcenter.bintray.com</url>
226 </pluginRepository>
227
228 <pluginRepository>
229 <id>Restlet</id>
230 <name>Restlet Repository</name>
231 <url>http://maven.restlet.com</url>
232 </pluginRepository>
233 </pluginRepositories>
234 <reporting>
235 <plugins>
236
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-javadoc-plugin</artifactId>
240 <version>2.10.4</version>
241 <configuration>
242 <failOnError>false</failOnError>
243 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
244 <docletArtifact>
245 <groupId>org.umlgraph</groupId>
246 <artifactId>umlgraph</artifactId>
247 <version>5.6</version>
248 </docletArtifact>
249 <additionalparam>-views</additionalparam>
250 <useStandardDocletOptions>true</useStandardDocletOptions>
251 </configuration>
252 </plugin>
253 </plugins>
254 </reporting>
255 <dependencies>
256 <dependency>
257 <groupId>junit</groupId>
258 <artifactId>junit</artifactId>
259 <version>4.11</version>
260 <scope>test</scope>
261 </dependency>
262 </dependencies>
263 <version>1.1.0-SNAPSHOT</version>
264</project>