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