blob: 8e4ffd9fa9e7de5ae8fbbfca831249fd8f85607d [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>
Jeremy Phelps28ecadb2017-11-17 13:49:49 -060079 <build.version>1.2.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>
Ofir Sonsino2f20b002017-12-11 11:21:00 +0200170 <groupId>org.sonarsource.scanner.maven</groupId>
171 <artifactId>sonar-maven-plugin</artifactId>
172 <version>3.3.0.603</version>
173 </plugin>
174 <plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400175 <groupId>com.blackducksoftware.integration</groupId>
176 <artifactId>hub-maven-plugin</artifactId>
177 <version>1.4.0</version>
178 <inherited>false</inherited>
179 <configuration>
180 <hubProjectName>${project.name}</hubProjectName>
181 <outputDirectory>${project.basedir}</outputDirectory>
182 </configuration>
183 <executions>
184 <execution>
185 <id>create-bdio-file</id>
186 <phase>package</phase>
187 <goals>
188 <goal>createHubOutput</goal>
189 </goals>
190 </execution>
191 </executions>
192 </plugin>
193 </plugins>
194 </build>
195
196 <!-- added for javadoc -->
197 <pluginRepositories>
198 <!-- Black Duck plugin dependencies -->
199 <pluginRepository>
200 <id>JCenter</id>
201 <name>JCenter Repository</name>
202 <url>http://jcenter.bintray.com</url>
203 </pluginRepository>
204
205 <pluginRepository>
206 <id>Restlet</id>
207 <name>Restlet Repository</name>
208 <url>http://maven.restlet.com</url>
209 </pluginRepository>
210 </pluginRepositories>
211 <reporting>
212 <plugins>
213
214 <plugin>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-javadoc-plugin</artifactId>
217 <version>2.10.4</version>
218 <configuration>
219 <failOnError>false</failOnError>
220 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
221 <docletArtifact>
222 <groupId>org.umlgraph</groupId>
223 <artifactId>umlgraph</artifactId>
224 <version>5.6</version>
225 </docletArtifact>
226 <additionalparam>-views</additionalparam>
227 <useStandardDocletOptions>true</useStandardDocletOptions>
228 </configuration>
229 </plugin>
230 </plugins>
231 </reporting>
232 <dependencies>
233 <dependency>
234 <groupId>junit</groupId>
235 <artifactId>junit</artifactId>
236 <version>4.11</version>
237 <scope>test</scope>
238 </dependency>
239 </dependencies>
Jeremy Phelps28ecadb2017-11-17 13:49:49 -0600240 <version>1.2.0-SNAPSHOT</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400241</project>