Upversion for Dublin release
[aai/schema-service.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4     ============LICENSE_START=======================================================
5     org.onap.aai
6     ================================================================================
7     Copyright © 2017-2018 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
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
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=========================================================
21
22 -->
23 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>
26     <parent>
27         <groupId>org.onap.oparent</groupId>
28         <artifactId>oparent</artifactId>
29         <version>1.1.0</version>
30     </parent>
31     <groupId>org.onap.aai.schema-service</groupId>
32     <artifactId>schema-service</artifactId>
33     <version>1.0.7-SNAPSHOT</version>
34     <name>aai-schema-service</name>
35     <packaging>pom</packaging>
36     <modules>
37         <module>aai-annotations</module>
38         <module>aai-schema-gen</module>
39         <module>aai-schema</module>
40         <module>aai-queries</module>
41         <module>aai-schema-service</module>
42     </modules>
43     <properties>
44         <!--
45             Nexus Proxy Properties and Snapshot Locations
46             Ideally this can be overwritten at runtime per internal environment specific values at runtime
47         -->
48         <nexusproxy>https://nexus.onap.org</nexusproxy>
49         <site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path>
50         <release.path>/content/repositories/releases/</release.path>
51         <snapshot.path>/content/repositories/snapshots/</snapshot.path>
52         <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
53         <aai.project.version>${project.version}</aai.project.version>
54         <checkstyle.skip>false</checkstyle.skip>
55     </properties>
56     <build>
57         <pluginManagement>
58             <plugins>
59                 <!--
60                 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
61                 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
62                 Use in combination to rewrite code and imports, then checkstyle
63                 
64                 mvn formatter:format spotless:apply process-sources
65                 -->
66                 <plugin>
67                      <groupId>net.revelc.code.formatter</groupId>
68                      <artifactId>formatter-maven-plugin</artifactId>
69                      <version>2.8.1</version>
70                      <configuration>
71                         <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
72                      </configuration>
73                      <!-- https://code.revelc.net/formatter-maven-plugin/
74                           use mvn formatter:format to rewrite source files
75                           use mvn formatter:validate to validate source files -->
76                  </plugin>
77                 <plugin>
78                   <groupId>com.diffplug.spotless</groupId>
79                   <artifactId>spotless-maven-plugin</artifactId>
80                   <version>1.18.0</version>
81                   <configuration>
82                     <java>
83                      <importOrder>
84                        <order>com,java,javax,org</order>
85                      </importOrder>
86                     </java>
87                   </configuration>
88                 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
89                      use mvn spotless:apply to rewrite source files
90                      use mvn spotless:check to validate source files -->
91                 </plugin>
92                 <plugin>
93                     <groupId>org.codehaus.mojo</groupId>
94                     <artifactId>sonar-maven-plugin</artifactId>
95                     <version>3.3</version>
96                 </plugin>
97                 <plugin>
98                     <groupId>org.apache.maven.plugins</groupId>
99                     <artifactId>maven-deploy-plugin</artifactId>
100                     <executions>
101                         <execution>
102                             <id>default-deploy</id>
103                             <phase>none</phase>
104                         </execution>
105                     </executions>
106                 </plugin>
107                 <plugin>
108                     <groupId>org.sonatype.plugins</groupId>
109                     <artifactId>nexus-staging-maven-plugin</artifactId>
110                     <version>1.6.7</version>
111                     <extensions>true</extensions>
112                     <configuration>
113                         <nexusUrl>${nexusproxy}</nexusUrl>
114                         <stagingProfileId>176c31dfe190a</stagingProfileId>
115                         <serverId>ecomp-staging</serverId>
116                     </configuration>
117                 </plugin>
118                 <plugin>
119                     <groupId>com.mycila</groupId>
120                     <artifactId>license-maven-plugin</artifactId>
121                     <version>3.0</version>
122                     <configuration>
123                         <header>LICENSE.TXT</header>
124                         <includes>
125                             <include>src/main/java/**</include>
126                             <include>src/test/java/**</include>
127                             <include>pom.xml</include>
128                         </includes>
129                         <skipExistingHeaders>true</skipExistingHeaders>
130                         <skip>false</skip>
131                         <validHeaders>
132                             <header>LICENSE_ALT1.txt</header>
133                         </validHeaders>
134                     </configuration>
135                 </plugin>
136                 <plugin>
137                     <groupId>org.apache.maven.plugins</groupId>
138                     <artifactId>maven-source-plugin</artifactId>
139                     <version>3.0.1</version>
140                     <executions>
141                         <execution>
142                             <id>attach-sources</id>
143                             <phase>verify</phase>
144                             <goals>
145                                 <goal>jar-no-fork</goal>
146                             </goals>
147                         </execution>
148                     </executions>
149                 </plugin>
150             </plugins>
151         </pluginManagement>
152         <plugins>
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-site-plugin</artifactId>
156                 <version>3.6</version>
157                 <configuration>
158                     <reportPlugins>
159                         <plugin>
160                             <groupId>org.apache.maven.plugins</groupId>
161                             <artifactId>maven-project-info-reports-plugin</artifactId>
162                             <version>2.4</version>
163                             <configuration>
164                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
165                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
166                             </configuration>
167                             <reports>
168                                 <report>dependencies</report>
169                             </reports>
170                         </plugin>
171                         <plugin>
172                             <groupId>org.apache.maven.plugins</groupId>
173                             <artifactId>maven-javadoc-plugin</artifactId>
174                             <version>2.8</version>
175                             <configuration>
176                                 <additionalparam>-Xdoclint:none</additionalparam>
177                             </configuration>
178                         </plugin>
179                     </reportPlugins>
180                 </configuration>
181                 <dependencies>
182                     <dependency>
183                         <groupId>org.apache.maven.wagon</groupId>
184                         <artifactId>wagon-webdav-jackrabbit</artifactId>
185                         <version>2.10</version>
186                     </dependency>
187                 </dependencies>
188             </plugin>
189         </plugins>
190     </build>
191     <reporting>
192         <plugins>
193             <plugin>
194                 <groupId>org.apache.maven.plugins</groupId>
195                 <artifactId>maven-javadoc-plugin</artifactId>
196                 <version>2.10.4</version>
197                 <configuration>
198                     <failOnError>false</failOnError>
199                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
200                     <docletArtifact>
201                         <groupId>org.umlgraph</groupId>
202                         <artifactId>umlgraph</artifactId>
203                         <version>5.6</version>
204                     </docletArtifact>
205                     <additionalparam>-views</additionalparam>
206                     <useStandardDocletOptions>true</useStandardDocletOptions>
207                 </configuration>
208             </plugin>
209         </plugins>
210     </reporting>
211     <pluginRepositories>
212         <pluginRepository>
213             <id>central</id>
214             <url>http://repo1.maven.org/maven2</url>
215         </pluginRepository>
216         <pluginRepository>
217             <id>EvoSuite</id>
218             <name>EvoSuite Repository</name>
219             <url>http://www.evosuite.org/m2</url>
220         </pluginRepository>
221     </pluginRepositories>
222     <distributionManagement>
223         <repository>
224             <id>ecomp-releases</id>
225             <name>ECOMP Release Repository</name>
226             <url>${nexusproxy}${release.path}</url>
227         </repository>
228         <snapshotRepository>
229             <id>ecomp-snapshots</id>
230             <name>ECOMP Snapshot Repository</name>
231             <url>${nexusproxy}${snapshot.path}</url>
232         </snapshotRepository>
233         <site>
234             <id>ecomp-site</id>
235             <url>dav:${nexusproxy}${site.path}</url>
236         </site>
237     </distributionManagement>
238 </project>