Upversion for Dublin release
[aai/traversal.git] / pom.xml
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>
5     <parent>
6         <groupId>org.onap.oparent</groupId>
7         <artifactId>oparent</artifactId>
8         <version>1.1.0</version>
9     </parent>
10     <groupId>org.onap.aai.traversal</groupId>
11     <artifactId>traversal</artifactId>
12     <version>1.4.2-SNAPSHOT</version>
13     <name>aai-traversal</name>
14     <packaging>pom</packaging>
15     <modules>
16         <module>aai-traversal</module>
17     </modules>
18     <properties>
19         <!--
20             Nexus Proxy Properties and Snapshot Locations
21             Ideally this can be overwritten at runtime per internal environment specific values at runtime
22         -->
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>
30     </properties>
31     <build>
32         <pluginManagement>
33             <plugins>
34                 <!--
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
38                 
39                 mvn formatter:format spotless:apply process-sources
40                 -->
41                 <plugin>
42                      <groupId>net.revelc.code.formatter</groupId>
43                      <artifactId>formatter-maven-plugin</artifactId>
44                      <version>2.8.1</version>
45                      <configuration>
46                         <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
47                      </configuration>
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 -->
51                  </plugin>
52                 <plugin>
53                   <groupId>com.diffplug.spotless</groupId>
54                   <artifactId>spotless-maven-plugin</artifactId>
55                   <version>1.18.0</version>
56                   <configuration>
57                     <java>
58                      <importOrder>
59                        <order>com,java,javax,org</order>
60                      </importOrder>
61                     </java>
62                   </configuration>
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 -->
66                 </plugin>
67                 <plugin>
68                     <groupId>org.codehaus.mojo</groupId>
69                     <artifactId>sonar-maven-plugin</artifactId>
70                     <version>3.2</version>
71                 </plugin>
72                 <plugin>
73                     <groupId>org.apache.maven.plugins</groupId>
74                     <artifactId>maven-deploy-plugin</artifactId>
75                     <executions>
76                         <execution>
77                             <id>default-deploy</id>
78                             <phase>none</phase>
79                         </execution>
80                     </executions>
81                 </plugin>
82                 <plugin>
83                     <groupId>org.sonatype.plugins</groupId>
84                     <artifactId>nexus-staging-maven-plugin</artifactId>
85                     <version>1.6.7</version>
86                     <extensions>true</extensions>
87                     <configuration>
88                         <nexusUrl>${nexusproxy}</nexusUrl>
89                         <stagingProfileId>176c31dfe190a</stagingProfileId>
90                         <serverId>ecomp-staging</serverId>
91                     </configuration>
92                 </plugin>
93             </plugins>
94         </pluginManagement>
95         <plugins>
96             <plugin>
97                 <groupId>org.apache.maven.plugins</groupId>
98                 <artifactId>maven-site-plugin</artifactId>
99                 <version>3.6</version>
100                 <dependencies>
101                     <dependency>
102                         <groupId>org.apache.maven.wagon</groupId>
103                         <artifactId>wagon-webdav-jackrabbit</artifactId>
104                         <version>2.10</version>
105                     </dependency>
106                 </dependencies>
107             </plugin>
108         </plugins>
109     </build>
110     <reporting>
111         <plugins>
112             <plugin>
113                 <groupId>org.apache.maven.plugins</groupId>
114                 <artifactId>maven-javadoc-plugin</artifactId>
115                 <version>2.10.4</version>
116                 <configuration>
117                     <failOnError>false</failOnError>
118                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
119                     <docletArtifact>
120                         <groupId>org.umlgraph</groupId>
121                         <artifactId>umlgraph</artifactId>
122                         <version>5.6</version>
123                     </docletArtifact>
124                     <additionalparam>-views</additionalparam>
125                     <useStandardDocletOptions>true</useStandardDocletOptions>
126                 </configuration>
127             </plugin>
128         </plugins>
129     </reporting>
130     <pluginRepositories>
131         <pluginRepository>
132             <id>central</id>
133             <url>http://repo1.maven.org/maven2</url>
134         </pluginRepository>
135         <pluginRepository>
136             <id>EvoSuite</id>
137             <name>EvoSuite Repository</name>
138             <url>http://www.evosuite.org/m2</url>
139         </pluginRepository>
140     </pluginRepositories>
141     <distributionManagement>
142         <repository>
143             <id>ecomp-releases</id>
144             <name>ECOMP Release Repository</name>
145             <url>${nexusproxy}${release.path}</url>
146         </repository>
147         <snapshotRepository>
148             <id>ecomp-snapshots</id>
149             <name>ECOMP Snapshot Repository</name>
150             <url>${nexusproxy}${snapshot.path}</url>
151         </snapshotRepository>
152         <site>
153             <id>ecomp-site</id>
154             <url>dav:${nexusproxy}${site.path}</url>
155         </site>
156     </distributionManagement>
157     <repositories>
158         <repository>
159             <id>ecomp-releases</id>
160             <name>ECOMP Release Repository</name>
161             <url>${nexusproxy}${release.path}</url>
162         </repository>
163         <repository>
164             <id>ecomp-staging</id>
165             <name>ECOMP Staging Repository</name>
166             <url>${nexusproxy}${staging.path}</url>
167         </repository>
168         <repository>
169             <id>ecomp-snapshots</id>
170             <name>ECOMP Snapshot Repository</name>
171             <url>${nexusproxy}${snapshot.path}</url>
172         </repository>
173     </repositories>
174 </project>