blob: 910f57d8bcd6d4b623bad5771632a47d7e6dc4dc [file] [log] [blame]
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -05001<?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>
Jimmy Forsyth1bdeba32019-12-12 10:46:50 -050027 <groupId>org.onap.aai.aai-common</groupId>
28 <artifactId>aai-parent</artifactId>
Harish Venkata Kajur46f94152020-08-20 10:51:44 -040029 <version>1.7.0</version>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050030 </parent>
31 <groupId>org.onap.aai.schema-service</groupId>
32 <artifactId>schema-service</artifactId>
Harish Venkata Kajurfbf222c2020-09-09 11:09:45 -040033 <version>1.7.9-SNAPSHOT</version>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050034 <name>aai-schema-service</name>
35 <packaging>pom</packaging>
36 <modules>
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -050037 <module>aai-annotations</module>
38 <module>aai-schema-gen</module>
39 <module>aai-schema</module>
Kajur, Harish (vk250x)47fe5842019-01-22 17:11:02 -050040 <module>aai-queries</module>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050041 <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 -->
Harish Venkata Kajur46f94152020-08-20 10:51:44 -040048 <aai.common.version>1.7.0</aai.common.version>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050049 <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>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050056 </properties>
57 <build>
58 <pluginManagement>
59 <plugins>
Keong Lim2762c112019-02-28 15:35:40 +110060 <!--
61 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
62 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
63 Use in combination to rewrite code and imports, then checkstyle
Igor Dysko37a8cab2020-06-27 23:42:28 +020064
Keong Lim2762c112019-02-28 15:35:40 +110065 mvn formatter:format spotless:apply process-sources
66 -->
67 <plugin>
68 <groupId>net.revelc.code.formatter</groupId>
69 <artifactId>formatter-maven-plugin</artifactId>
70 <version>2.8.1</version>
71 <configuration>
72 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
73 </configuration>
74 <!-- https://code.revelc.net/formatter-maven-plugin/
75 use mvn formatter:format to rewrite source files
76 use mvn formatter:validate to validate source files -->
77 </plugin>
78 <plugin>
79 <groupId>com.diffplug.spotless</groupId>
80 <artifactId>spotless-maven-plugin</artifactId>
81 <version>1.18.0</version>
82 <configuration>
83 <java>
84 <importOrder>
85 <order>com,java,javax,org</order>
86 </importOrder>
87 </java>
88 </configuration>
89 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
90 use mvn spotless:apply to rewrite source files
91 use mvn spotless:check to validate source files -->
92 </plugin>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050093 <plugin>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050094 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-deploy-plugin</artifactId>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -050096 </plugin>
97 <plugin>
98 <groupId>com.mycila</groupId>
99 <artifactId>license-maven-plugin</artifactId>
100 <version>3.0</version>
101 <configuration>
102 <header>LICENSE.TXT</header>
103 <includes>
104 <include>src/main/java/**</include>
105 <include>src/test/java/**</include>
106 <include>pom.xml</include>
107 </includes>
Kajur, Harish (vk250x)009a5742019-04-14 21:32:42 -0400108 <skipExistingHeaders>true</skipExistingHeaders>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -0500109 <skip>false</skip>
110 <validHeaders>
111 <header>LICENSE_ALT1.txt</header>
112 </validHeaders>
113 </configuration>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -0500114 </plugin>
Kajur, Harish (vk250x)37ce9712019-02-19 15:26:04 -0500115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-source-plugin</artifactId>
118 <version>3.0.1</version>
119 <executions>
120 <execution>
121 <id>attach-sources</id>
Kajur, Harish (vk250x)8762d342019-02-20 23:00:33 -0500122 <phase>verify</phase>
Kajur, Harish (vk250x)37ce9712019-02-19 15:26:04 -0500123 <goals>
124 <goal>jar-no-fork</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
Kajur, Harish (vk250x)d64d7892018-11-26 00:07:25 -0500129 </plugins>
130 </pluginManagement>
131 <plugins>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-site-plugin</artifactId>
135 <version>3.6</version>
136 <configuration>
137 <reportPlugins>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-project-info-reports-plugin</artifactId>
141 <version>2.4</version>
142 <configuration>
143 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
144 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
145 </configuration>
146 <reports>
147 <report>dependencies</report>
148 </reports>
149 </plugin>
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-javadoc-plugin</artifactId>
153 <version>2.8</version>
154 <configuration>
155 <additionalparam>-Xdoclint:none</additionalparam>
156 </configuration>
157 </plugin>
158 </reportPlugins>
159 </configuration>
160 <dependencies>
161 <dependency>
162 <groupId>org.apache.maven.wagon</groupId>
163 <artifactId>wagon-webdav-jackrabbit</artifactId>
164 <version>2.10</version>
165 </dependency>
166 </dependencies>
167 </plugin>
168 </plugins>
169 </build>
170 <reporting>
171 <plugins>
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-javadoc-plugin</artifactId>
175 <version>2.10.4</version>
176 <configuration>
177 <failOnError>false</failOnError>
178 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
179 <docletArtifact>
180 <groupId>org.umlgraph</groupId>
181 <artifactId>umlgraph</artifactId>
182 <version>5.6</version>
183 </docletArtifact>
184 <additionalparam>-views</additionalparam>
185 <useStandardDocletOptions>true</useStandardDocletOptions>
186 </configuration>
187 </plugin>
188 </plugins>
189 </reporting>
190 <pluginRepositories>
191 <pluginRepository>
192 <id>central</id>
193 <url>http://repo1.maven.org/maven2</url>
194 </pluginRepository>
195 <pluginRepository>
196 <id>EvoSuite</id>
197 <name>EvoSuite Repository</name>
198 <url>http://www.evosuite.org/m2</url>
199 </pluginRepository>
200 </pluginRepositories>
201 <distributionManagement>
202 <repository>
203 <id>ecomp-releases</id>
204 <name>ECOMP Release Repository</name>
205 <url>${nexusproxy}${release.path}</url>
206 </repository>
207 <snapshotRepository>
208 <id>ecomp-snapshots</id>
209 <name>ECOMP Snapshot Repository</name>
210 <url>${nexusproxy}${snapshot.path}</url>
211 </snapshotRepository>
212 <site>
213 <id>ecomp-site</id>
214 <url>dav:${nexusproxy}${site.path}</url>
215 </site>
216 </distributionManagement>
217</project>