blob: 9d7fff4e75e37d4530f635252eee89771de03ede [file] [log] [blame]
ramverma3d025432018-07-19 18:45:16 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
liamfallonf0fd9642022-02-11 00:43:14 +00004 Modifications Copyright (C) 2022 Nordix Foundation.
ramverma3d025432018-07-19 18:45:16 +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-->
liamfallon3aa7cbe2018-10-31 16:35:54 +000021<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">
ramverma3d025432018-07-19 18:45:16 +010022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.policy.apex-pdp.examples</groupId>
25 <artifactId>examples</artifactId>
liamfallon886976e2021-11-29 11:33:31 +000026 <version>2.7.1-SNAPSHOT</version>
ramverma3d025432018-07-19 18:45:16 +010027 </parent>
28
ramvermaf8959f52018-07-25 17:26:52 +010029 <artifactId>examples-aadm</artifactId>
ramverma3d025432018-07-19 18:45:16 +010030 <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>
liamfallon85347562022-02-10 12:06:25 +000036 <artifactId>model</artifactId>
ramverma3d025432018-07-19 18:45:16 +010037 <version>${project.version}</version>
38 </dependency>
39 <dependency>
40 <groupId>org.onap.policy.apex-pdp.core</groupId>
liamfallonf0fd9642022-02-11 00:43:14 +000041 <artifactId>core</artifactId>
ramverma3d025432018-07-19 18:45:16 +010042 <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>
ramverma3d025432018-07-19 18:45:16 +010051 </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 />
liamfallon4cfa2e22018-09-13 15:25:32 +010071 <argument>org.onap.policy.apex.examples.aadm.model.AadmDomainModelSaver</argument>
ramverma3d025432018-07-19 18:45:16 +010072 <argument>${project.build.directory}/classes/examples/models/AADM</argument>
73 </arguments>
74 </configuration>
75 </execution>
76 </executions>
77 </plugin>
78 </plugins>
79 </build>
a.sreekumarf1f9a302020-03-25 23:01:06 +000080</project>