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