blob: e16a599e539f8e23bcc2622c84414348f81aa28c [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>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +02004 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -04005 <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>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020020 <!--module>vid-automation</module-->
jimmydot3982f4f2017-05-07 14:58:24 -040021 </modules>
22
23 <repositories>
24 <repository>
25 <id>ecomp-releases</id>
26 <name>VID Release Repository</name>
27 <url>${nexusproxy}/${releaseNexusPath}</url>
28 </repository>
29 <repository>
30 <id>ecomp-snapshots</id>
31 <name>VID Snapshot Repository</name>
32 <url>${nexusproxy}/${snapshotNexusPath}</url>
33 </repository>
34 <repository>
35 <id>ecomp-staging</id>
36 <name>VID Staging Repository</name>
37 <url>${nexusproxy}/${stagingNexusPath}</url>
38 </repository>
39 <repository>
40 <!-- Snapshots repository has ECOMP snapshot artifacts -->
41 <id>oss-snapshots</id>
42 <name>oss Central - Snapshots</name>
43 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
44 </repository>
45 </repositories>
46
47 <distributionManagement>
48 <repository>
49 <id>ecomp-releases</id>
50 <name>VID Release Repository</name>
51 <url>${nexusproxy}/${releaseNexusPath}</url>
52 </repository>
53 <snapshotRepository>
54 <id>ecomp-snapshots</id>
55 <name>VID Snapshot Repository</name>
56 <url>${nexusproxy}/${snapshotNexusPath}</url>
57 </snapshotRepository>
58 <!-- added for javadoc -->
59 <site>
60 <id>ecomp-site</id>
61 <url>dav:${nexusproxy}${sitePath}</url>
62 </site>
63 </distributionManagement>
64
65 </profile>
66
67 <profile>
68 <id>docker</id>
69 <modules>
70 <module>vid-app-common</module>
71 <module>epsdk-app-onap</module>
72 <module>deliveries</module>
73 </modules>
74 </profile>
75 </profiles>
76
77 <properties>
78 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
79 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Jeremy Phelps28ecadb2017-11-17 13:49:49 -060080 <build.version>1.2.1-SNAPSHOT</build.version>
jimmydot3982f4f2017-05-07 14:58:24 -040081 <nexusproxy>https://nexus.onap.org</nexusproxy>
82 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
83 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
84 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020085 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
jimmydot3982f4f2017-05-07 14:58:24 -040086 </properties>
87
88 <build>
89 <plugins>
Ofir Sonsinoc52c3b42017-12-10 13:58:42 +020090 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>versions-maven-plugin</artifactId>
93 <version>1.3.1</version>
94 </plugin>
jimmydot3982f4f2017-05-07 14:58:24 -040095 <plugin>
96 <groupId>org.sonatype.plugins</groupId>
97 <artifactId>nexus-staging-maven-plugin</artifactId>
98 <version>1.6.7</version>
99 <extensions>true</extensions>
100 <configuration>
101 <nexusUrl>${nexusproxy}</nexusUrl>
102 <stagingProfileId>176c31dfe190a</stagingProfileId>
103 <serverId>ecomp-staging</serverId>
104 </configuration>
105 </plugin>
106
jimmydotf88fada2017-05-07 19:42:59 -0400107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-site-plugin</artifactId>
110 <version>3.6</version>
111 <dependencies>
112 <dependency>
113 <groupId>org.apache.maven.wagon</groupId>
114 <artifactId>wagon-webdav-jackrabbit</artifactId>
115 <version>2.10</version>
116 </dependency>
117 </dependencies>
118 </plugin>
jimmydotf88fada2017-05-07 19:42:59 -0400119 <plugin>
120 <groupId>org.sonatype.plugins</groupId>
121 <artifactId>nexus-staging-maven-plugin</artifactId>
122 <version>1.6.7</version>
123 <extensions>true</extensions>
124 <configuration>
125 <nexusUrl>${nexusproxy}</nexusUrl>
126 <stagingProfileId>176c31dfe190a</stagingProfileId>
127 <serverId>ecomp-staging</serverId>
128 </configuration>
129 </plugin>
130
jimmydot3982f4f2017-05-07 14:58:24 -0400131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-deploy-plugin</artifactId>
134 <version>2.8</version>
135 </plugin>
136
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-surefire-plugin</artifactId>
140 <version>2.17</version>
141 </plugin>
142
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-compiler-plugin</artifactId>
146 <version>2.3.2</version>
147
148 <configuration>
149 <debug>true</debug>
150 <compilerArgument>-Xlint</compilerArgument>
151 <verbose>true</verbose>
152 <showDeprecation>true</showDeprecation>
153 <showWarnings>true</showWarnings>
154 <source>1.8</source>
155 <target>1.8</target>
156 </configuration>
157 </plugin>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-site-plugin</artifactId>
161 <version>3.6</version>
162 <dependencies>
163 <dependency>
164 <groupId>org.apache.maven.wagon</groupId>
165 <artifactId>wagon-webdav-jackrabbit</artifactId>
166 <version>2.10</version>
167 </dependency>
168 </dependencies>
169 </plugin>
170 <plugin>
Ofir Sonsino2f20b002017-12-11 11:21:00 +0200171 <groupId>org.sonarsource.scanner.maven</groupId>
172 <artifactId>sonar-maven-plugin</artifactId>
173 <version>3.3.0.603</version>
174 </plugin>
175 <plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400176 <groupId>com.blackducksoftware.integration</groupId>
177 <artifactId>hub-maven-plugin</artifactId>
178 <version>1.4.0</version>
179 <inherited>false</inherited>
180 <configuration>
181 <hubProjectName>${project.name}</hubProjectName>
182 <outputDirectory>${project.basedir}</outputDirectory>
183 </configuration>
184 <executions>
185 <execution>
186 <id>create-bdio-file</id>
187 <phase>package</phase>
188 <goals>
189 <goal>createHubOutput</goal>
190 </goals>
191 </execution>
192 </executions>
193 </plugin>
194 </plugins>
195 </build>
196
197 <!-- added for javadoc -->
198 <pluginRepositories>
199 <!-- Black Duck plugin dependencies -->
200 <pluginRepository>
201 <id>JCenter</id>
202 <name>JCenter Repository</name>
203 <url>http://jcenter.bintray.com</url>
204 </pluginRepository>
205
206 <pluginRepository>
207 <id>Restlet</id>
208 <name>Restlet Repository</name>
209 <url>http://maven.restlet.com</url>
210 </pluginRepository>
211 </pluginRepositories>
212 <reporting>
213 <plugins>
214
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-javadoc-plugin</artifactId>
218 <version>2.10.4</version>
219 <configuration>
220 <failOnError>false</failOnError>
221 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
222 <docletArtifact>
223 <groupId>org.umlgraph</groupId>
224 <artifactId>umlgraph</artifactId>
225 <version>5.6</version>
226 </docletArtifact>
227 <additionalparam>-views</additionalparam>
228 <useStandardDocletOptions>true</useStandardDocletOptions>
229 </configuration>
230 </plugin>
231 </plugins>
232 </reporting>
233 <dependencies>
234 <dependency>
235 <groupId>junit</groupId>
236 <artifactId>junit</artifactId>
237 <version>4.11</version>
238 <scope>test</scope>
239 </dependency>
240 </dependencies>
Jeremy Phelps28ecadb2017-11-17 13:49:49 -0600241 <version>1.2.0-SNAPSHOT</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400242</project>