blob: 2442a85e36281494f4c8d4b17a1c0d960f186d65 [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>
Jessica Wagantall88c65472017-09-08 15:10:11 -07007 <name>vid</name>
jimmydot3982f4f2017-05-07 14:58:24 -04008
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>
Ofir Sonsinoe895f012017-12-04 13:59:17 +020079 <build.version>1.1.1-SNAPSHOT</build.version>
jimmydot3982f4f2017-05-07 14:58:24 -040080 <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>
Ofir Sonsino2f872712017-12-04 13:56:13 +020089
jimmydot3982f4f2017-05-07 14:58:24 -040090 <plugin>
91 <groupId>org.sonatype.plugins</groupId>
92 <artifactId>nexus-staging-maven-plugin</artifactId>
93 <version>1.6.7</version>
94 <extensions>true</extensions>
95 <configuration>
96 <nexusUrl>${nexusproxy}</nexusUrl>
97 <stagingProfileId>176c31dfe190a</stagingProfileId>
98 <serverId>ecomp-staging</serverId>
99 </configuration>
100 </plugin>
101
jimmydotf88fada2017-05-07 19:42:59 -0400102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-site-plugin</artifactId>
105 <version>3.6</version>
106 <dependencies>
107 <dependency>
108 <groupId>org.apache.maven.wagon</groupId>
109 <artifactId>wagon-webdav-jackrabbit</artifactId>
110 <version>2.10</version>
111 </dependency>
112 </dependencies>
113 </plugin>
jimmydotf88fada2017-05-07 19:42:59 -0400114
jimmydotf88fada2017-05-07 19:42:59 -0400115 <plugin>
116 <groupId>org.sonatype.plugins</groupId>
117 <artifactId>nexus-staging-maven-plugin</artifactId>
118 <version>1.6.7</version>
119 <extensions>true</extensions>
120 <configuration>
121 <nexusUrl>${nexusproxy}</nexusUrl>
122 <stagingProfileId>176c31dfe190a</stagingProfileId>
123 <serverId>ecomp-staging</serverId>
124 </configuration>
125 </plugin>
126
jimmydot3982f4f2017-05-07 14:58:24 -0400127
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-deploy-plugin</artifactId>
131 <version>2.8</version>
132 </plugin>
133
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-surefire-plugin</artifactId>
137 <version>2.17</version>
138 </plugin>
139
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <version>2.3.2</version>
144
145 <configuration>
146 <debug>true</debug>
147 <compilerArgument>-Xlint</compilerArgument>
148 <verbose>true</verbose>
149 <showDeprecation>true</showDeprecation>
150 <showWarnings>true</showWarnings>
151 <source>1.8</source>
152 <target>1.8</target>
153 </configuration>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-site-plugin</artifactId>
158 <version>3.6</version>
159 <dependencies>
160 <dependency>
161 <groupId>org.apache.maven.wagon</groupId>
162 <artifactId>wagon-webdav-jackrabbit</artifactId>
163 <version>2.10</version>
164 </dependency>
165 </dependencies>
166 </plugin>
167 <plugin>
168 <groupId>com.blackducksoftware.integration</groupId>
169 <artifactId>hub-maven-plugin</artifactId>
170 <version>1.4.0</version>
171 <inherited>false</inherited>
172 <configuration>
173 <hubProjectName>${project.name}</hubProjectName>
174 <outputDirectory>${project.basedir}</outputDirectory>
175 </configuration>
176 <executions>
177 <execution>
178 <id>create-bdio-file</id>
179 <phase>package</phase>
180 <goals>
181 <goal>createHubOutput</goal>
182 </goals>
183 </execution>
184 </executions>
185 </plugin>
186 </plugins>
187 </build>
188
189 <!-- added for javadoc -->
190 <pluginRepositories>
191 <!-- Black Duck plugin dependencies -->
192 <pluginRepository>
193 <id>JCenter</id>
194 <name>JCenter Repository</name>
195 <url>http://jcenter.bintray.com</url>
196 </pluginRepository>
197
198 <pluginRepository>
199 <id>Restlet</id>
200 <name>Restlet Repository</name>
201 <url>http://maven.restlet.com</url>
202 </pluginRepository>
203 </pluginRepositories>
204 <reporting>
205 <plugins>
206
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-javadoc-plugin</artifactId>
210 <version>2.10.4</version>
211 <configuration>
212 <failOnError>false</failOnError>
213 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
214 <docletArtifact>
215 <groupId>org.umlgraph</groupId>
216 <artifactId>umlgraph</artifactId>
217 <version>5.6</version>
218 </docletArtifact>
219 <additionalparam>-views</additionalparam>
220 <useStandardDocletOptions>true</useStandardDocletOptions>
221 </configuration>
222 </plugin>
223 </plugins>
224 </reporting>
225 <dependencies>
226 <dependency>
227 <groupId>junit</groupId>
228 <artifactId>junit</artifactId>
229 <version>4.11</version>
230 <scope>test</scope>
231 </dependency>
232 </dependencies>
233 <version>1.1.0-SNAPSHOT</version>
234</project>