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