4328d58a6332d7af825c301dddb30cdfd81975b1
[vid.git] / pom.xml
1 <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         
9         <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>
29
30         <properties>
31                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
33                 <nexus.host>nexus.openecomp.org</nexus.host>
34                 <nexus.proto>https</nexus.proto>
35                 <build.version>1.0.0-SNAPSHOT</build.version>
36         </properties>
37         <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>
57
58         <distributionManagement>
59                 <repository>
60                         <id>releases</id>
61                         <name>VID Release Repository</name>
62                         <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
63                 </repository>
64                 <snapshotRepository>
65                         <id>snapshots</id>
66                         <name>VID Snapshot Repository</name>
67                         <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
68                 </snapshotRepository>
69                 <!-- added for javadoc -->
70                 <site>
71                         <id>javadoc</id>
72                         <url>dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version}</url>
73                 </site>
74         </distributionManagement>
75
76         <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-SNAPSHOT</version>
176 </project>