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