786b580f764e80f41d599eb6d8d26d64c3894b0d
[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         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
15     </properties>
16     <dependencies>
17         <dependency>
18             <groupId>org.onap.aai.aai-common</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             </plugin>
29             <plugin>
30                 <groupId>org.codehaus.mojo</groupId>
31                 <artifactId>jaxb2-maven-plugin</artifactId>
32                 <version>2.2</version>
33                 <executions>
34                     <execution>
35                         <id>xjc</id>
36                         <goals>
37                             <goal>xjc</goal>
38                         </goals>
39                     </execution>
40                 </executions>
41                 <dependencies>
42                     <dependency>
43                         <groupId>org.jvnet.jaxb2_commons</groupId>
44                         <artifactId>jaxb2-basics-annotate</artifactId>
45                         <version>1.0.2</version>
46                     </dependency>
47                     <dependency>
48                         <groupId>org.onap.aai.aai-common</groupId>
49                         <artifactId>aai-annotations</artifactId>
50                         <version>${aai.annotations.version}</version>
51                     </dependency>
52                 </dependencies>
53                 <configuration>
54                     <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
55                     <sources>
56                         <source>src/main/resources/aai_schema</source>
57                     </sources>
58                     <xjcSourceExcludeFilters>
59                         <filter
60                                 implementation="org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter">
61                             <patterns>
62                                 <pattern>edgetagquery\.xsd</pattern>
63                             </patterns>
64                         </filter>
65                     </xjcSourceExcludeFilters>
66                     <extension>true</extension>
67                     <arguments>
68                         <argument>-Xannotate</argument>
69                     </arguments>
70                     <bindingDirectory>src/main/xjb</bindingDirectory>
71                 </configuration>
72             </plugin>
73             <plugin>
74                 <groupId>org.apache.maven.plugins</groupId>
75                 <artifactId>maven-site-plugin</artifactId>
76             </plugin>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-deploy-plugin</artifactId>
80             </plugin>
81             <plugin>
82                 <groupId>org.sonatype.plugins</groupId>
83                 <artifactId>nexus-staging-maven-plugin</artifactId>
84             </plugin>
85         </plugins>
86     </build>
87
88     <distributionManagement>
89         <site>
90             <id>ecomp-site</id>
91             <url>dav:${onap.nexus.url}${sitePath}</url>
92         </site>
93     </distributionManagement>
94
95     <!-- Plugins and repositories -->
96     <pluginRepositories>
97         <pluginRepository>
98             <id>central</id>
99             <url>http://repo1.maven.org/maven2</url>
100         </pluginRepository>
101         <pluginRepository>
102             <id>EvoSuite</id>
103             <name>EvoSuite Repository</name>
104             <url>http://www.evosuite.org/m2</url>
105         </pluginRepository>
106     </pluginRepositories>
107
108 </project>