1 <?xml version="1.0" encoding="UTF-8"?>
4 ============LICENSE_START=======================================================
6 ================================================================================
7 Copyright © 2019 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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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.6.10</version>
31 <groupId>org.onap.aai.traversal</groupId>
32 <artifactId>traversal</artifactId>
33 <version>1.7.0-SNAPSHOT</version>
34 <name>aai-traversal</name>
35 <packaging>pom</packaging>
37 <module>aai-traversal</module>
41 Nexus Proxy Properties and Snapshot Locations
42 Ideally this can be overwritten at runtime per internal environment specific values at runtime
44 <aai.common.version>1.7.0-SNAPSHOT</aai.common.version>
45 <nexusproxy>https://nexus.onap.org</nexusproxy>
46 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
47 <release.path>/content/repositories/releases/</release.path>
48 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
49 <staging.path>/content/repositories/staging/</staging.path>
50 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
51 <aai.project.version>${project.version}</aai.project.version>
57 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
58 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
59 Use in combination to rewrite code and imports, then checkstyle
61 mvn formatter:format spotless:apply process-sources
64 <groupId>net.revelc.code.formatter</groupId>
65 <artifactId>formatter-maven-plugin</artifactId>
66 <version>2.8.1</version>
68 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
70 <!-- https://code.revelc.net/formatter-maven-plugin/
71 use mvn formatter:format to rewrite source files
72 use mvn formatter:validate to validate source files -->
75 <groupId>com.diffplug.spotless</groupId>
76 <artifactId>spotless-maven-plugin</artifactId>
77 <version>1.18.0</version>
81 <order>com,java,javax,org</order>
85 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
86 use mvn spotless:apply to rewrite source files
87 use mvn spotless:check to validate source files -->
90 <groupId>org.codehaus.mojo</groupId>
91 <artifactId>sonar-maven-plugin</artifactId>
92 <version>3.2</version>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-deploy-plugin</artifactId>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-site-plugin</artifactId>
104 <version>3.6</version>
107 <groupId>org.apache.maven.wagon</groupId>
108 <artifactId>wagon-webdav-jackrabbit</artifactId>
109 <version>2.10</version>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-javadoc-plugin</artifactId>
120 <version>2.10.4</version>
122 <failOnError>false</failOnError>
123 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
125 <groupId>org.umlgraph</groupId>
126 <artifactId>umlgraph</artifactId>
127 <version>5.6</version>
129 <additionalparam>-views</additionalparam>
130 <useStandardDocletOptions>true</useStandardDocletOptions>
138 <url>http://repo1.maven.org/maven2</url>
142 <name>EvoSuite Repository</name>
143 <url>http://www.evosuite.org/m2</url>
145 </pluginRepositories>
146 <distributionManagement>
148 <id>ecomp-releases</id>
149 <name>ECOMP Release Repository</name>
150 <url>${nexusproxy}${release.path}</url>
153 <id>ecomp-snapshots</id>
154 <name>ECOMP Snapshot Repository</name>
155 <url>${nexusproxy}${snapshot.path}</url>
156 </snapshotRepository>
159 <url>dav:${nexusproxy}${site.path}</url>
161 </distributionManagement>
164 <id>ecomp-releases</id>
165 <name>ECOMP Release Repository</name>
166 <url>${nexusproxy}${release.path}</url>
169 <id>ecomp-staging</id>
170 <name>ECOMP Staging Repository</name>
171 <url>${nexusproxy}${staging.path}</url>
174 <id>ecomp-snapshots</id>
175 <name>ECOMP Snapshot Repository</name>
176 <url>${nexusproxy}${snapshot.path}</url>