8febd19f2bf28cc2811c58f733e12dfbaf052ba2
[aai/schema-service.git] / aai-queries / 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     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0">
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.6-SNAPSHOT</version>
31     </parent>
32     <artifactId>aai-queries</artifactId>
33     <name>aai-queries</name>
34     <version>1.0.6-SNAPSHOT</version>
35     <properties>
36         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
37         <!-- Start of Default ONAP Schema Properties -->
38         <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
39         <gendoc.version>v15</gendoc.version>
40         <aai.release>onap</aai.release>
41         <schema.uri.base.path>/aai</schema.uri.base.path>
42         <schema.xsd.maxoccurs>5000</schema.xsd.maxoccurs>
43         <schema.configuration.location>N/A</schema.configuration.location>
44         <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
45         <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
46         <schema.version.depth.start>v10</schema.version.depth.start>
47         <schema.version.related.link.start>v10</schema.version.related.link.start>
48         <schema.version.app.root.start>v11</schema.version.app.root.start>
49         <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
50         <schema.version.edge.label.start>v12</schema.version.edge.label.start>
51         <schema.version.api.default>v15</schema.version.api.default>
52         <schema.version.list>v10,v11,v12,v13,v14,v15</schema.version.list>
53         <!-- End of Default ONAP Schema Properties -->
54     </properties>
55     <profiles>
56         <!-- Start of ONAP profile -->
57         <profile>
58             <id>onap</id>
59             <properties>
60                 <aai.release>onap</aai.release>
61                 <schema.xsd.maxoccurs>unbounded</schema.xsd.maxoccurs>
62                 <schema.configuration.location>N/A</schema.configuration.location>
63                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
64                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
65                 <schema.version.depth.start>v10</schema.version.depth.start>
66                 <schema.version.related.link.start>v10</schema.version.related.link.start>
67                 <schema.version.app.root.start>v11</schema.version.app.root.start>
68                 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
69                 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
70                 <schema.version.api.default>v15</schema.version.api.default>
71                 <schema.version.list>v10,v11,v12,v13,v14,v15</schema.version.list>
72                 <gendoc.version>v15</gendoc.version>
73             </properties>
74         </profile>
75         <!-- End of ONAP profile -->
76         <!-- Start of NARAD profile -->
77         <profile>
78             <id>narad</id>
79             <properties>
80                 <aai.release>narad</aai.release>
81                 <schema.uri.base.path>/narad</schema.uri.base.path>
82                 <schema.xsd.maxoccurs>5000</schema.xsd.maxoccurs>
83                 <schema.configuration.location>N/A</schema.configuration.location>
84                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
85                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
86                 <schema.version.depth.start>v1</schema.version.depth.start>
87                 <schema.version.related.link.start>v1</schema.version.related.link.start>
88                 <schema.version.app.root.start>v1</schema.version.app.root.start>
89                 <schema.version.namespace.change.start>v1</schema.version.namespace.change.start>
90                 <schema.version.edge.label.start>v1</schema.version.edge.label.start>
91                 <schema.version.api.default>v1</schema.version.api.default>
92                 <schema.version.list>v1,v2</schema.version.list>
93                 <gendoc.version>v2</gendoc.version>
94             </properties>
95         </profile>
96         <!-- End of NARAD profile -->
97     </profiles>
98     <dependencies>
99         <dependency>
100             <groupId>junit</groupId>
101             <artifactId>junit</artifactId>
102             <version>4.12</version>
103             <scope>test</scope>
104         </dependency>
105         <dependency>
106             <groupId>org.onap.aai.aai-common</groupId>
107             <artifactId>aai-core</artifactId>
108             <version>1.4.0</version>
109             <scope>compile</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.hamcrest</groupId>
113             <artifactId>java-hamcrest</artifactId>
114             <version>2.0.0.0</version>
115             <scope>test</scope>
116         </dependency>
117         <dependency>
118             <groupId>org.hamcrest</groupId>
119             <artifactId>hamcrest-core</artifactId>
120             <version>1.3</version>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.mockito</groupId>
125             <artifactId>mockito-all</artifactId>
126             <version>1.10.19</version>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>org.springframework.boot</groupId>
131             <artifactId>spring-boot-test</artifactId>
132             <version>1.5.20.RELEASE</version>
133             <scope>test</scope>
134         </dependency>
135     </dependencies>
136     <build>
137         <plugins>
138             <plugin>
139                 <groupId>org.apache.maven.plugins</groupId>
140                 <artifactId>maven-source-plugin</artifactId>
141             </plugin>
142             <plugin>
143                 <groupId>org.apache.maven.plugins</groupId>
144                 <artifactId>maven-site-plugin</artifactId>
145             </plugin>
146             <plugin>
147                 <groupId>org.apache.maven.plugins</groupId>
148                 <artifactId>maven-deploy-plugin</artifactId>
149             </plugin>
150             <plugin>
151                 <groupId>org.sonatype.plugins</groupId>
152                 <artifactId>nexus-staging-maven-plugin</artifactId>
153             </plugin>
154             <plugin>
155                 <groupId>com.mycila</groupId>
156                 <artifactId>license-maven-plugin</artifactId>
157             </plugin>
158         </plugins>
159         <resources>
160             <resource>
161                 <directory>src/main/resources</directory>
162                 <filtering>false</filtering>
163                 <includes>
164                     <include>**/*</include>
165                 </includes>
166             </resource>
167             <resource>
168                 <directory>${project.basedir}/../aai-schema/src/main/resources/</directory>
169                 <includes>
170                     <include>**/oxm/**/*.xml</include>
171                     <include>**/dbedgerules/**/*.json</include>
172                 </includes>
173                 <targetPath>${project.basedir}/src/main/resources/schema</targetPath>
174                 <filtering>false</filtering>
175             </resource>
176         </resources>
177     </build>
178
179     <!-- Start of ONAP Specific Repositories -->
180     <pluginRepositories>
181         <pluginRepository>
182             <id>central</id>
183             <url>http://repo1.maven.org/maven2</url>
184         </pluginRepository>
185         <pluginRepository>
186             <id>EvoSuite</id>
187             <name>EvoSuite Repository</name>
188             <url>http://www.evosuite.org/m2</url>
189         </pluginRepository>
190     </pluginRepositories>
191     <!-- End of ONAP Specific Repositories -->
192 </project>