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 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
28 <aai.project.version>${project.version}</aai.project.version>
34 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
35 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
36 Use in combination to rewrite code and imports, then checkstyle
38 mvn formatter:format spotless:apply process-sources
41 <groupId>net.revelc.code.formatter</groupId>
42 <artifactId>formatter-maven-plugin</artifactId>
43 <version>2.8.1</version>
45 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
47 <!-- https://code.revelc.net/formatter-maven-plugin/
48 use mvn formatter:format to rewrite source files
49 use mvn formatter:validate to validate source files -->
52 <groupId>com.diffplug.spotless</groupId>
53 <artifactId>spotless-maven-plugin</artifactId>
54 <version>1.18.0</version>
58 <order>com,java,javax,org</order>
62 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
63 use mvn spotless:apply to rewrite source files
64 use mvn spotless:check to validate source files -->
67 <groupId>org.codehaus.mojo</groupId>
68 <artifactId>sonar-maven-plugin</artifactId>
69 <version>3.2</version>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-deploy-plugin</artifactId>
76 <id>default-deploy</id>
82 <groupId>org.sonatype.plugins</groupId>
83 <artifactId>nexus-staging-maven-plugin</artifactId>
84 <version>1.6.7</version>
85 <extensions>true</extensions>
87 <nexusUrl>${nexusproxy}</nexusUrl>
88 <stagingProfileId>176c31dfe190a</stagingProfileId>
89 <serverId>ecomp-staging</serverId>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-site-plugin</artifactId>
98 <version>3.6</version>
101 <groupId>org.apache.maven.wagon</groupId>
102 <artifactId>wagon-webdav-jackrabbit</artifactId>
103 <version>2.10</version>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-javadoc-plugin</artifactId>
114 <version>2.10.4</version>
116 <failOnError>false</failOnError>
117 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
119 <groupId>org.umlgraph</groupId>
120 <artifactId>umlgraph</artifactId>
121 <version>5.6</version>
123 <additionalparam>-views</additionalparam>
124 <useStandardDocletOptions>true</useStandardDocletOptions>
132 <url>http://repo1.maven.org/maven2</url>
136 <name>EvoSuite Repository</name>
137 <url>http://www.evosuite.org/m2</url>
139 </pluginRepositories>
140 <distributionManagement>
142 <id>ecomp-releases</id>
143 <name>ECOMP Release Repository</name>
144 <url>${nexusproxy}${release.path}</url>
147 <id>ecomp-snapshots</id>
148 <name>ECOMP Snapshot Repository</name>
149 <url>${nexusproxy}${snapshot.path}</url>
150 </snapshotRepository>
153 <url>dav:${nexusproxy}${site.path}</url>
155 </distributionManagement>