blob: 3042c59a84e6d940f260b43fa5eec3a8b5e184f7 [file] [log] [blame]
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -05001<?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>
Kajur, Harish (vk250x)86fa02e2019-02-21 10:00:14 -050030 <version>1.0.1-SNAPSHOT</version>
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -050031 </parent>
32 <artifactId>aai-schema</artifactId>
33 <name>aai-schema</name>
Kajur, Harish (vk250x)86fa02e2019-02-21 10:00:14 -050034 <version>1.0.1-SNAPSHOT</version>
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -050035 <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>
Kajur, Harish (vk250x)862083f2019-03-29 12:13:14 -040060 <dependency>
61 <groupId>org.jvnet.jaxb2_commons</groupId>
62 <artifactId>jaxb2-basics</artifactId>
63 <version>0.11.1</version>
64 </dependency>
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -050065 </dependencies>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.codehaus.mojo</groupId>
70 <artifactId>jaxb2-maven-plugin</artifactId>
71 <version>2.2</version>
72 <executions>
73 <execution>
74 <id>xjc</id>
75 <goals>
76 <goal>xjc</goal>
77 </goals>
78 <configuration>
79 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
80 <sources>
81 <source>${aai.xsd.source}</source>
82 </sources>
83 <xjbSources>
84 <xjbSource>${aai.bindings.source}</xjbSource>
85 </xjbSources>
86 <xjcSourceExcludeFilters>
87 <filter
88 implementation="org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter">
89 <patterns>
90 <pattern>edgetagquery\.xsd</pattern>
91 </patterns>
92 </filter>
93 </xjcSourceExcludeFilters>
94 <extension>true</extension>
95 <arguments>
96 <argument>-Xannotate</argument>
Kajur, Harish (vk250x)862083f2019-03-29 12:13:14 -040097 <argument>-XtoString</argument>
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -050098 </arguments>
99 </configuration>
100 </execution>
101 </executions>
102 <dependencies>
103 <dependency>
104 <groupId>org.jvnet.jaxb2_commons</groupId>
Kajur, Harish (vk250x)862083f2019-03-29 12:13:14 -0400105 <artifactId>jaxb2-basics</artifactId>
106 <version>0.11.1</version>
107 </dependency>
108 <dependency>
109 <groupId>org.jvnet.jaxb2_commons</groupId>
Kajur, Harish (vk250x)d8393a82018-12-13 08:37:13 -0500110 <artifactId>jaxb2-basics-annotate</artifactId>
111 <version>1.0.2</version>
112 </dependency>
113 <dependency>
114 <groupId>org.onap.aai.schema-service</groupId>
115 <artifactId>aai-annotations</artifactId>
116 <version>${project.version}</version>
117 </dependency>
118 </dependencies>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-source-plugin</artifactId>
123 </plugin>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-site-plugin</artifactId>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-deploy-plugin</artifactId>
131 </plugin>
132 <plugin>
133 <groupId>org.sonatype.plugins</groupId>
134 <artifactId>nexus-staging-maven-plugin</artifactId>
135 </plugin>
136 </plugins>
137 <resources>
138 <resource>
139 <directory>src/main/resources</directory>
140 <filtering>false</filtering>
141 <includes>
142 <include>**/*</include>
143 </includes>
144 </resource>
145 </resources>
146 </build>
147
148 <!-- Start of ONAP Specific Repositories -->
149 <pluginRepositories>
150 <pluginRepository>
151 <id>central</id>
152 <url>http://repo1.maven.org/maven2</url>
153 </pluginRepository>
154 <pluginRepository>
155 <id>EvoSuite</id>
156 <name>EvoSuite Repository</name>
157 <url>http://www.evosuite.org/m2</url>
158 </pluginRepository>
159 </pluginRepositories>
160 <!-- End of ONAP Specific Repositories -->
161</project>