[AAI-ONAP] Fix the javadoc as well as comment
[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         <plugin>
126                 <groupId>org.apache.maven.plugins</groupId>
127                 <artifactId>maven-deploy-plugin</artifactId>
128                 <executions>
129                         <execution>
130                         <id>default-deploy</id>
131                         <phase>none</phase>
132                         </execution>
133                         </executions>
134                 </plugin>        
135                 <plugin>
136                     <groupId>org.sonatype.plugins</groupId>
137                     <artifactId>nexus-staging-maven-plugin</artifactId>
138                     <version>1.6.7</version>
139                     <extensions>true</extensions>
140                     <configuration>
141                         <nexusUrl>${nexusproxy}</nexusUrl>
142                         <stagingProfileId>176c31dfe190a</stagingProfileId>
143                         <serverId>ecomp-staging</serverId>
144                     </configuration>
145                 </plugin>
146                 </plugins>
147         </build>
148
149         <distributionManagement>
150                 <repository>
151                         <id>ecomp-releases</id>
152                         <name>ECOMP Release Repository</name>
153                         <url>${nexusproxy}/content/repositories/releases/</url>
154                 </repository>
155                 <snapshotRepository>
156                         <id>ecomp-snapshots</id>
157                         <name>ECOMP Snapshot Repository</name>
158                         <url>${nexusproxy}/content/repositories/snapshots/</url>
159                 </snapshotRepository>
160                 <site>
161                         <id>ecomp-site</id>
162                         <url>dav:${nexusproxy}${sitePath}</url>
163                 </site>
164         </distributionManagement>
165         
166         <!-- Plugins and repositories -->
167         <pluginRepositories>
168                 <pluginRepository>
169                         <id>central</id>
170                         <url>http://repo1.maven.org/maven2</url>
171                 </pluginRepository>
172                 <pluginRepository>
173                         <id>EvoSuite</id>
174                         <name>EvoSuite Repository</name>
175                         <url>http://www.evosuite.org/m2</url>
176                 </pluginRepository>
177         </pluginRepositories>
178         
179         <repositories>
180                 <repository>
181                         <id>AJSC</id>
182                         <name>AJSC repository</name>
183                         <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
184                 </repository>
185                 <repository>
186                         <id>restlet</id>
187                         <name>maven reslet</name>
188                         <url>https://maven.restlet.com/</url>
189                 </repository>
190                 
191                 <repository>
192                         <id>central</id>
193                         <name>Maven 2 repository 2</name>
194                         <url>http://repo2.maven.org/maven2/</url>
195                 </repository>
196                 <repository>
197                         <id>ecomp-releases</id>
198                         <name>ECOMP Release Repository</name>
199                         <url>${nexusproxy}/content/repositories/releases/</url>
200                 </repository>
201                 <repository>
202                         <id>ecomp-staging</id>
203                         <name>ECOMP Staging Repository</name>
204                         <url>${nexusproxy}/content/repositories/staging/</url>
205                 </repository>
206                 <repository>
207                         <id>ecomp-snapshots</id>
208                         <name>ECOMP Snapshot Repository</name>
209                         <url>${nexusproxy}/content/repositories/snapshots/</url>
210                 </repository>
211         </repositories>
212         
213 </project>