blob: 4ce4da3dc57ff3e8ca08d095c32762c2e2003d55 [file] [log] [blame]
eikrwaqa94302f2018-05-23 14:08:29 +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-->
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">
eikrwaqa94302f2018-05-23 14:08:29 +010022 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
waqas.ikramf524b882018-05-24 15:31:21 +010025 <groupId>org.onap.policy.apex-pdp.model</groupId>
eikrwaqa94302f2018-05-23 14:08:29 +010026 <artifactId>model</artifactId>
liamfallon3aa7cbe2018-10-31 16:35:54 +000027 <version>2.1.0-SNAPSHOT</version>
eikrwaqa94302f2018-05-23 14:08:29 +010028 </parent>
29
30 <artifactId>basic-model</artifactId>
31 <name>${project.artifactId}</name>
32 <description>Basic Models used and model handling in Apex</description>
33
34 <dependencies>
liamfallonefdaa0d2018-08-03 16:12:01 +010035 <dependency>
36 <groupId>org.onap.policy.common</groupId>
37 <artifactId>utils</artifactId>
38 </dependency>
eikrwaqa94302f2018-05-23 14:08:29 +010039 <dependency>
waqas.ikramf524b882018-05-24 15:31:21 +010040 <groupId>org.onap.policy.apex-pdp.model</groupId>
waqas.ikram8e424a82018-05-24 14:39:38 +010041 <artifactId>utilities</artifactId>
eikrwaqa94302f2018-05-23 14:08:29 +010042 <version>${project.version}</version>
43 </dependency>
44 <dependency>
45 <groupId>org.eclipse.persistence</groupId>
46 <artifactId>eclipselink</artifactId>
liamfallon4d6fc382018-06-27 12:50:17 +010047 <version>${version.eclipselink}</version>
eikrwaqa94302f2018-05-23 14:08:29 +010048 </dependency>
eikrwaqa94302f2018-05-23 14:08:29 +010049 </dependencies>
50
51 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.codehaus.mojo</groupId>
55 <artifactId>exec-maven-plugin</artifactId>
56 <executions>
57 <execution>
58 <id>generate-xml-schema</id>
59 <phase>process-classes</phase>
60 <goals>
61 <goal>java</goal>
62 </goals>
63 <configuration>
ramverma6029d252018-05-25 11:55:45 +010064 <mainClass>org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass>
eikrwaqa94302f2018-05-23 14:08:29 +010065 <classpathScope>compile</classpathScope>
66 <arguments>
ramverma6029d252018-05-25 11:55:45 +010067 <argument>org.onap.policy.apex.model.basicmodel.concepts.AxModel</argument>
eikrwaqa94302f2018-05-23 14:08:29 +010068 <argument>${project.build.directory}/model/xml/apex-basic-model.xsd</argument>
69 </arguments>
70 </configuration>
71 </execution>
72 </executions>
73 </plugin>
74 </plugins>
75 </build>
ramvermaaf74a622018-07-31 18:25:39 +010076
77 <profiles>
78 <profile>
79 <id>apexSite</id>
80 <activation>
81 <property>
82 <name>apexSite</name>
83 </property>
84 </activation>
85 <distributionManagement>
86 <site>
87 <id>${project.artifactId}-site</id>
88 <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url>
89 </site>
90 </distributionManagement>
91 </profile>
92 </profiles>
liamfallon4d6fc382018-06-27 12:50:17 +010093</project>