ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | f0fd964 | 2022-02-11 00:43:14 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2022 Nordix Foundation. |
ramverma | 3d02543 | 2018-07-19 18:45:16 +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 | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 21 | <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] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 25 | <artifactId>examples</artifactId> |
saul.gill | 2516099 | 2024-05-20 11:08:53 +0100 | [diff] [blame^] | 26 | <version>4.0.0-SNAPSHOT</version> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 27 | </parent> |
| 28 | |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 29 | <artifactId>examples-aadm</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 30 | <name>${project.artifactId}</name> |
| 31 | <description>Specific code for the Apex AADM Example</description> |
| 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
liamfallon | 8534756 | 2022-02-10 12:06:25 +0000 | [diff] [blame] | 36 | <artifactId>model</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 37 | <version>${project.version}</version> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
liamfallon | f0fd964 | 2022-02-11 00:43:14 +0000 | [diff] [blame] | 41 | <artifactId>core</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 42 | <version>${project.version}</version> |
| 43 | <scope>test</scope> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 47 | <artifactId>plugins-executor-mvel</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | <scope>test</scope> |
| 50 | </dependency> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 51 | </dependencies> |
| 52 | |
| 53 | <build> |
| 54 | <plugins> |
| 55 | <plugin> |
| 56 | <groupId>org.codehaus.mojo</groupId> |
| 57 | <artifactId>exec-maven-plugin</artifactId> |
| 58 | <executions> |
| 59 | <execution> |
| 60 | <id>generate-models</id> |
| 61 | <phase>process-classes</phase> |
| 62 | <goals> |
| 63 | <goal>exec</goal> |
| 64 | </goals> |
| 65 | <configuration> |
| 66 | <executable>java</executable> |
| 67 | <arguments> |
| 68 | <argument>-classpath</argument> |
| 69 | <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
| 70 | <classpath /> |
liamfallon | 4cfa2e2 | 2018-09-13 15:25:32 +0100 | [diff] [blame] | 71 | <argument>org.onap.policy.apex.examples.aadm.model.AadmDomainModelSaver</argument> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 72 | <argument>${project.build.directory}/classes/examples/models/AADM</argument> |
| 73 | </arguments> |
| 74 | </configuration> |
| 75 | </execution> |
| 76 | </executions> |
| 77 | </plugin> |
| 78 | </plugins> |
| 79 | </build> |
a.sreekumar | f1f9a30 | 2020-03-25 23:01:06 +0000 | [diff] [blame] | 80 | </project> |