Add the versions api with the echo api
[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.0-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-schema-service</module>
41     </modules>
42     <properties>
43         <!--
44             Nexus Proxy Properties and Snapshot Locations
45             Ideally this can be overwritten at runtime per internal environment specific values at runtime
46         -->
47         <nexusproxy>https://nexus.onap.org</nexusproxy>
48         <site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path>
49         <release.path>/content/repositories/releases/</release.path>
50         <snapshot.path>/content/repositories/snapshots/</snapshot.path>
51         <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
52         <aai.project.version>${project.version}</aai.project.version>
53         <checkstyle.skip>false</checkstyle.skip>
54         <license.goal.type>check</license.goal.type>
55     </properties>
56     <build>
57         <pluginManagement>
58             <plugins>
59                 <plugin>
60                     <groupId>org.codehaus.mojo</groupId>
61                     <artifactId>sonar-maven-plugin</artifactId>
62                     <version>3.3</version>
63                 </plugin>
64                 <plugin>
65                     <groupId>org.apache.maven.plugins</groupId>
66                     <artifactId>maven-deploy-plugin</artifactId>
67                     <executions>
68                         <execution>
69                             <id>default-deploy</id>
70                             <phase>none</phase>
71                         </execution>
72                     </executions>
73                 </plugin>
74                 <plugin>
75                     <groupId>org.sonatype.plugins</groupId>
76                     <artifactId>nexus-staging-maven-plugin</artifactId>
77                     <version>1.6.7</version>
78                     <extensions>true</extensions>
79                     <configuration>
80                         <nexusUrl>${nexusproxy}</nexusUrl>
81                         <stagingProfileId>176c31dfe190a</stagingProfileId>
82                         <serverId>ecomp-staging</serverId>
83                     </configuration>
84                 </plugin>
85                 <plugin>
86                     <groupId>com.mycila</groupId>
87                     <artifactId>license-maven-plugin</artifactId>
88                     <version>3.0</version>
89                     <configuration>
90                         <header>LICENSE.TXT</header>
91                         <includes>
92                             <include>src/main/java/**</include>
93                             <include>src/test/java/**</include>
94                             <include>pom.xml</include>
95                         </includes>
96                         <skipExistingHeaders>false</skipExistingHeaders>
97                         <skip>false</skip>
98                         <validHeaders>
99                             <header>LICENSE_ALT1.txt</header>
100                         </validHeaders>
101                     </configuration>
102                     <executions>
103                         <execution>
104                             <goals>
105                                 <!-- Set goal to "format" to auto update license headers -->
106                                 <goal>${license.goal.type}</goal>
107                             </goals>
108                             <phase>process-sources</phase>
109                         </execution>
110                     </executions>
111                 </plugin>
112             </plugins>
113         </pluginManagement>
114         <plugins>
115             <plugin>
116                 <groupId>org.apache.maven.plugins</groupId>
117                 <artifactId>maven-site-plugin</artifactId>
118                 <version>3.6</version>
119                 <configuration>
120                     <reportPlugins>
121                         <plugin>
122                             <groupId>org.apache.maven.plugins</groupId>
123                             <artifactId>maven-project-info-reports-plugin</artifactId>
124                             <version>2.4</version>
125                             <configuration>
126                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
127                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
128                             </configuration>
129                             <reports>
130                                 <report>dependencies</report>
131                             </reports>
132                         </plugin>
133                         <plugin>
134                             <groupId>org.apache.maven.plugins</groupId>
135                             <artifactId>maven-javadoc-plugin</artifactId>
136                             <version>2.8</version>
137                             <configuration>
138                                 <additionalparam>-Xdoclint:none</additionalparam>
139                             </configuration>
140                         </plugin>
141                     </reportPlugins>
142                 </configuration>
143                 <dependencies>
144                     <dependency>
145                         <groupId>org.apache.maven.wagon</groupId>
146                         <artifactId>wagon-webdav-jackrabbit</artifactId>
147                         <version>2.10</version>
148                     </dependency>
149                 </dependencies>
150             </plugin>
151         </plugins>
152     </build>
153     <reporting>
154         <plugins>
155             <plugin>
156                 <groupId>org.apache.maven.plugins</groupId>
157                 <artifactId>maven-javadoc-plugin</artifactId>
158                 <version>2.10.4</version>
159                 <configuration>
160                     <failOnError>false</failOnError>
161                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
162                     <docletArtifact>
163                         <groupId>org.umlgraph</groupId>
164                         <artifactId>umlgraph</artifactId>
165                         <version>5.6</version>
166                     </docletArtifact>
167                     <additionalparam>-views</additionalparam>
168                     <useStandardDocletOptions>true</useStandardDocletOptions>
169                 </configuration>
170             </plugin>
171         </plugins>
172     </reporting>
173     <pluginRepositories>
174         <pluginRepository>
175             <id>central</id>
176             <url>http://repo1.maven.org/maven2</url>
177         </pluginRepository>
178         <pluginRepository>
179             <id>EvoSuite</id>
180             <name>EvoSuite Repository</name>
181             <url>http://www.evosuite.org/m2</url>
182         </pluginRepository>
183     </pluginRepositories>
184     <distributionManagement>
185         <repository>
186             <id>ecomp-releases</id>
187             <name>ECOMP Release Repository</name>
188             <url>${nexusproxy}${release.path}</url>
189         </repository>
190         <snapshotRepository>
191             <id>ecomp-snapshots</id>
192             <name>ECOMP Snapshot Repository</name>
193             <url>${nexusproxy}${snapshot.path}</url>
194         </snapshotRepository>
195         <site>
196             <id>ecomp-site</id>
197             <url>dav:${nexusproxy}${site.path}</url>
198         </site>
199     </distributionManagement>
200 </project>