ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | 367daa9 | 2023-02-17 19:16:34 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2023 Nordix Foundation. |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 5 | ================================================================================ |
| 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 | --> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 21 | <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"> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 26 | <artifactId>tools</artifactId> |
liamfallon | 0c28807 | 2023-05-25 09:41:17 +0100 | [diff] [blame] | 27 | <version>3.0.0-SNAPSHOT</version> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 28 | </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> |
liamfallon | 8534756 | 2022-02-10 12:06:25 +0000 | [diff] [blame] | 42 | <artifactId>model</artifactId> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 43 | <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> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 51 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 52 | <artifactId>plugins-context-schema-avro</artifactId> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 53 | <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> |
liamfallon | 2b21188 | 2018-09-27 14:29:21 +0100 | [diff] [blame] | 60 | <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.xi | 4362739 | 2019-08-22 03:11:18 +0000 | [diff] [blame] | 66 | <dependency> |
| 67 | <groupId>org.assertj</groupId> |
| 68 | <artifactId>assertj-core</artifactId> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 71 | </dependencies> |
Dinh Danh Le | a5a4427 | 2018-08-22 12:41:50 +0100 | [diff] [blame] | 72 | |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 73 | <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> |
liamfallon | 53d8916 | 2018-11-06 12:02:46 +0000 | [diff] [blame] | 117 | <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 Le | a5a4427 | 2018-08-22 12:41:50 +0100 | [diff] [blame] | 134 | <profiles> |
| 135 | <profile> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 136 | <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> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 148 | <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 Le | a5a4427 | 2018-08-22 12:41:50 +0100 | [diff] [blame] | 172 | </profiles> |
liamfallon | 8534756 | 2022-02-10 12:06:25 +0000 | [diff] [blame] | 173 | </project> |