Merge "AAI-1523 checkstyle warnings for aai-core auth"
[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     </properties>
53
54     <build>
55         <pluginManagement>
56             <plugins>
57                 <plugin>
58                     <groupId>org.apache.maven.plugins</groupId>
59                     <artifactId>maven-compiler-plugin</artifactId>
60                     <configuration>
61                         <source>1.8</source>
62                         <target>1.8</target>
63                     </configuration>
64                 </plugin>
65                 <plugin>
66                     <groupId>org.apache.maven.plugins</groupId>
67                     <artifactId>maven-source-plugin</artifactId>
68                     <version>3.0.1</version>
69                     <executions>
70                         <execution>
71                             <id>attach-sources</id>
72                             <phase>deploy</phase>
73                             <goals>
74                                 <goal>jar-no-fork</goal>
75                             </goals>
76                         </execution>
77                     </executions>
78                 </plugin>
79                 <plugin>
80                     <groupId>org.apache.maven.plugins</groupId>
81                     <artifactId>maven-deploy-plugin</artifactId>
82                     <version>2.8.2</version>
83                     <executions>
84                         <execution>
85                             <id>default-deploy</id>
86                             <phase>none</phase>
87                         </execution>
88                     </executions>
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>${onap.nexus.url}</nexusUrl>
97                         <stagingProfileId>176c31dfe190a</stagingProfileId>
98                         <serverId>ecomp-staging</serverId>
99                     </configuration>
100                 </plugin>
101                 <plugin>
102                     <groupId>com.mycila</groupId>
103                     <artifactId>license-maven-plugin</artifactId>
104                     <version>3.0</version>
105                     <configuration>
106                         <header>LICENSE.TXT</header>
107                         <includes>
108                             <include>src/main/java/**</include>
109                             <include>src/test/java/**</include>
110                             <include>pom.xml</include>
111                         </includes>
112                         <skipExistingHeaders>true</skipExistingHeaders>
113                         <skip>false</skip>
114                     </configuration>
115                     <executions>
116                         <execution>
117                             <goals>
118                                 <!-- Set goal to "format" to auto update license headers -->
119                                 <goal>check</goal>
120                             </goals>
121                             <phase>process-sources</phase>
122                         </execution>
123                     </executions>
124                 </plugin>
125             </plugins>
126         </pluginManagement>
127         <plugins>
128             <plugin>
129                 <groupId>org.apache.maven.plugins</groupId>
130                 <artifactId>maven-site-plugin</artifactId>
131                 <version>3.6</version>
132                 <configuration>
133                     <reportPlugins>
134                         <plugin>
135                             <groupId>org.apache.maven.plugins</groupId>
136                             <artifactId>maven-project-info-reports-plugin</artifactId>
137                             <version>2.4</version>
138                             <configuration>
139                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
140                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
141                             </configuration>
142                             <reports>
143                                 <report>dependencies</report>
144                             </reports>
145                         </plugin>
146                         <plugin>
147                             <groupId>org.apache.maven.plugins</groupId>
148                             <artifactId>maven-javadoc-plugin</artifactId>
149                             <version>2.8</version>
150                             <configuration>
151                                 <additionalparam>-Xdoclint:none</additionalparam>
152                             </configuration>
153                         </plugin>
154                     </reportPlugins>
155                 </configuration>
156                 <dependencies>
157                     <dependency>
158                         <groupId>org.apache.maven.wagon</groupId>
159                         <artifactId>wagon-webdav-jackrabbit</artifactId>
160                         <version>2.10</version>
161                     </dependency>
162                 </dependencies>
163             </plugin>
164             <plugin>
165                 <groupId>com.mycila</groupId>
166                 <artifactId>license-maven-plugin</artifactId>
167             </plugin>
168         </plugins>
169     </build>
170
171     <distributionManagement>
172         <snapshotRepository>
173             <id>ecomp-snapshots</id>
174             <name>ECOMP Snapshot Repository</name>
175             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
176         </snapshotRepository>
177         <site>
178             <id>ecomp-site</id>
179             <url>dav:${onap.nexus.url}${sitePath}</url>
180         </site>
181     </distributionManagement>
182     <reporting>
183         <plugins>
184             <plugin>
185                 <groupId>org.apache.maven.plugins</groupId>
186                 <artifactId>maven-javadoc-plugin</artifactId>
187                 <version>2.10.4</version>
188                 <configuration>
189                     <failOnError>false</failOnError>
190                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
191                     <docletArtifact>
192                         <groupId>org.umlgraph</groupId>
193                         <artifactId>umlgraph</artifactId>
194                         <version>5.6</version>
195                     </docletArtifact>
196                     <additionalparam>-views -Xdoclint:none</additionalparam>
197                     <excludePackageNames>org.onap.aai.domain.yang.*:org.onap.aai.util.*</excludePackageNames>
198                     <useStandardDocletOptions>true</useStandardDocletOptions>
199                 </configuration>
200             </plugin>
201         </plugins>
202     </reporting>
203
204     <!-- Start of ONAP Specific Repositories -->
205     <repositories>
206         <repository>
207             <id>AJSC</id>
208             <name>AJSC repository</name>
209             <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
210         </repository>
211         <repository>
212             <id>restlet</id>
213             <name>maven reslet</name>
214             <url>https://maven.restlet.com/</url>
215         </repository>
216
217         <repository>
218             <id>central</id>
219             <name>Maven 2 repository 2</name>
220             <url>http://repo2.maven.org/maven2/</url>
221         </repository>
222         <repository>
223             <id>ecomp-releases</id>
224             <name>ECOMP Release Repository</name>
225             <url>${onap.nexus.url}/content/repositories/releases/</url>
226         </repository>
227         <repository>
228             <id>ecomp-staging</id>
229             <name>ECOMP Staging Repository</name>
230             <url>${onap.nexus.url}/content/repositories/staging/</url>
231         </repository>
232         <repository>
233             <id>ecomp-snapshots</id>
234             <name>ECOMP Snapshot Repository</name>
235             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
236         </repository>
237     </repositories>
238     <!-- End of ONAP Specific Repositories -->
239 </project>