ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 1 | <!-- |
| 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 | --> |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 24 | <artifactId>examples</artifactId> |
a.sreekumar | f1f9a30 | 2020-03-25 23:01:06 +0000 | [diff] [blame^] | 25 | <version>2.3.1-SNAPSHOT</version> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 26 | </parent> |
| 27 | |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 28 | <artifactId>examples-aadm</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 29 | <name>${project.artifactId}</name> |
| 30 | <description>Specific code for the Apex AADM Example</description> |
| 31 | |
| 32 | <dependencies> |
| 33 | <dependency> |
| 34 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 35 | <artifactId>policy-model</artifactId> |
| 36 | <version>${project.version}</version> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 40 | <artifactId>core-engine</artifactId> |
| 41 | <version>${project.version}</version> |
| 42 | <scope>test</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 46 | <artifactId>core-infrastructure</artifactId> |
| 47 | <version>${project.version}</version> |
| 48 | <scope>test</scope> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 52 | <artifactId>plugins-executor-mvel</artifactId> |
| 53 | <version>${project.version}</version> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 56 | </dependencies> |
| 57 | |
| 58 | <build> |
| 59 | <plugins> |
| 60 | <plugin> |
| 61 | <groupId>org.codehaus.mojo</groupId> |
| 62 | <artifactId>exec-maven-plugin</artifactId> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <id>generate-models</id> |
| 66 | <phase>process-classes</phase> |
| 67 | <goals> |
| 68 | <goal>exec</goal> |
| 69 | </goals> |
| 70 | <configuration> |
| 71 | <executable>java</executable> |
| 72 | <arguments> |
| 73 | <argument>-classpath</argument> |
| 74 | <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
| 75 | <classpath /> |
liamfallon | 4cfa2e2 | 2018-09-13 15:25:32 +0100 | [diff] [blame] | 76 | <argument>org.onap.policy.apex.examples.aadm.model.AadmDomainModelSaver</argument> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 77 | <argument>${project.build.directory}/classes/examples/models/AADM</argument> |
| 78 | </arguments> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | </executions> |
| 82 | </plugin> |
| 83 | </plugins> |
| 84 | </build> |
Dinh Danh Le | 6a2abc8 | 2018-08-23 00:41:47 +0100 | [diff] [blame] | 85 | |
| 86 | <profiles> |
| 87 | <profile> |
| 88 | <id>apexSite</id> |
| 89 | <activation> |
| 90 | <property> |
| 91 | <name>apexSite</name> |
| 92 | </property> |
| 93 | </activation> |
| 94 | <distributionManagement> |
| 95 | <site> |
| 96 | <id>${project.artifactId}-site</id> |
| 97 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 98 | </site> |
| 99 | </distributionManagement> |
| 100 | </profile> |
| 101 | </profiles> |
a.sreekumar | f1f9a30 | 2020-03-25 23:01:06 +0000 | [diff] [blame^] | 102 | </project> |