AAI-2154 Add EdgeRules to support BBS use case
[aai/schema-service.git] / aai-schema / pom.xml
1 <?xml version="1.0"?>
2 <!--
3
4     ============LICENSE_START=======================================================
5     org.onap.aai
6     ================================================================================
7     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21
22 -->
23 <project
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
25         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.aai.schema-service</groupId>
29         <artifactId>schema-service</artifactId>
30         <version>1.0.1-SNAPSHOT</version>
31     </parent>
32     <artifactId>aai-schema</artifactId>
33     <name>aai-schema</name>
34     <version>1.0.1-SNAPSHOT</version>
35     <properties>
36         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
37         <!-- Start of Default ONAP Schema Properties -->
38         <aai.xsd.source>src/main/resources/onap/aai_schema</aai.xsd.source>
39         <aai.bindings.source>src/main/xjb/bindings-onap.xjb</aai.bindings.source>
40         <!-- End of Default ONAP Schema Properties -->
41     </properties>
42     <dependencies>
43         <dependency>
44             <groupId>org.onap.aai.schema-service</groupId>
45             <artifactId>aai-annotations</artifactId>
46             <version>${project.version}</version>
47         </dependency>
48         <dependency>
49             <groupId>junit</groupId>
50             <artifactId>junit</artifactId>
51             <version>4.12</version>
52             <scope>test</scope>
53         </dependency>
54         <dependency>
55             <groupId>commons-io</groupId>
56             <artifactId>commons-io</artifactId>
57             <version>RELEASE</version>
58             <scope>test</scope>
59         </dependency>
60     </dependencies>
61     <build>
62         <plugins>
63             <plugin>
64                 <groupId>org.codehaus.mojo</groupId>
65                 <artifactId>jaxb2-maven-plugin</artifactId>
66                 <version>2.2</version>
67                 <executions>
68                     <execution>
69                         <id>xjc</id>
70                         <goals>
71                             <goal>xjc</goal>
72                         </goals>
73                         <configuration>
74                             <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
75                             <sources>
76                                 <source>${aai.xsd.source}</source>
77                             </sources>
78                             <xjbSources>
79                                 <xjbSource>${aai.bindings.source}</xjbSource>
80                             </xjbSources>
81                             <xjcSourceExcludeFilters>
82                                 <filter
83                                         implementation="org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter">
84                                     <patterns>
85                                         <pattern>edgetagquery\.xsd</pattern>
86                                     </patterns>
87                                 </filter>
88                             </xjcSourceExcludeFilters>
89                             <extension>true</extension>
90                             <arguments>
91                                 <argument>-Xannotate</argument>
92                             </arguments>
93                         </configuration>
94                     </execution>
95                 </executions>
96                 <dependencies>
97                     <dependency>
98                         <groupId>org.jvnet.jaxb2_commons</groupId>
99                         <artifactId>jaxb2-basics-annotate</artifactId>
100                         <version>1.0.2</version>
101                     </dependency>
102                     <dependency>
103                         <groupId>org.onap.aai.schema-service</groupId>
104                         <artifactId>aai-annotations</artifactId>
105                         <version>${project.version}</version>
106                     </dependency>
107                 </dependencies>
108             </plugin>
109             <plugin>
110                 <groupId>org.apache.maven.plugins</groupId>
111                 <artifactId>maven-source-plugin</artifactId>
112             </plugin>
113             <plugin>
114                 <groupId>org.apache.maven.plugins</groupId>
115                 <artifactId>maven-site-plugin</artifactId>
116             </plugin>
117             <plugin>
118                 <groupId>org.apache.maven.plugins</groupId>
119                 <artifactId>maven-deploy-plugin</artifactId>
120             </plugin>
121             <plugin>
122                 <groupId>org.sonatype.plugins</groupId>
123                 <artifactId>nexus-staging-maven-plugin</artifactId>
124             </plugin>
125         </plugins>
126         <resources>
127             <resource>
128                 <directory>src/main/resources</directory>
129                 <filtering>false</filtering>
130                 <includes>
131                     <include>**/*</include>
132                 </includes>
133             </resource>
134         </resources>
135     </build>
136
137     <!-- Start of ONAP Specific Repositories -->
138     <pluginRepositories>
139         <pluginRepository>
140             <id>central</id>
141             <url>http://repo1.maven.org/maven2</url>
142         </pluginRepository>
143         <pluginRepository>
144             <id>EvoSuite</id>
145             <name>EvoSuite Repository</name>
146             <url>http://www.evosuite.org/m2</url>
147         </pluginRepository>
148     </pluginRepositories>
149     <!-- End of ONAP Specific Repositories -->
150 </project>