1 <?xml version="1.0" encoding="UTF-8"?>
4 ============LICENSE_START=======================================================
6 ================================================================================
7 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
23 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.aai.aai-common</groupId>
28 <artifactId>aai-parent</artifactId>
29 <version>1.9.2</version>
31 <groupId>org.onap.aai.schema-service</groupId>
32 <artifactId>schema-service</artifactId>
33 <version>1.9.5-SNAPSHOT</version>
34 <name>aai-schema-service</name>
35 <packaging>pom</packaging>
37 <module>aai-annotations</module>
38 <module>aai-schema-gen</module>
39 <module>aai-schema</module>
40 <module>aai-queries</module>
41 <module>aai-schema-service</module>
45 Nexus Proxy Properties and Snapshot Locations
46 Ideally this can be overwritten at runtime per internal environment specific values at runtime
48 <aai.common.version>1.9.3</aai.common.version>
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
50 <site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path>
51 <release.path>/content/repositories/releases/</release.path>
52 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
53 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
54 <aai.project.version>${project.version}</aai.project.version>
55 <checkstyle.skip>false</checkstyle.skip>
61 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
62 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
63 Use in combination to rewrite code and imports, then checkstyle
65 mvn formatter:format spotless:apply process-sources
68 <groupId>net.revelc.code.formatter</groupId>
69 <artifactId>formatter-maven-plugin</artifactId>
70 <version>2.8.1</version>
72 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
74 <!-- https://code.revelc.net/formatter-maven-plugin/
75 use mvn formatter:format to rewrite source files
76 use mvn formatter:validate to validate source files -->
79 <groupId>com.diffplug.spotless</groupId>
80 <artifactId>spotless-maven-plugin</artifactId>
81 <version>1.18.0</version>
85 <order>com,java,javax,org</order>
89 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
90 use mvn spotless:apply to rewrite source files
91 use mvn spotless:check to validate source files -->
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-deploy-plugin</artifactId>
98 <groupId>com.mycila</groupId>
99 <artifactId>license-maven-plugin</artifactId>
100 <version>3.0</version>
102 <header>LICENSE.TXT</header>
104 <include>src/main/java/**</include>
105 <include>src/test/java/**</include>
106 <include>pom.xml</include>
108 <skipExistingHeaders>true</skipExistingHeaders>
111 <header>LICENSE_ALT1.txt</header>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-source-plugin</artifactId>
118 <version>3.0.1</version>
121 <id>attach-sources</id>
122 <phase>verify</phase>
124 <goal>jar-no-fork</goal>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-site-plugin</artifactId>
135 <version>3.6</version>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-project-info-reports-plugin</artifactId>
141 <version>2.4</version>
143 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
144 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
147 <report>dependencies</report>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-javadoc-plugin</artifactId>
153 <version>2.8</version>
155 <additionalparam>-Xdoclint:none</additionalparam>
162 <groupId>org.apache.maven.wagon</groupId>
163 <artifactId>wagon-webdav-jackrabbit</artifactId>
164 <version>2.10</version>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-javadoc-plugin</artifactId>
175 <version>2.10.4</version>
177 <failOnError>false</failOnError>
178 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
180 <groupId>org.umlgraph</groupId>
181 <artifactId>umlgraph</artifactId>
182 <version>5.6</version>
184 <additionalparam>-views</additionalparam>
185 <useStandardDocletOptions>true</useStandardDocletOptions>
193 <url>http://repo1.maven.org/maven2</url>
197 <name>EvoSuite Repository</name>
198 <url>http://www.evosuite.org/m2</url>
200 </pluginRepositories>
201 <distributionManagement>
203 <id>ecomp-releases</id>
204 <name>ECOMP Release Repository</name>
205 <url>${nexusproxy}${release.path}</url>
208 <id>ecomp-snapshots</id>
209 <name>ECOMP Snapshot Repository</name>
210 <url>${nexusproxy}${snapshot.path}</url>
211 </snapshotRepository>
214 <url>dav:${nexusproxy}${site.path}</url>
216 </distributionManagement>