blob: b8222eadb24618d4f4dac705ccd154ba0cfb5f0b [file] [log] [blame]
DR695H13ce0552017-02-07 13:11:03 -05001<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
Jimmy Forsyth48bf0ac2017-02-17 14:11:35 -05009 <profiles>
10 <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
11 <profile>
12 <id>default</id>
13 <activation>
14 <activeByDefault>true</activeByDefault>
15 </activation>
16 <modules>
17 <module>vid</module>
18 </modules>
19 </profile>
20
21 <profile>
22 <id>docker</id>
23 <modules>
24 <module>vid</module>
25 <module>deliveries</module>
26 </modules>
27 </profile>
28 </profiles>
DR695H13ce0552017-02-07 13:11:03 -050029
30 <properties>
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050033 <build.version>1.0.0-SNAPSHOT</build.version>
jimmydot15a056d2017-04-06 11:24:45 -040034 <nexusproxy>https://nexus.onap.org</nexusproxy>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050035 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
36 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
37 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
jimmydotd844ad22017-03-24 12:32:30 -040038 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
DR695H13ce0552017-02-07 13:11:03 -050039 </properties>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050040
Jimmy Forsyth1362da22017-02-27 11:10:00 -050041 <repositories>
42 <repository>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050043 <id>ecomp-releases</id>
44 <name>VID Release Repository</name>
45 <url>${nexusproxy}/${releaseNexusPath}</url>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050046 </repository>
47 <repository>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050048 <id>ecomp-snapshots</id>
49 <name>VID Snapshot Repository</name>
50 <url>${nexusproxy}/${snapshotNexusPath}</url>
51 </repository>
52 <repository>
53 <id>ecomp-staging</id>
54 <name>VID Staging Repository</name>
55 <url>${nexusproxy}/${stagingNexusPath}</url>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050056 </repository>
57 <repository>
58 <!-- Snapshots repository has ECOMP snapshot artifacts -->
59 <id>oss-snapshots</id>
60 <name>oss Central - Snapshots</name>
61 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
62 </repository>
63 </repositories>
DR695H13ce0552017-02-07 13:11:03 -050064
65 <distributionManagement>
66 <repository>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050067 <id>ecomp-releases</id>
DR695H13ce0552017-02-07 13:11:03 -050068 <name>VID Release Repository</name>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050069 <url>${nexusproxy}/${releaseNexusPath}</url>
DR695H13ce0552017-02-07 13:11:03 -050070 </repository>
DR695H13ce0552017-02-07 13:11:03 -050071 <snapshotRepository>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050072 <id>ecomp-snapshots</id>
DR695H13ce0552017-02-07 13:11:03 -050073 <name>VID Snapshot Repository</name>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050074 <url>${nexusproxy}/${snapshotNexusPath}</url>
DR695H13ce0552017-02-07 13:11:03 -050075 </snapshotRepository>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050076 <!-- added for javadoc -->
DR695H13ce0552017-02-07 13:11:03 -050077 <site>
jimmydotbd90a442017-03-23 18:03:51 -040078 <id>ecomp-site</id>
jimmydotd844ad22017-03-24 12:32:30 -040079 <url>dav:${nexusproxy}${sitePath}</url>
DR695H13ce0552017-02-07 13:11:03 -050080 </site>
81 </distributionManagement>
82
DR695H13ce0552017-02-07 13:11:03 -050083 <build>
Jimmy Forsyth1b720332017-03-02 16:54:27 -050084 <plugins>
85 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>versions-maven-plugin</artifactId>
88 <version>1.3.1</version>
89 </plugin>
90 <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
DR695H13ce0552017-02-07 13:11:03 -0500102 <!-- license plugin for open source -->
103 <plugin>
104 <groupId>org.codehaus.mojo</groupId>
105 <artifactId>license-maven-plugin</artifactId>
106 <version>1.9</version>
107 <configuration>
108 <licenseName>apache_v2</licenseName>
109 <inceptionYear>2016</inceptionYear>
110 <organizationName>AT&amp;T</organizationName>
111 <projectName>VID</projectName>
112 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500113 <processStartTag>========LICENSE_START===========</processStartTag>
114 <processEndTag>============LICENSE_END===========</processEndTag>
DR695H13ce0552017-02-07 13:11:03 -0500115 <roots>
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500116 <root>src/main/java</root>
DR695H13ce0552017-02-07 13:11:03 -0500117 </roots>
118 <excludes>
119 <exclude>*.png</exclude>
120 </excludes>
121 </configuration>
122 </plugin>
DR695H13ce0552017-02-07 13:11:03 -0500123
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-deploy-plugin</artifactId>
127 <version>2.8</version>
128 </plugin>
DR695H13ce0552017-02-07 13:11:03 -0500129
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-surefire-plugin</artifactId>
133 <version>2.17</version>
134 </plugin>
135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-compiler-plugin</artifactId>
139 <version>2.3.2</version>
DR695H13ce0552017-02-07 13:11:03 -0500140
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500141 <configuration>
142 <debug>true</debug>
143 <compilerArgument>-Xlint</compilerArgument>
144 <verbose>true</verbose>
145 <showDeprecation>true</showDeprecation>
146 <showWarnings>true</showWarnings>
147 <source>1.8</source>
148 <target>1.8</target>
149 </configuration>
150 </plugin>
151 <!-- added for javadoc -->
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-site-plugin</artifactId>
155 <version>3.6</version>
156 <dependencies>
157 <dependency>
158 <groupId>org.apache.maven.wagon</groupId>
159 <artifactId>wagon-webdav-jackrabbit</artifactId>
160 <version>2.10</version>
161 </dependency>
162 </dependencies>
163 </plugin>
164 </plugins>
DR695H13ce0552017-02-07 13:11:03 -0500165 </build>
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500166
DR695H13ce0552017-02-07 13:11:03 -0500167 <!-- added for javadoc -->
Jimmy Forsyth1b720332017-03-02 16:54:27 -0500168
DR695H13ce0552017-02-07 13:11:03 -0500169 <reporting>
170 <plugins>
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-javadoc-plugin</artifactId>
175 <version>2.10.4</version>
176 <configuration>
177 <failOnError>false</failOnError>
178 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
179 <docletArtifact>
180 <groupId>org.umlgraph</groupId>
181 <artifactId>umlgraph</artifactId>
182 <version>5.6</version>
183 </docletArtifact>
184 <additionalparam>-views</additionalparam>
185 <useStandardDocletOptions>true</useStandardDocletOptions>
186 </configuration>
187 </plugin>
188 </plugins>
189 </reporting>
190 <dependencies>
191 <dependency>
192 <groupId>junit</groupId>
193 <artifactId>junit</artifactId>
194 <version>4.11</version>
195 <scope>test</scope>
196 </dependency>
197 </dependencies>
Jimmy Forsyth374d5f92017-02-27 11:59:12 -0500198 <version>1.0.0-SNAPSHOT</version>
DR695H13ce0552017-02-07 13:11:03 -0500199</project>