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