1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
8 <version>1.1.0</version>
10 <groupId>org.onap.aai.traversal</groupId>
11 <artifactId>traversal</artifactId>
12 <version>1.4.0-SNAPSHOT</version>
13 <name>aai-traversal</name>
14 <packaging>pom</packaging>
16 <module>aai-traversal</module>
20 Nexus Proxy Properties and Snapshot Locations
21 Ideally this can be overwritten at runtime per internal environment specific values at runtime
23 <nexusproxy>https://nexus.onap.org</nexusproxy>
24 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
25 <release.path>/content/repositories/releases/</release.path>
26 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
27 <staging.path>/content/repositories/staging/</staging.path>
28 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
29 <aai.project.version>${project.version}</aai.project.version>
35 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
36 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
37 Use in combination to rewrite code and imports, then checkstyle
39 mvn formatter:format spotless:apply process-sources
42 <groupId>net.revelc.code.formatter</groupId>
43 <artifactId>formatter-maven-plugin</artifactId>
44 <version>2.8.1</version>
46 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
48 <!-- https://code.revelc.net/formatter-maven-plugin/
49 use mvn formatter:format to rewrite source files
50 use mvn formatter:validate to validate source files -->
53 <groupId>com.diffplug.spotless</groupId>
54 <artifactId>spotless-maven-plugin</artifactId>
55 <version>1.18.0</version>
59 <order>com,java,javax,org</order>
63 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
64 use mvn spotless:apply to rewrite source files
65 use mvn spotless:check to validate source files -->
68 <groupId>org.codehaus.mojo</groupId>
69 <artifactId>sonar-maven-plugin</artifactId>
70 <version>3.2</version>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-deploy-plugin</artifactId>
77 <id>default-deploy</id>
83 <groupId>org.sonatype.plugins</groupId>
84 <artifactId>nexus-staging-maven-plugin</artifactId>
85 <version>1.6.7</version>
86 <extensions>true</extensions>
88 <nexusUrl>${nexusproxy}</nexusUrl>
89 <stagingProfileId>176c31dfe190a</stagingProfileId>
90 <serverId>ecomp-staging</serverId>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-site-plugin</artifactId>
99 <version>3.6</version>
102 <groupId>org.apache.maven.wagon</groupId>
103 <artifactId>wagon-webdav-jackrabbit</artifactId>
104 <version>2.10</version>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-javadoc-plugin</artifactId>
115 <version>2.10.4</version>
117 <failOnError>false</failOnError>
118 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
120 <groupId>org.umlgraph</groupId>
121 <artifactId>umlgraph</artifactId>
122 <version>5.6</version>
124 <additionalparam>-views</additionalparam>
125 <useStandardDocletOptions>true</useStandardDocletOptions>
133 <url>http://repo1.maven.org/maven2</url>
137 <name>EvoSuite Repository</name>
138 <url>http://www.evosuite.org/m2</url>
140 </pluginRepositories>
141 <distributionManagement>
143 <id>ecomp-releases</id>
144 <name>ECOMP Release Repository</name>
145 <url>${nexusproxy}${release.path}</url>
148 <id>ecomp-snapshots</id>
149 <name>ECOMP Snapshot Repository</name>
150 <url>${nexusproxy}${snapshot.path}</url>
151 </snapshotRepository>
154 <url>dav:${nexusproxy}${site.path}</url>
156 </distributionManagement>
159 <id>ecomp-releases</id>
160 <name>ECOMP Release Repository</name>
161 <url>${nexusproxy}${release.path}</url>
164 <id>ecomp-staging</id>
165 <name>ECOMP Staging Repository</name>
166 <url>${nexusproxy}${staging.path}</url>
169 <id>ecomp-snapshots</id>
170 <name>ECOMP Snapshot Repository</name>
171 <url>${nexusproxy}${snapshot.path}</url>