blob: d790dd7cd27b0a0503cbf8919593b40f5251c2f2 [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 <nexus.host>nexus.openecomp.org</nexus.host>
34 <nexus.proto>https</nexus.proto>
35 <build.version>1.0.0-SNAPSHOT</build.version>
DR695H13ce0552017-02-07 13:11:03 -050036 </properties>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050037 <repositories>
38 <repository>
39 <!-- Snapshots repository has ECOMP snapshot artifacts -->
40 <id>nexus-snapshots</id>
41 <name>Nexus Maven Central - Snapshots</name>
42 <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
43 </repository>
44 <repository>
45 <!-- Releases repository has ECOMP release artifacts -->
46 <id>nexus</id>
47 <name>Nexus Maven Central - Releases</name>
48 <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
49 </repository>
50 <repository>
51 <!-- Snapshots repository has ECOMP snapshot artifacts -->
52 <id>oss-snapshots</id>
53 <name>oss Central - Snapshots</name>
54 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
55 </repository>
56 </repositories>
DR695H13ce0552017-02-07 13:11:03 -050057
58 <distributionManagement>
59 <repository>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050060 <id>ecomp-releases</id>
DR695H13ce0552017-02-07 13:11:03 -050061 <name>VID Release Repository</name>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050062 <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
DR695H13ce0552017-02-07 13:11:03 -050063 </repository>
DR695H13ce0552017-02-07 13:11:03 -050064 <snapshotRepository>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050065 <id>ecomp-snapshots</id>
DR695H13ce0552017-02-07 13:11:03 -050066 <name>VID Snapshot Repository</name>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050067 <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
DR695H13ce0552017-02-07 13:11:03 -050068 </snapshotRepository>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050069 <!-- added for javadoc -->
DR695H13ce0552017-02-07 13:11:03 -050070 <site>
Jimmy Forsyth1362da22017-02-27 11:10:00 -050071 <id>ecomp-javadoc</id>
72 <url>dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version}</url>
DR695H13ce0552017-02-07 13:11:03 -050073 </site>
74 </distributionManagement>
75
DR695H13ce0552017-02-07 13:11:03 -050076 <build>
77 <plugins>
78 <!-- license plugin for open source -->
79 <plugin>
80 <groupId>org.codehaus.mojo</groupId>
81 <artifactId>license-maven-plugin</artifactId>
82 <version>1.9</version>
83 <configuration>
84 <licenseName>apache_v2</licenseName>
85 <inceptionYear>2016</inceptionYear>
86 <organizationName>AT&amp;T</organizationName>
87 <projectName>VID</projectName>
88 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
89 <processStartTag>========LICENSE_START===========</processStartTag>
90 <processEndTag>============LICENSE_END===========</processEndTag>
91 <roots>
92 <root>src/main/java</root>
93 </roots>
94 <excludes>
95 <exclude>*.png</exclude>
96 </excludes>
97 </configuration>
98 </plugin>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-deploy-plugin</artifactId>
102 <version>2.8</version>
103 <configuration>
104 <skip>true</skip>
105 </configuration>
106 </plugin>
107
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-surefire-plugin</artifactId>
111 <version>2.17</version>
112 </plugin>
113
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>2.3.2</version>
118
119 <configuration>
120 <debug>true</debug>
121 <compilerArgument>-Xlint</compilerArgument>
122 <verbose>true</verbose>
123 <showDeprecation>true</showDeprecation>
124 <showWarnings>true</showWarnings>
125 <source>1.8</source>
126 <target>1.8</target>
127 </configuration>
128 </plugin>
129 <!-- added for javadoc -->
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-site-plugin</artifactId>
133 <version>3.6</version>
134 <dependencies>
135 <dependency>
136 <groupId>org.apache.maven.wagon</groupId>
137 <artifactId>wagon-webdav-jackrabbit</artifactId>
138 <version>2.10</version>
139 </dependency>
140 </dependencies>
141 </plugin>
142 </plugins>
143
144 </build>
145 <!-- added for javadoc -->
146 <reporting>
147 <plugins>
148
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-javadoc-plugin</artifactId>
152 <version>2.10.4</version>
153 <configuration>
154 <failOnError>false</failOnError>
155 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
156 <docletArtifact>
157 <groupId>org.umlgraph</groupId>
158 <artifactId>umlgraph</artifactId>
159 <version>5.6</version>
160 </docletArtifact>
161 <additionalparam>-views</additionalparam>
162 <useStandardDocletOptions>true</useStandardDocletOptions>
163 </configuration>
164 </plugin>
165 </plugins>
166 </reporting>
167 <dependencies>
168 <dependency>
169 <groupId>junit</groupId>
170 <artifactId>junit</artifactId>
171 <version>4.11</version>
172 <scope>test</scope>
173 </dependency>
174 </dependencies>
175 <version>1.0.0</version>
176</project>