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