3 ============LICENSE_START=======================================================
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
12 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
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>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>2.1.0</version>
31 <groupId>org.onap.aai.aai-common</groupId>
32 <artifactId>aai-common</artifactId>
33 <version>1.9.3-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>
39 <module>aai-parent</module>
40 <module>aai-rest</module>
41 <module>aai-schema-ingest</module>
42 <module>aai-annotations</module>
43 <module>aai-aaf-auth</module>
44 <module>aai-core</module>
45 <module>aai-auth</module>
46 <module>aai-els-onap-logging</module>
47 <module>aai-failover</module>
48 <module>aai-utils</module>
49 <module>aai-schema-abstraction</module>
56 <module>aai-common-docker</module>
62 <aai.common.version>${project.version}</aai.common.version>
63 <aai.generate.schema>true</aai.generate.schema>
64 <sitePath>/content/sites/site/org/onap/aai/aai-common/${project.artifactId}/${project.version}</sitePath>
65 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
66 <onap.nexus.snapshot.path>/content/repositories/snapshots/</onap.nexus.snapshot.path>
67 <onap.nexus.snapshot.id>ecomp-snapshots</onap.nexus.snapshot.id>
68 <onap.nexus.release.path>/content/repositories/releases/</onap.nexus.release.path>
69 <onap.nexus.release.id>ecomp-releases</onap.nexus.release.id>
76 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
77 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
78 Use in combination to rewrite code and imports, then checkstyle
80 mvn formatter:format spotless:apply process-sources
83 <groupId>net.revelc.code.formatter</groupId>
84 <artifactId>formatter-maven-plugin</artifactId>
85 <version>2.8.1</version>
87 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
89 <!-- https://code.revelc.net/formatter-maven-plugin/
90 use mvn formatter:format to rewrite source files
91 use mvn formatter:validate to validate source files -->
94 <groupId>com.diffplug.spotless</groupId>
95 <artifactId>spotless-maven-plugin</artifactId>
96 <version>1.18.0</version>
100 <order>com,java,javax,org</order>
104 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
105 use mvn spotless:apply to rewrite source files
106 use mvn spotless:check to validate source files -->
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-compiler-plugin</artifactId>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-source-plugin</artifactId>
119 <version>3.0.1</version>
122 <id>attach-sources</id>
123 <phase>deploy</phase>
125 <goal>jar-no-fork</goal>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-deploy-plugin</artifactId>
133 <version>2.8.2</version>
136 <groupId>com.mycila</groupId>
137 <artifactId>license-maven-plugin</artifactId>
138 <version>3.0</version>
140 <header>LICENSE.TXT</header>
142 <include>src/main/java/**</include>
143 <include>src/test/java/**</include>
144 <include>pom.xml</include>
146 <skipExistingHeaders>true</skipExistingHeaders>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-site-plugin</artifactId>
156 <version>3.6</version>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-project-info-reports-plugin</artifactId>
162 <version>2.4</version>
164 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
165 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
168 <report>dependencies</report>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-javadoc-plugin</artifactId>
174 <version>2.8</version>
176 <additionalparam>-Xdoclint:none</additionalparam>
183 <groupId>org.apache.maven.wagon</groupId>
184 <artifactId>wagon-webdav-jackrabbit</artifactId>
185 <version>2.10</version>
190 <groupId>com.mycila</groupId>
191 <artifactId>license-maven-plugin</artifactId>
196 <distributionManagement>
198 <id>${onap.nexus.release.id}</id>
199 <name>ECOMP Release Repository</name>
200 <url>${onap.nexus.url}${onap.nexus.release.path}</url>
203 <id>${onap.nexus.snapshot.id}</id>
204 <name>ECOMP Snapshot Repository</name>
205 <url>${onap.nexus.url}${onap.nexus.snapshot.path}</url>
206 </snapshotRepository>
209 <url>dav:${onap.nexus.url}${sitePath}</url>
211 </distributionManagement>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-javadoc-plugin</artifactId>
217 <version>2.10.4</version>
219 <failOnError>false</failOnError>
220 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
222 <groupId>org.umlgraph</groupId>
223 <artifactId>umlgraph</artifactId>
224 <version>5.6</version>
226 <additionalparam>-views -Xdoclint:none</additionalparam>
227 <excludePackageNames>org.onap.aai.domain.yang.*:org.onap.aai.util.*</excludePackageNames>
228 <useStandardDocletOptions>true</useStandardDocletOptions>
234 <!-- Start of ONAP Specific Repositories -->
238 <name>Log4J repository</name>
239 <url>https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j</url>
243 <name>AJSC repository</name>
244 <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
248 <name>maven reslet</name>
249 <url>https://maven.restlet.com/</url>
252 <id>ecomp-releases</id>
253 <name>ECOMP Release Repository</name>
254 <url>${onap.nexus.url}/content/repositories/releases/</url>
257 <id>ecomp-snapshots</id>
258 <name>ECOMP Snapshot Repository</name>
259 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
262 <!-- End of ONAP Specific Repositories -->
264 <!-- noop for release -->