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