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