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