Remove -SNAPSHOT dependencies
[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.0-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         <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
28         <aai.project.version>${project.version}</aai.project.version>
29     </properties>
30     <build>
31         <pluginManagement>
32             <plugins>
33                 <!--
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
37                 
38                 mvn formatter:format spotless:apply process-sources
39                 -->
40                 <plugin>
41                      <groupId>net.revelc.code.formatter</groupId>
42                      <artifactId>formatter-maven-plugin</artifactId>
43                      <version>2.8.1</version>
44                      <configuration>
45                         <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
46                      </configuration>
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 -->
50                  </plugin>
51                 <plugin>
52                   <groupId>com.diffplug.spotless</groupId>
53                   <artifactId>spotless-maven-plugin</artifactId>
54                   <version>1.18.0</version>
55                   <configuration>
56                     <java>
57                      <importOrder>
58                        <order>com,java,javax,org</order>
59                      </importOrder>
60                     </java>
61                   </configuration>
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 -->
65                 </plugin>
66                 <plugin>
67                     <groupId>org.codehaus.mojo</groupId>
68                     <artifactId>sonar-maven-plugin</artifactId>
69                     <version>3.2</version>
70                 </plugin>
71                 <plugin>
72                     <groupId>org.apache.maven.plugins</groupId>
73                     <artifactId>maven-deploy-plugin</artifactId>
74                     <executions>
75                         <execution>
76                             <id>default-deploy</id>
77                             <phase>none</phase>
78                         </execution>
79                     </executions>
80                 </plugin>
81                 <plugin>
82                     <groupId>org.sonatype.plugins</groupId>
83                     <artifactId>nexus-staging-maven-plugin</artifactId>
84                     <version>1.6.7</version>
85                     <extensions>true</extensions>
86                     <configuration>
87                         <nexusUrl>${nexusproxy}</nexusUrl>
88                         <stagingProfileId>176c31dfe190a</stagingProfileId>
89                         <serverId>ecomp-staging</serverId>
90                     </configuration>
91                 </plugin>
92             </plugins>
93         </pluginManagement>
94         <plugins>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-site-plugin</artifactId>
98                 <version>3.6</version>
99                 <dependencies>
100                     <dependency>
101                         <groupId>org.apache.maven.wagon</groupId>
102                         <artifactId>wagon-webdav-jackrabbit</artifactId>
103                         <version>2.10</version>
104                     </dependency>
105                 </dependencies>
106             </plugin>
107         </plugins>
108     </build>
109     <reporting>
110         <plugins>
111             <plugin>
112                 <groupId>org.apache.maven.plugins</groupId>
113                 <artifactId>maven-javadoc-plugin</artifactId>
114                 <version>2.10.4</version>
115                 <configuration>
116                     <failOnError>false</failOnError>
117                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
118                     <docletArtifact>
119                         <groupId>org.umlgraph</groupId>
120                         <artifactId>umlgraph</artifactId>
121                         <version>5.6</version>
122                     </docletArtifact>
123                     <additionalparam>-views</additionalparam>
124                     <useStandardDocletOptions>true</useStandardDocletOptions>
125                 </configuration>
126             </plugin>
127         </plugins>
128     </reporting>
129     <pluginRepositories>
130         <pluginRepository>
131             <id>central</id>
132             <url>http://repo1.maven.org/maven2</url>
133         </pluginRepository>
134         <pluginRepository>
135             <id>EvoSuite</id>
136             <name>EvoSuite Repository</name>
137             <url>http://www.evosuite.org/m2</url>
138         </pluginRepository>
139     </pluginRepositories>
140     <distributionManagement>
141         <repository>
142             <id>ecomp-releases</id>
143             <name>ECOMP Release Repository</name>
144             <url>${nexusproxy}${release.path}</url>
145         </repository>
146         <snapshotRepository>
147             <id>ecomp-snapshots</id>
148             <name>ECOMP Snapshot Repository</name>
149             <url>${nexusproxy}${snapshot.path}</url>
150         </snapshotRepository>
151         <site>
152             <id>ecomp-site</id>
153             <url>dav:${nexusproxy}${site.path}</url>
154         </site>
155     </distributionManagement>
156 </project>