[VID-3] Updating javadoc params
[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                 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
39         </properties>
40
41         <repositories>
42                 <repository>
43                         <id>ecomp-releases</id>
44                         <name>VID Release Repository</name>
45                         <url>${nexusproxy}/${releaseNexusPath}</url>
46                 </repository>
47                 <repository>
48                         <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>
56                 </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>
64
65         <distributionManagement>
66                 <repository>
67                         <id>ecomp-releases</id>
68                         <name>VID Release Repository</name>
69                         <url>${nexusproxy}/${releaseNexusPath}</url>
70                 </repository>
71                 <snapshotRepository>
72                         <id>ecomp-snapshots</id>
73                         <name>VID Snapshot Repository</name>
74                         <url>${nexusproxy}/${snapshotNexusPath}</url>
75                 </snapshotRepository>
76                 <!-- added for javadoc -->
77                 <site>
78                         <id>ecomp-site</id>
79                         <url>dav:${nexusproxy}${sitePath}</url>
80                 </site>
81         </distributionManagement>
82
83         <build>
84           <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
102                  <!-- 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> 
113                     <processStartTag>========LICENSE_START===========</processStartTag>
114                     <processEndTag>============LICENSE_END===========</processEndTag>
115                     <roots>
116                       <root>src/main/java</root>
117                     </roots>
118                     <excludes>
119                         <exclude>*.png</exclude>
120                     </excludes>
121                 </configuration>
122             </plugin>
123
124             <plugin>
125                 <groupId>org.apache.maven.plugins</groupId>
126                 <artifactId>maven-deploy-plugin</artifactId>
127                 <version>2.8</version>
128             </plugin>
129
130             <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>
140                 
141                 <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             <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>