blob: d1a8223b530715b13608ac451b206d1ada095bb4 [file] [log] [blame]
ramverma3d025432018-07-19 18:45:16 +01001<!--
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-->
liamfallon3aa7cbe2018-10-31 16:35:54 +000020<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 +010021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.onap.policy.apex-pdp.examples</groupId>
24 <artifactId>examples</artifactId>
liamfallon3aa7cbe2018-10-31 16:35:54 +000025 <version>2.1.0-SNAPSHOT</version>
ramverma3d025432018-07-19 18:45:16 +010026 </parent>
27
ramvermaf8959f52018-07-25 17:26:52 +010028 <artifactId>examples-aadm</artifactId>
ramverma3d025432018-07-19 18:45:16 +010029 <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>
56 <dependency>
57 <groupId>org.apache.derby</groupId>
58 <artifactId>derby</artifactId>
59 <version>${version.derby}</version>
60 <scope>test</scope>
61 </dependency>
62 </dependencies>
63
64 <build>
65 <plugins>
66 <plugin>
67 <groupId>org.codehaus.mojo</groupId>
68 <artifactId>exec-maven-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>generate-models</id>
72 <phase>process-classes</phase>
73 <goals>
74 <goal>exec</goal>
75 </goals>
76 <configuration>
77 <executable>java</executable>
78 <arguments>
79 <argument>-classpath</argument>
80 <!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
81 <classpath />
liamfallon4cfa2e22018-09-13 15:25:32 +010082 <argument>org.onap.policy.apex.examples.aadm.model.AadmDomainModelSaver</argument>
ramverma3d025432018-07-19 18:45:16 +010083 <argument>${project.build.directory}/classes/examples/models/AADM</argument>
84 </arguments>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 </plugins>
90 </build>
Dinh Danh Le6a2abc82018-08-23 00:41:47 +010091
92 <profiles>
93 <profile>
94 <id>apexSite</id>
95 <activation>
96 <property>
97 <name>apexSite</name>
98 </property>
99 </activation>
100 <distributionManagement>
101 <site>
102 <id>${project.artifactId}-site</id>
103 <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url>
104 </site>
105 </distributionManagement>
106 </profile>
107 </profiles>
ramverma3d025432018-07-19 18:45:16 +0100108</project>