1 <?xml version="1.0" encoding="UTF-8"?>
4 ============LICENSE_START=======================================================
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
13 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
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>
27 <groupId>org.onap.aai.aai-common</groupId>
28 <artifactId>aai-parent</artifactId>
29 <version>1.7.0</version>
31 <groupId>org.onap.aai.schema-service</groupId>
32 <artifactId>schema-service</artifactId>
33 <version>1.8.5-SNAPSHOT</version>
34 <name>aai-schema-service</name>
35 <packaging>pom</packaging>
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>
45 Nexus Proxy Properties and Snapshot Locations
46 Ideally this can be overwritten at runtime per internal environment specific values at runtime
48 <aai.common.version>1.7.0</aai.common.version>
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
50 <site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path>
51 <release.path>/content/repositories/releases/</release.path>
52 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
53 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
54 <aai.project.version>${project.version}</aai.project.version>
55 <checkstyle.skip>false</checkstyle.skip>
58 <maven-site-plugin.version>3.9.1</maven-site-plugin.version>
59 <wagon-webdav-jackrabbit.version>3.4.2</wagon-webdav-jackrabbit.version>
60 <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
61 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
62 <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
63 <maven-compiler-plugin.source>8</maven-compiler-plugin.source>
64 <maven-compiler-plugin.target>8</maven-compiler-plugin.target>
65 <maven-compiler-plugin.test.source>8</maven-compiler-plugin.test.source>
66 <maven-compiler-plugin.test.target>8</maven-compiler-plugin.test.target>
67 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
68 <slf4j.version>1.7.26</slf4j.version>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-site-plugin</artifactId>
76 <version>${maven-site-plugin.version}</version>
79 <groupId>org.apache.maven.wagon</groupId>
80 <artifactId>wagon-webdav-jackrabbit</artifactId>
81 <version>${wagon-webdav-jackrabbit.version}</version>
86 <groupId>org.jacoco</groupId>
87 <artifactId>jacoco-maven-plugin</artifactId>
88 <version>${jacoco-maven-plugin.version}</version>
92 <id>prepare-agent</id>
94 <goal>prepare-agent</goal>
97 <destFile>${sonar.jacoco.reportPath}</destFile>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-surefire-plugin</artifactId>
105 <version>${maven-surefire-plugin.version}</version>
107 <argLine>${argLine} -Xmx2048m --illegal-access=permit</argLine>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-failsafe-plugin</artifactId>
113 <version>2.22.0</version>
116 --illegal-access=permit
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-compiler-plugin</artifactId>
123 <version>${maven-compiler-plugin.version}</version>
124 <inherited>true</inherited>
126 <source>${maven-compiler-plugin.source}</source>
127 <target>${maven-compiler-plugin.target}</target>
128 <testSource>${maven-compiler-plugin.test.source}</testSource>
129 <testTarget>${maven-compiler-plugin.test.target}</testTarget>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-javadoc-plugin</artifactId>
135 <version>${maven-javadoc-plugin.version}</version>
139 <groupId>org.sonarsource.scanner.maven</groupId>
140 <artifactId>sonar-maven-plugin</artifactId>
141 <version>${sonar-maven-plugin.version}</version>
146 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
147 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
148 Use in combination to rewrite code and imports, then checkstyle
150 mvn formatter:format spotless:apply process-sources
153 <groupId>net.revelc.code.formatter</groupId>
154 <artifactId>formatter-maven-plugin</artifactId>
155 <version>2.8.1</version>
157 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
159 <!-- https://code.revelc.net/formatter-maven-plugin/
160 use mvn formatter:format to rewrite source files
161 use mvn formatter:validate to validate source files -->
164 <groupId>com.diffplug.spotless</groupId>
165 <artifactId>spotless-maven-plugin</artifactId>
166 <version>1.18.0</version>
170 <order>com,java,javax,org</order>
174 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
175 use mvn spotless:apply to rewrite source files
176 use mvn spotless:check to validate source files -->
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-deploy-plugin</artifactId>
183 <groupId>com.mycila</groupId>
184 <artifactId>license-maven-plugin</artifactId>
185 <version>3.0</version>
187 <header>LICENSE.TXT</header>
189 <include>src/main/java/**</include>
190 <include>src/test/java/**</include>
191 <include>pom.xml</include>
193 <skipExistingHeaders>true</skipExistingHeaders>
196 <header>LICENSE_ALT1.txt</header>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-source-plugin</artifactId>
203 <version>3.0.1</version>
206 <id>attach-sources</id>
207 <phase>verify</phase>
209 <goal>jar-no-fork</goal>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-site-plugin</artifactId>
220 <version>3.6</version>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-project-info-reports-plugin</artifactId>
226 <version>2.4</version>
228 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
229 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
232 <report>dependencies</report>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-javadoc-plugin</artifactId>
238 <version>2.8</version>
240 <additionalparam>-Xdoclint:none</additionalparam>
247 <groupId>org.apache.maven.wagon</groupId>
248 <artifactId>wagon-webdav-jackrabbit</artifactId>
249 <version>2.10</version>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-javadoc-plugin</artifactId>
260 <version>2.10.4</version>
262 <failOnError>false</failOnError>
263 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
265 <groupId>org.umlgraph</groupId>
266 <artifactId>umlgraph</artifactId>
267 <version>5.6</version>
269 <additionalparam>-views</additionalparam>
270 <useStandardDocletOptions>true</useStandardDocletOptions>
278 <url>http://repo1.maven.org/maven2</url>
282 <name>EvoSuite Repository</name>
283 <url>http://www.evosuite.org/m2</url>
285 </pluginRepositories>
286 <distributionManagement>
288 <id>ecomp-releases</id>
289 <name>ECOMP Release Repository</name>
290 <url>${nexusproxy}${release.path}</url>
293 <id>ecomp-snapshots</id>
294 <name>ECOMP Snapshot Repository</name>
295 <url>${nexusproxy}${snapshot.path}</url>
296 </snapshotRepository>
299 <url>dav:${nexusproxy}${site.path}</url>
301 </distributionManagement>