Change the openecomp to onap to push snapshots
[aai/aai-common.git] / aai-schema / pom.xml
1 <?xml version="1.0"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5         <modelVersion>4.0.0</modelVersion>
6   <parent>
7     <groupId>org.onap.aai.aai-common</groupId>
8     <artifactId>aai-common</artifactId>
9     <version>1.1.0-SNAPSHOT</version>
10   </parent>
11         <artifactId>aai-schema</artifactId>
12         <name>aai-schema</name>
13         <properties>
14                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15                 <nexusproxy>https://nexus.onap.org</nexusproxy>
16                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
17                 <maven.compiler.target>1.8</maven.compiler.target>
18                 <maven.compiler.source>1.8</maven.compiler.source>
19         </properties>
20         <dependencies>
21                 <dependency>
22                         <groupId>org.onap.aai.aai-common</groupId>
23                         <artifactId>aai-annotations</artifactId>
24                         <version>${aai.annotations.version}</version>
25                 </dependency>
26         </dependencies>
27         <build>
28                 <plugins>
29                         <plugin>
30                                         <groupId>org.codehaus.mojo</groupId>
31                                         <artifactId>license-maven-plugin</artifactId>
32                                         <version>1.12</version>
33                                         <configuration>
34                                                 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
35                                                 <licenseName>apache_v2</licenseName>
36                                                 <inceptionYear>2017</inceptionYear>
37                                                 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
38                                                 <projectName>org.openecomp.aai</projectName>
39                                                 <canUpdateCopyright>true</canUpdateCopyright>
40                                                 <canUpdateDescription>true</canUpdateDescription>
41                                                 <canUpdateLicense>true</canUpdateLicense>
42                                                 <emptyLineAfterHeader>true</emptyLineAfterHeader>
43                                                 <processStartTag>============LICENSE_START=======================================================</processStartTag>
44                                                 <processEndTag>============LICENSE_END=========================================================</processEndTag>
45                                                 <sectionDelimiter>================================================================================</sectionDelimiter>
46                                                 <includes>
47                                                         <include>**/*.java</include>
48                                                         <include>**/*.ksh</include>
49                                                         <include>**/*.sh</include>
50                                                         <include>**/*.ftl</include>
51                                                         <include>**/*.xsd</include>
52                                                         <include>**/*.xjb</include>
53                                                         <include>**/aai*.xml</include>
54                                                         <include>**/*logback*.xml</include>
55                                                         <include>**/*aaiconfig*.properties</include>
56                                                         <include>**/*titan*.properties</include>
57                                                 </includes>
58                                         </configuration>
59                                         <executions>
60                                                 <execution>
61                                                         <id>first</id>
62                                                         <goals>
63                                                                 <goal>update-file-header</goal>
64                                                         </goals>
65                                                         <phase>process-sources</phase>
66                                                 </execution>
67                                         </executions>
68                                 </plugin>
69                         <plugin>
70                                 <groupId>org.codehaus.mojo</groupId>
71                                 <artifactId>jaxb2-maven-plugin</artifactId>
72                                 <version>2.2</version>
73                                 <executions>
74                                         <execution>
75                                                 <id>xjc</id>
76                                                 <goals>
77                                                         <goal>xjc</goal>
78                                                 </goals>
79                                         </execution>
80                                 </executions>
81                                 <dependencies>
82                                         <dependency>
83                                                 <groupId>org.jvnet.jaxb2_commons</groupId>
84                                                 <artifactId>jaxb2-basics-annotate</artifactId>
85                                                 <version>1.0.2</version>
86                                         </dependency>
87                                         <dependency>
88                                                 <groupId>org.onap.aai.aai-common</groupId>
89                                                 <artifactId>aai-annotations</artifactId>
90                                                 <version>${aai.annotations.version}</version>
91                                         </dependency>
92                                 </dependencies>
93                                 <configuration>
94                                         <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
95                                         <sources>
96                                                 <source>src/main/resources/aai_schema</source>
97                                         </sources>
98                                         <xjcSourceExcludeFilters>
99                                                 <filter
100                                                         implementation="org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter">
101                                                         <patterns>
102                                                                 <pattern>edgetagquery\.xsd</pattern>
103                                                         </patterns>
104                                                 </filter>
105                                         </xjcSourceExcludeFilters>
106                                         <extension>true</extension>
107                                         <arguments>
108                                                 <argument>-Xannotate</argument>
109                                         </arguments>
110                                         <bindingDirectory>src/main/xjb</bindingDirectory>
111                                 </configuration>
112                         </plugin>
113                         <plugin>
114                           <groupId>org.apache.maven.plugins</groupId>
115                           <artifactId>maven-site-plugin</artifactId>
116                           <version>3.6</version>
117                           <dependencies>
118                             <dependency>
119                               <groupId>org.apache.maven.wagon</groupId>
120                               <artifactId>wagon-webdav-jackrabbit</artifactId>
121                               <version>2.10</version>
122                             </dependency>
123                           </dependencies>
124                         </plugin>
125                 </plugins>
126         </build>
127
128         <distributionManagement>
129                 <repository>
130                         <id>ecomp-releases</id>
131                         <name>ECOMP Release Repository</name>
132                         <url>${nexusproxy}/content/repositories/releases/</url>
133                 </repository>
134                 <snapshotRepository>
135                         <id>ecomp-snapshots</id>
136                         <name>ECOMP Snapshot Repository</name>
137                         <url>${nexusproxy}/content/repositories/snapshots/</url>
138                 </snapshotRepository>
139                 <site>
140                         <id>ecomp-site</id>
141                         <url>dav:${nexusproxy}${sitePath}</url>
142                 </site>
143         </distributionManagement>
144         
145         <!-- Plugins and repositories -->
146         <pluginRepositories>
147                 <pluginRepository>
148                         <id>central</id>
149                         <url>http://repo1.maven.org/maven2</url>
150                 </pluginRepository>
151                 <pluginRepository>
152                         <id>EvoSuite</id>
153                         <name>EvoSuite Repository</name>
154                         <url>http://www.evosuite.org/m2</url>
155                 </pluginRepository>
156         </pluginRepositories>
157         
158         <repositories>
159                 <repository>
160                         <id>AJSC</id>
161                         <name>AJSC repository</name>
162                         <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
163                 </repository>
164                 <repository>
165                         <id>restlet</id>
166                         <name>maven reslet</name>
167                         <url>https://maven.restlet.com/</url>
168                 </repository>
169                 
170                 <repository>
171                         <id>central</id>
172                         <name>Maven 2 repository 2</name>
173                         <url>http://repo2.maven.org/maven2/</url>
174                 </repository>
175                 <repository>
176                         <id>ecomp-releases</id>
177                         <name>ECOMP Release Repository</name>
178                         <url>${nexusproxy}/content/repositories/releases/</url>
179                 </repository>
180                 <repository>
181                         <id>ecomp-staging</id>
182                         <name>ECOMP Staging Repository</name>
183                         <url>${nexusproxy}/content/repositories/staging/</url>
184                 </repository>
185                 <repository>
186                         <id>ecomp-snapshots</id>
187                         <name>ECOMP Snapshot Repository</name>
188                         <url>${nexusproxy}/content/repositories/snapshots/</url>
189                 </repository>
190         </repositories>
191         
192         <reporting>
193           <plugins>
194             <plugin>
195               <groupId>org.apache.maven.plugins</groupId>
196               <artifactId>maven-javadoc-plugin</artifactId>
197               <version>2.10.4</version>
198               <configuration>
199                 <failOnError>false</failOnError>
200                 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
201                 <docletArtifact>
202                   <groupId>org.umlgraph</groupId>
203                   <artifactId>umlgraph</artifactId>
204                   <version>5.6</version>
205                 </docletArtifact>
206                 <additionalparam>-views</additionalparam>
207                 <useStandardDocletOptions>true</useStandardDocletOptions>
208               </configuration>
209             </plugin>
210           </plugins>
211         </reporting>
212         
213 </project>