blob: ad6e24b99e87b4b5bacf494f06f11015a0cd2f94 [file] [log] [blame]
ramverma1eb51982018-07-16 15:23:45 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 SPDX-License-Identifier: Apache-2.0
18 ============LICENSE_END=========================================================
19-->
liamfallon53d89162018-11-06 12:02:46 +000020<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
ramverma1eb51982018-07-16 15:23:45 +010022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.policy.apex-pdp.tools</groupId>
25 <artifactId>tools</artifactId>
a.sreekumareb923a72021-02-24 13:40:41 +000026 <version>2.5.1-SNAPSHOT</version>
ramverma1eb51982018-07-16 15:23:45 +010027 </parent>
28
29 <artifactId>model-generator</artifactId>
30 <name>${project.artifactId}</name>
31 <description>[${project.parent.artifactId}] Apex generators from policy model</description>
32
33 <dependencies>
34 <dependency>
35 <groupId>org.onap.policy.apex-pdp.tools</groupId>
36 <artifactId>tools-common</artifactId>
37 <version>${project.version}</version>
38 </dependency>
39 <dependency>
40 <groupId>org.onap.policy.apex-pdp.model</groupId>
41 <artifactId>model-api</artifactId>
42 <version>${project.version}</version>
43 </dependency>
44 <dependency>
45 <groupId>org.onap.policy.apex-pdp.services</groupId>
46 <artifactId>services-engine</artifactId>
47 <version>${project.version}</version>
48 </dependency>
49 <dependency>
liamfallonb109c212018-07-18 11:23:20 +010050 <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
51 <artifactId>plugins-context-schema-avro</artifactId>
ramverma1eb51982018-07-16 15:23:45 +010052 <version>${project.version}</version>
53 </dependency>
54 <dependency>
55 <groupId>org.onap.policy.apex-pdp.auth</groupId>
56 <artifactId>cli-codegen</artifactId>
57 <version>${project.version}</version>
58 </dependency>
liamfallon2b211882018-09-27 14:29:21 +010059 <dependency>
60 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
61 <artifactId>integration-common</artifactId>
62 <version>${project.version}</version>
63 <scope>test</scope>
64 </dependency>
ning.xi43627392019-08-22 03:11:18 +000065 <dependency>
66 <groupId>org.assertj</groupId>
67 <artifactId>assertj-core</artifactId>
68 <scope>test</scope>
69 </dependency>
ramverma1eb51982018-07-16 15:23:45 +010070 </dependencies>
Dinh Danh Lea5a44272018-08-22 12:41:50 +010071
liamfallon53d89162018-11-06 12:02:46 +000072 <build>
73 <plugins>
74 <!-- Copy required resources and examples -->
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-dependency-plugin</artifactId>
78 <executions>
79 <execution>
80 <id>unpack-examples</id>
81 <phase>generate-test-resources</phase>
82 <goals>
83 <goal>unpack</goal>
84 </goals>
85 <configuration>
86 <artifactItems>
87 <artifactItem>
88 <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
89 <artifactId>integration-common</artifactId>
90 <version>${project.version}</version>
91 <type>jar</type>
92 <overWrite>false</overWrite>
93 <outputDirectory>${project.build.directory}</outputDirectory>
94 <includes>examples/**/*</includes>
95 </artifactItem>
96 <artifactItem>
97 <groupId>org.onap.policy.apex-pdp.examples</groupId>
98 <artifactId>examples-aadm</artifactId>
99 <version>${project.version}</version>
100 <type>jar</type>
101 <overWrite>false</overWrite>
102 <outputDirectory>${project.build.directory}</outputDirectory>
103 <includes>examples/**/*</includes>
104 </artifactItem>
105 <artifactItem>
106 <groupId>org.onap.policy.apex-pdp.examples</groupId>
107 <artifactId>examples-adaptive</artifactId>
108 <version>${project.version}</version>
109 <type>jar</type>
110 <overWrite>false</overWrite>
111 <outputDirectory>${project.build.directory}</outputDirectory>
112 <includes>examples/**/*</includes>
113 </artifactItem>
114 <artifactItem>
115 <groupId>org.onap.policy.apex-pdp.examples</groupId>
116 <artifactId>examples-pcvs</artifactId>
117 <version>${project.version}</version>
118 <type>jar</type>
119 <overWrite>false</overWrite>
120 <outputDirectory>${project.build.directory}</outputDirectory>
121 <includes>examples/**/*</includes>
122 </artifactItem>
123 <artifactItem>
124 <groupId>org.onap.policy.apex-pdp.examples</groupId>
125 <artifactId>examples-myfirstpolicy</artifactId>
126 <version>${project.version}</version>
127 <type>jar</type>
128 <overWrite>false</overWrite>
129 <outputDirectory>${project.build.directory}</outputDirectory>
130 <includes>examples/**/*</includes>
131 </artifactItem>
132 </artifactItems>
133 <overWriteReleases>true</overWriteReleases>
134 <overWriteSnapshots>true</overWriteSnapshots>
135 </configuration>
136 </execution>
137 </executions>
138 </plugin>
139 </plugins>
140 </build>
141
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100142 <profiles>
143 <profile>
liamfallon32497612018-11-10 00:39:12 +0000144 <id>only-eclipse</id>
145 <activation>
146 <property>
147 <name>m2e.version</name>
148 </property>
149 </activation>
150 <build>
151 <pluginManagement>
152 <plugins>
153 <plugin>
154 <groupId>org.eclipse.m2e</groupId>
155 <artifactId>lifecycle-mapping</artifactId>
156 <version>1.0.0</version>
157 <configuration>
158 <lifecycleMappingMetadata>
159 <pluginExecutions>
160 <pluginExecution>
161 <pluginExecutionFilter>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-dependency-plugin</artifactId>
164 <versionRange>[2.0,)</versionRange>
165 <goals>
166 <goal>unpack</goal>
167 </goals>
168 </pluginExecutionFilter>
169 <action>
170 <ignore />
171 </action>
172 </pluginExecution>
173 </pluginExecutions>
174 </lifecycleMappingMetadata>
175 </configuration>
176 </plugin>
177 </plugins>
178 </pluginManagement>
179 </build>
180 </profile>
Dinh Danh Lea5a44272018-08-22 12:41:50 +0100181 </profiles>
182</project>