Remove the aai-schema from aai-common
[aai/aai-common.git] / pom.xml
1 <!--
2
3     ============LICENSE_START=======================================================
4     org.onap.aai
5     ================================================================================
6     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7     ================================================================================
8     Licensed under the Apache License, Version 2.0 (the "License");
9     you may not use this file except in compliance with the License.
10     You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14     Unless required by applicable law or agreed to in writing, software
15     distributed under the License is distributed on an "AS IS" BASIS,
16     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17     See the License for the specific language governing permissions and
18     limitations under the License.
19     ============LICENSE_END=========================================================
20
21 -->
22 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.oparent</groupId>
27         <artifactId>oparent</artifactId>
28         <version>1.1.0</version>
29     </parent>
30
31     <groupId>org.onap.aai.aai-common</groupId>
32     <artifactId>aai-common</artifactId>
33     <version>1.4.1-SNAPSHOT</version>
34     <packaging>pom</packaging>
35     <name>aai-aai-common</name>
36     <description>Contains all of the common code for resources and traversal repos</description>
37
38     <modules>
39         <module>aai-rest</module>
40         <module>aai-schema-ingest</module>
41         <module>aai-annotations</module>
42         <module>aai-core</module>
43         <module>aai-auth</module>
44         <module>aai-utils</module>
45     </modules>
46
47     <properties>
48         <aai.generate.schema>true</aai.generate.schema>
49         <sitePath>/content/sites/site/org/onap/aai/aai-common/${project.artifactId}/${project.version}</sitePath>
50         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
51         <onap.nexus.snapshot.path>/content/repositories/snapshots/</onap.nexus.snapshot.path>
52         <onap.nexus.snapshot.id>ecomp-snapshots</onap.nexus.snapshot.id>
53         <onap.nexus.release.path>/content/repositories/releases/</onap.nexus.release.path>
54         <onap.nexus.release.id>ecomp-releases</onap.nexus.release.id>
55     </properties>
56
57     <build>
58         <pluginManagement>
59             <plugins>
60                 <plugin>
61                     <groupId>org.apache.maven.plugins</groupId>
62                     <artifactId>maven-compiler-plugin</artifactId>
63                     <configuration>
64                         <source>1.8</source>
65                         <target>1.8</target>
66                     </configuration>
67                 </plugin>
68                 <plugin>
69                     <groupId>org.apache.maven.plugins</groupId>
70                     <artifactId>maven-source-plugin</artifactId>
71                     <version>3.0.1</version>
72                     <executions>
73                         <execution>
74                             <id>attach-sources</id>
75                             <phase>deploy</phase>
76                             <goals>
77                                 <goal>jar-no-fork</goal>
78                             </goals>
79                         </execution>
80                     </executions>
81                 </plugin>
82                 <plugin>
83                     <groupId>org.apache.maven.plugins</groupId>
84                     <artifactId>maven-deploy-plugin</artifactId>
85                     <version>2.8.2</version>
86                     <executions>
87                         <execution>
88                             <id>default-deploy</id>
89                             <phase>none</phase>
90                         </execution>
91                     </executions>
92                 </plugin>
93                 <plugin>
94                     <groupId>org.sonatype.plugins</groupId>
95                     <artifactId>nexus-staging-maven-plugin</artifactId>
96                     <version>1.6.7</version>
97                     <extensions>true</extensions>
98                     <configuration>
99                         <nexusUrl>${onap.nexus.url}</nexusUrl>
100                         <stagingProfileId>176c31dfe190a</stagingProfileId>
101                         <serverId>ecomp-staging</serverId>
102                     </configuration>
103                 </plugin>
104                 <plugin>
105                     <groupId>com.mycila</groupId>
106                     <artifactId>license-maven-plugin</artifactId>
107                     <version>3.0</version>
108                     <configuration>
109                         <header>LICENSE.TXT</header>
110                         <includes>
111                             <include>src/main/java/**</include>
112                             <include>src/test/java/**</include>
113                             <include>pom.xml</include>
114                         </includes>
115                         <skipExistingHeaders>true</skipExistingHeaders>
116                         <skip>false</skip>
117                     </configuration>
118                     <executions>
119                         <execution>
120                             <goals>
121                                 <!-- Set goal to "format" to auto update license headers -->
122                                 <goal>check</goal>
123                             </goals>
124                             <phase>process-sources</phase>
125                         </execution>
126                     </executions>
127                 </plugin>
128             </plugins>
129         </pluginManagement>
130         <plugins>
131             <plugin>
132                 <groupId>org.apache.maven.plugins</groupId>
133                 <artifactId>maven-site-plugin</artifactId>
134                 <version>3.6</version>
135                 <configuration>
136                     <reportPlugins>
137                         <plugin>
138                             <groupId>org.apache.maven.plugins</groupId>
139                             <artifactId>maven-project-info-reports-plugin</artifactId>
140                             <version>2.4</version>
141                             <configuration>
142                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
143                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
144                             </configuration>
145                             <reports>
146                                 <report>dependencies</report>
147                             </reports>
148                         </plugin>
149                         <plugin>
150                             <groupId>org.apache.maven.plugins</groupId>
151                             <artifactId>maven-javadoc-plugin</artifactId>
152                             <version>2.8</version>
153                             <configuration>
154                                 <additionalparam>-Xdoclint:none</additionalparam>
155                             </configuration>
156                         </plugin>
157                     </reportPlugins>
158                 </configuration>
159                 <dependencies>
160                     <dependency>
161                         <groupId>org.apache.maven.wagon</groupId>
162                         <artifactId>wagon-webdav-jackrabbit</artifactId>
163                         <version>2.10</version>
164                     </dependency>
165                 </dependencies>
166             </plugin>
167             <plugin>
168                 <groupId>com.mycila</groupId>
169                 <artifactId>license-maven-plugin</artifactId>
170             </plugin>
171         </plugins>
172     </build>
173
174     <distributionManagement>
175         <repository>
176             <id>${onap.nexus.release.id}</id>
177             <name>ECOMP Release Repository</name>
178             <url>${onap.nexus.url}${onap.nexus.release.path}</url>
179         </repository>
180         <snapshotRepository>
181             <id>${onap.nexus.snapshot.id}</id>
182             <name>ECOMP Snapshot Repository</name>
183             <url>${onap.nexus.url}${onap.nexus.snapshot.path}</url>
184         </snapshotRepository>
185         <site>
186             <id>ecomp-site</id>
187             <url>dav:${onap.nexus.url}${sitePath}</url>
188         </site>
189     </distributionManagement>
190     <reporting>
191         <plugins>
192             <plugin>
193                 <groupId>org.apache.maven.plugins</groupId>
194                 <artifactId>maven-javadoc-plugin</artifactId>
195                 <version>2.10.4</version>
196                 <configuration>
197                     <failOnError>false</failOnError>
198                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
199                     <docletArtifact>
200                         <groupId>org.umlgraph</groupId>
201                         <artifactId>umlgraph</artifactId>
202                         <version>5.6</version>
203                     </docletArtifact>
204                     <additionalparam>-views -Xdoclint:none</additionalparam>
205                     <excludePackageNames>org.onap.aai.domain.yang.*:org.onap.aai.util.*</excludePackageNames>
206                     <useStandardDocletOptions>true</useStandardDocletOptions>
207                 </configuration>
208             </plugin>
209         </plugins>
210     </reporting>
211
212     <!-- Start of ONAP Specific Repositories -->
213     <repositories>
214         <repository>
215             <id>AJSC</id>
216             <name>AJSC repository</name>
217             <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
218         </repository>
219         <repository>
220             <id>restlet</id>
221             <name>maven reslet</name>
222             <url>https://maven.restlet.com/</url>
223         </repository>
224
225         <repository>
226             <id>central</id>
227             <name>Maven 2 repository 2</name>
228             <url>http://repo2.maven.org/maven2/</url>
229         </repository>
230         <repository>
231             <id>ecomp-releases</id>
232             <name>ECOMP Release Repository</name>
233             <url>${onap.nexus.url}/content/repositories/releases/</url>
234         </repository>
235         <repository>
236             <id>ecomp-staging</id>
237             <name>ECOMP Staging Repository</name>
238             <url>${onap.nexus.url}/content/repositories/staging/</url>
239         </repository>
240         <repository>
241             <id>ecomp-snapshots</id>
242             <name>ECOMP Snapshot Repository</name>
243             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
244         </repository>
245     </repositories>
246     <!-- End of ONAP Specific Repositories -->
247 </project>