[OS-144] Fixing repo block
[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                 <build.version>1.0.0-SNAPSHOT</build.version>
34                 <nexusproxy>https://nexus.openecomp.org</nexusproxy>
35                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
36                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
37                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
38         </properties>
39
40         <repositories>
41                 <repository>
42                         <id>ecomp-releases</id>
43                         <name>VID Release Repository</name>
44                         <url>${nexusproxy}/${releaseNexusPath}</url>
45                 </repository>
46                 <repository>
47                         <id>ecomp-snapshots</id>
48                         <name>VID Snapshot Repository</name>
49                         <url>${nexusproxy}/${snapshotNexusPath}</url>
50                 </repository>
51                 <repository>
52                         <id>ecomp-staging</id>
53                         <name>VID Staging Repository</name>
54                         <url>${nexusproxy}/${stagingNexusPath}</url>
55                 </repository>
56                 <repository>
57                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
58                         <id>oss-snapshots</id>
59                         <name>oss Central - Snapshots</name>
60                         <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
61                 </repository>
62         </repositories>
63
64         <distributionManagement>
65                 <repository>
66                         <id>ecomp-releases</id>
67                         <name>VID Release Repository</name>
68                         <url>${nexusproxy}/${releaseNexusPath}</url>
69                 </repository>
70                 <snapshotRepository>
71                         <id>ecomp-snapshots</id>
72                         <name>VID Snapshot Repository</name>
73                         <url>${nexusproxy}/${snapshotNexusPath}</url>
74                 </snapshotRepository>
75                 <!-- added for javadoc -->
76                 <site>
77                         <id>ecomp-javadoc</id>
78                         <url>dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version}</url>
79                 </site>
80         </distributionManagement>
81
82         <build>
83           <plugins>
84             <plugin>
85               <groupId>org.codehaus.mojo</groupId>
86               <artifactId>versions-maven-plugin</artifactId>
87               <version>1.3.1</version>
88             </plugin>
89             <plugin>
90                 <groupId>org.sonatype.plugins</groupId>
91                 <artifactId>nexus-staging-maven-plugin</artifactId>
92                 <version>1.6.7</version>
93                 <extensions>true</extensions>
94                 <configuration>
95                   <nexusUrl>${nexusproxy}</nexusUrl>
96                   <stagingProfileId>176c31dfe190a</stagingProfileId>
97                   <serverId>ecomp-staging</serverId>
98                 </configuration>
99             </plugin>
100
101                  <!-- license plugin for open source -->
102             <plugin>
103                 <groupId>org.codehaus.mojo</groupId>
104                 <artifactId>license-maven-plugin</artifactId>
105                 <version>1.9</version>
106                 <configuration>
107                     <licenseName>apache_v2</licenseName>
108                     <inceptionYear>2016</inceptionYear>
109                     <organizationName>AT&amp;T</organizationName>
110                     <projectName>VID</projectName>
111                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> 
112                     <processStartTag>========LICENSE_START===========</processStartTag>
113                     <processEndTag>============LICENSE_END===========</processEndTag>
114                     <roots>
115                       <root>src/main/java</root>
116                     </roots>
117                     <excludes>
118                         <exclude>*.png</exclude>
119                     </excludes>
120                 </configuration>
121             </plugin>
122
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-deploy-plugin</artifactId>
126                 <version>2.8</version>
127             </plugin>
128
129             <plugin>
130                 <groupId>org.apache.maven.plugins</groupId>
131                 <artifactId>maven-surefire-plugin</artifactId>
132                 <version>2.17</version>
133             </plugin>
134             
135             <plugin>
136                 <groupId>org.apache.maven.plugins</groupId>
137                 <artifactId>maven-compiler-plugin</artifactId>
138                 <version>2.3.2</version>
139                 
140                 <configuration>
141                   <debug>true</debug>
142                   <compilerArgument>-Xlint</compilerArgument>
143                   <verbose>true</verbose>
144                   <showDeprecation>true</showDeprecation>
145                   <showWarnings>true</showWarnings>
146                   <source>1.8</source>
147                   <target>1.8</target>
148                 </configuration>
149             </plugin>
150             <!-- added for javadoc -->
151             <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-site-plugin</artifactId>
154                 <version>3.6</version>
155                 <dependencies>
156                   <dependency>
157                     <groupId>org.apache.maven.wagon</groupId>
158                     <artifactId>wagon-webdav-jackrabbit</artifactId>
159                     <version>2.10</version>
160                   </dependency>
161                 </dependencies>
162             </plugin>
163           </plugins>
164         </build>
165
166         <!-- added for javadoc -->
167
168         <reporting>
169                 <plugins>
170                         
171                         <plugin>
172                                 <groupId>org.apache.maven.plugins</groupId>
173                                 <artifactId>maven-javadoc-plugin</artifactId>
174                                 <version>2.10.4</version>
175                                 <configuration>
176                                         <failOnError>false</failOnError>
177                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
178                                         <docletArtifact>
179                                                 <groupId>org.umlgraph</groupId>
180                                                 <artifactId>umlgraph</artifactId>
181                                                 <version>5.6</version>
182                                         </docletArtifact>
183                                         <additionalparam>-views</additionalparam>
184                                         <useStandardDocletOptions>true</useStandardDocletOptions>
185                                 </configuration>
186                         </plugin>
187                 </plugins>
188         </reporting>
189         <dependencies>
190                 <dependency>
191                         <groupId>junit</groupId>
192                         <artifactId>junit</artifactId>
193                         <version>4.11</version>
194                         <scope>test</scope>
195                 </dependency>
196         </dependencies>
197         <version>1.0.0-SNAPSHOT</version>
198 </project>