Initial commit with all the necessary files
[aai/aai-common.git] / aai-annotations / pom.xml
1 <?xml version="1.0"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5         <modelVersion>4.0.0</modelVersion>
6         <groupId>org.openecomp.aai</groupId>
7         <artifactId>aai-annotations</artifactId>
8         <version>1.2.4-SNAPSHOT</version>
9         <name>aai-annotations</name>
10         <packaging>jar</packaging>
11         <properties>
12                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13                 <nexusproxy>https://nexus.onap.org</nexusproxy>
14                 <sitePath>/content/sites/site/${project.artifactId}/${project.version}</sitePath>
15         </properties>
16         <dependencies>
17                 <dependency>
18                         <groupId>junit</groupId>
19                         <artifactId>junit</artifactId>
20                         <version>3.8.1</version>
21                         <scope>test</scope>
22                 </dependency>
23         </dependencies>
24
25         <build>
26                 <pluginManagement>
27                         <plugins>
28                                 <plugin>
29                                   <groupId>org.apache.maven.plugins</groupId>
30                                   <artifactId>maven-site-plugin</artifactId>
31                                   <version>3.6</version>
32                                   <dependencies>
33                                     <dependency>
34                                       <groupId>org.apache.maven.wagon</groupId>
35                                       <artifactId>wagon-webdav-jackrabbit</artifactId>
36                                       <version>2.10</version>
37                                     </dependency>
38                                   </dependencies>
39                                 </plugin>
40                                 <!-- Checkstyle plugin - used to report on compliance with -->
41                                 <!-- the Google style guide. -->
42                                 <plugin>
43                                         <groupId>org.apache.maven.plugins</groupId>
44                                         <artifactId>maven-site-plugin</artifactId>
45                                         <version>3.3</version>
46                                         <configuration>
47                                                 <reportPlugins>
48                                                         <plugin>
49                                                                 <groupId>org.apache.maven.plugins</groupId>
50                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
51                                                                 <version>2.17</version>
52                                                                 <reportSets>
53                                                                         <reportSet>
54                                                                                 <reports>
55                                                                                         <report>checkstyle</report>
56                                                                                 </reports>
57                                                                         </reportSet>
58                                                                 </reportSets>
59                                                         </plugin>
60                                                 </reportPlugins>
61                                         </configuration>
62                                 </plugin>
63
64                                 <plugin>
65                                         <groupId>org.codehaus.mojo</groupId>
66                                         <artifactId>license-maven-plugin</artifactId>
67                                         <version>1.12</version>
68                                         <configuration>
69                                                 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
70                                                 <licenseName>apache_v2</licenseName>
71                                                 <inceptionYear>2017</inceptionYear>
72                                                 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
73                                                 <projectName>org.openecomp.aai</projectName>
74                                                 <canUpdateCopyright>true</canUpdateCopyright>
75                                                 <canUpdateDescription>true</canUpdateDescription>
76                                                 <canUpdateLicense>true</canUpdateLicense>
77                                                 <emptyLineAfterHeader>true</emptyLineAfterHeader>
78                                                 <processStartTag>============LICENSE_START=======================================================</processStartTag>
79                                                 <processEndTag>============LICENSE_END=========================================================</processEndTag>
80                                                 <sectionDelimiter>================================================================================</sectionDelimiter>
81                                                 <includes>
82                                                         <include>**/*.java</include>
83                                                         <include>**/*.ksh</include>
84                                                         <include>**/*.sh</include>
85                                                         <include>**/*.ftl</include>
86                                                         <include>**/*.xsd</include>
87                                                         <include>**/*.xjb</include>
88                                                         <include>**/aai*.xml</include>
89                                                         <include>**/*logback*.xml</include>
90                                                         <include>**/*aaiconfig*.properties</include>
91                                                         <include>**/*titan*.properties</include>
92                                                 </includes>
93                                         </configuration>
94                                         <executions>
95                                                 <execution>
96                                                         <id>first</id>
97                                                         <goals>
98                                                                 <goal>update-file-header</goal>
99                                                         </goals>
100                                                         <phase>process-sources</phase>
101                                                 </execution>
102                                         </executions>
103                                 </plugin>
104                                 <plugin>
105                                         <groupId>org.apache.maven.plugins</groupId>
106                                         <artifactId>maven-compiler-plugin</artifactId>
107                                         <configuration>
108                                                 <source>1.8</source>
109                                                 <target>1.8</target>
110                                         </configuration>
111                                 </plugin>
112                                 <plugin>
113                                         <artifactId>maven-release-plugin</artifactId>
114                                         <version>2.4.2</version>
115                                         <dependencies>
116                                                 <dependency>
117                                                         <groupId>org.apache.maven.scm</groupId>
118                                                         <artifactId>maven-scm-provider-gitexe</artifactId>
119                                                         <version>1.8.1</version>
120                                                 </dependency>
121                                         </dependencies>
122                                 </plugin>
123                         </plugins>
124                 </pluginManagement>
125         </build>
126         
127         <distributionManagement>
128                 <repository>
129                         <id>ecomp-releases</id>
130                         <name>ECOMP Release Repository</name>
131                         <url>${nexusproxy}/content/repositories/releases/</url>
132                 </repository>
133                 <snapshotRepository>
134                         <id>ecomp-snapshots</id>
135                         <name>ECOMP Snapshot Repository</name>
136                         <url>${nexusproxy}/content/repositories/snapshots/</url>
137                 </snapshotRepository>
138                 <site>
139                         <id>ecomp-site</id>
140                         <url>dav:${nexusproxy}${sitePath}</url>
141                 </site>
142         </distributionManagement>
143
144         <!-- Plugins and repositories -->
145         <pluginRepositories>
146                 <pluginRepository>
147                         <id>central</id>
148                         <url>http://repo1.maven.org/maven2</url>
149                 </pluginRepository>
150                 <pluginRepository>
151                         <id>EvoSuite</id>
152                         <name>EvoSuite Repository</name>
153                         <url>http://www.evosuite.org/m2</url>
154                 </pluginRepository>
155         </pluginRepositories>
156         
157         <repositories>
158                 <repository>
159                         <id>AJSC</id>
160                         <name>AJSC repository</name>
161                         <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
162                 </repository>
163                 <repository>
164                         <id>restlet</id>
165                         <name>maven reslet</name>
166                         <url>https://maven.restlet.com/</url>
167                 </repository>
168                 
169                 <repository>
170                         <id>central</id>
171                         <name>Maven 2 repository 2</name>
172                         <url>http://repo2.maven.org/maven2/</url>
173                 </repository>
174                 <repository>
175                         <id>ecomp-releases</id>
176                         <name>ECOMP Release Repository</name>
177                         <url>${nexusproxy}/content/repositories/releases/</url>
178                 </repository>
179                 <repository>
180                         <id>ecomp-staging</id>
181                         <name>ECOMP Staging Repository</name>
182                         <url>${nexusproxy}/content/repositories/staging/</url>
183                 </repository>
184                 <repository>
185                         <id>ecomp-snapshots</id>
186                         <name>ECOMP Snapshot Repository</name>
187                         <url>${nexusproxy}/content/repositories/snapshots/</url>
188                 </repository>
189         </repositories>
190         
191         <reporting>
192           <plugins>
193             <plugin>
194               <groupId>org.apache.maven.plugins</groupId>
195               <artifactId>maven-javadoc-plugin</artifactId>
196               <version>2.10.4</version>
197               <configuration>
198                 <failOnError>false</failOnError>
199                 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
200                 <docletArtifact>
201                   <groupId>org.umlgraph</groupId>
202                   <artifactId>umlgraph</artifactId>
203                   <version>5.6</version>
204                 </docletArtifact>
205                 <additionalparam>-views</additionalparam>
206                 <useStandardDocletOptions>true</useStandardDocletOptions>
207               </configuration>
208             </plugin>
209           </plugins>
210         </reporting>
211 </project>