Set all cross references of policy/apex-pdp
[policy/apex-pdp.git] / examples / examples-aadm / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2022 Nordix Foundation.
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 -->
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">
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <groupId>org.onap.policy.apex-pdp.examples</groupId>
25         <artifactId>examples</artifactId>
26         <version>3.1.3-SNAPSHOT</version>
27     </parent>
28
29     <artifactId>examples-aadm</artifactId>
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>
36             <artifactId>model</artifactId>
37             <version>${project.version}</version>
38         </dependency>
39         <dependency>
40             <groupId>org.onap.policy.apex-pdp.core</groupId>
41             <artifactId>core</artifactId>
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>
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 />
71                                 <argument>org.onap.policy.apex.examples.aadm.model.AadmDomainModelSaver</argument>
72                                 <argument>${project.build.directory}/classes/examples/models/AADM</argument>
73                             </arguments>
74                         </configuration>
75                     </execution>
76                 </executions>
77             </plugin>
78         </plugins>
79     </build>
80 </project>