Merge "AAI-1523 checkstyle warnings for aai-core concurre"
[aai/aai-common.git] / pom.xml
1 <!--
2
3     ============LICENSE_START=======================================================
4     org.onap.aai
5     ================================================================================
6     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7     ================================================================================
8     Licensed under the Apache License, Version 2.0 (the "License");
9     you may not use this file except in compliance with the License.
10     You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14     Unless required by applicable law or agreed to in writing, software
15     distributed under the License is distributed on an "AS IS" BASIS,
16     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17     See the License for the specific language governing permissions and
18     limitations under the License.
19     ============LICENSE_END=========================================================
20
21 -->
22 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.oparent</groupId>
27         <artifactId>oparent</artifactId>
28         <version>1.1.0</version>
29     </parent>
30
31     <groupId>org.onap.aai.aai-common</groupId>
32     <artifactId>aai-common</artifactId>
33     <version>1.4.1-SNAPSHOT</version>
34     <packaging>pom</packaging>
35     <name>aai-aai-common</name>
36     <description>Contains all of the common code for resources and traversal repos</description>
37
38     <modules>
39         <module>aai-rest</module>
40         <module>aai-schema-ingest</module>
41         <module>aai-annotations</module>
42         <module>aai-core</module>
43         <module>aai-schema</module>
44         <module>aai-auth</module>
45         <module>aai-utils</module>
46     </modules>
47
48     <properties>
49         <aai.generate.schema>true</aai.generate.schema>
50         <sitePath>/content/sites/site/org/onap/aai/aai-common/${project.artifactId}/${project.version}</sitePath>
51         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
52         <onap.nexus.snapshot.path>/content/repositories/snapshots/</onap.nexus.snapshot.path>
53         <onap.nexus.snapshot.id>ecomp-snapshots</onap.nexus.snapshot.id>
54         <onap.nexus.release.path>/content/repositories/releases/</onap.nexus.release.path>
55         <onap.nexus.release.id>ecomp-releases</onap.nexus.release.id>
56     </properties>
57
58     <build>
59         <pluginManagement>
60             <plugins>
61                 <plugin>
62                     <groupId>org.apache.maven.plugins</groupId>
63                     <artifactId>maven-compiler-plugin</artifactId>
64                     <configuration>
65                         <source>1.8</source>
66                         <target>1.8</target>
67                     </configuration>
68                 </plugin>
69                 <plugin>
70                     <groupId>org.apache.maven.plugins</groupId>
71                     <artifactId>maven-source-plugin</artifactId>
72                     <version>3.0.1</version>
73                     <executions>
74                         <execution>
75                             <id>attach-sources</id>
76                             <phase>deploy</phase>
77                             <goals>
78                                 <goal>jar-no-fork</goal>
79                             </goals>
80                         </execution>
81                     </executions>
82                 </plugin>
83                 <plugin>
84                     <groupId>org.apache.maven.plugins</groupId>
85                     <artifactId>maven-deploy-plugin</artifactId>
86                     <version>2.8.2</version>
87                     <executions>
88                         <execution>
89                             <id>default-deploy</id>
90                             <phase>none</phase>
91                         </execution>
92                     </executions>
93                 </plugin>
94                 <plugin>
95                     <groupId>org.sonatype.plugins</groupId>
96                     <artifactId>nexus-staging-maven-plugin</artifactId>
97                     <version>1.6.7</version>
98                     <extensions>true</extensions>
99                     <configuration>
100                         <nexusUrl>${onap.nexus.url}</nexusUrl>
101                         <stagingProfileId>176c31dfe190a</stagingProfileId>
102                         <serverId>ecomp-staging</serverId>
103                     </configuration>
104                 </plugin>
105                 <plugin>
106                     <groupId>com.mycila</groupId>
107                     <artifactId>license-maven-plugin</artifactId>
108                     <version>3.0</version>
109                     <configuration>
110                         <header>LICENSE.TXT</header>
111                         <includes>
112                             <include>src/main/java/**</include>
113                             <include>src/test/java/**</include>
114                             <include>pom.xml</include>
115                         </includes>
116                         <skipExistingHeaders>true</skipExistingHeaders>
117                         <skip>false</skip>
118                     </configuration>
119                     <executions>
120                         <execution>
121                             <goals>
122                                 <!-- Set goal to "format" to auto update license headers -->
123                                 <goal>check</goal>
124                             </goals>
125                             <phase>process-sources</phase>
126                         </execution>
127                     </executions>
128                 </plugin>
129             </plugins>
130         </pluginManagement>
131         <plugins>
132             <plugin>
133                 <groupId>org.apache.maven.plugins</groupId>
134                 <artifactId>maven-site-plugin</artifactId>
135                 <version>3.6</version>
136                 <configuration>
137                     <reportPlugins>
138                         <plugin>
139                             <groupId>org.apache.maven.plugins</groupId>
140                             <artifactId>maven-project-info-reports-plugin</artifactId>
141                             <version>2.4</version>
142                             <configuration>
143                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
144                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
145                             </configuration>
146                             <reports>
147                                 <report>dependencies</report>
148                             </reports>
149                         </plugin>
150                         <plugin>
151                             <groupId>org.apache.maven.plugins</groupId>
152                             <artifactId>maven-javadoc-plugin</artifactId>
153                             <version>2.8</version>
154                             <configuration>
155                                 <additionalparam>-Xdoclint:none</additionalparam>
156                             </configuration>
157                         </plugin>
158                     </reportPlugins>
159                 </configuration>
160                 <dependencies>
161                     <dependency>
162                         <groupId>org.apache.maven.wagon</groupId>
163                         <artifactId>wagon-webdav-jackrabbit</artifactId>
164                         <version>2.10</version>
165                     </dependency>
166                 </dependencies>
167             </plugin>
168             <plugin>
169                 <groupId>com.mycila</groupId>
170                 <artifactId>license-maven-plugin</artifactId>
171             </plugin>
172         </plugins>
173     </build>
174
175     <distributionManagement>
176         <repository>
177             <id>${onap.nexus.release.id}</id>
178             <name>ECOMP Release Repository</name>
179             <url>${onap.nexus.url}${onap.nexus.release.path}</url>
180         </repository>
181         <snapshotRepository>
182             <id>${onap.nexus.snapshot.id}</id>
183             <name>ECOMP Snapshot Repository</name>
184             <url>${onap.nexus.url}${onap.nexus.snapshot.path}</url>
185         </snapshotRepository>
186         <site>
187             <id>ecomp-site</id>
188             <url>dav:${onap.nexus.url}${sitePath}</url>
189         </site>
190     </distributionManagement>
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 -Xdoclint:none</additionalparam>
206                     <excludePackageNames>org.onap.aai.domain.yang.*:org.onap.aai.util.*</excludePackageNames>
207                     <useStandardDocletOptions>true</useStandardDocletOptions>
208                 </configuration>
209             </plugin>
210         </plugins>
211     </reporting>
212
213     <!-- Start of ONAP Specific Repositories -->
214     <repositories>
215         <repository>
216             <id>AJSC</id>
217             <name>AJSC repository</name>
218             <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
219         </repository>
220         <repository>
221             <id>restlet</id>
222             <name>maven reslet</name>
223             <url>https://maven.restlet.com/</url>
224         </repository>
225
226         <repository>
227             <id>central</id>
228             <name>Maven 2 repository 2</name>
229             <url>http://repo2.maven.org/maven2/</url>
230         </repository>
231         <repository>
232             <id>ecomp-releases</id>
233             <name>ECOMP Release Repository</name>
234             <url>${onap.nexus.url}/content/repositories/releases/</url>
235         </repository>
236         <repository>
237             <id>ecomp-staging</id>
238             <name>ECOMP Staging Repository</name>
239             <url>${onap.nexus.url}/content/repositories/staging/</url>
240         </repository>
241         <repository>
242             <id>ecomp-snapshots</id>
243             <name>ECOMP Snapshot Repository</name>
244             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
245         </repository>
246     </repositories>
247     <!-- End of ONAP Specific Repositories -->
248 </project>