eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 1 | <!-- |
| 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 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
waqas.ikram | f524b88 | 2018-05-24 15:31:21 +0100 | [diff] [blame] | 26 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 27 | <artifactId>model</artifactId> |
| 28 | <version>2.0.0-SNAPSHOT</version> |
| 29 | </parent> |
| 30 | |
| 31 | <artifactId>basic-model</artifactId> |
| 32 | <name>${project.artifactId}</name> |
| 33 | <description>Basic Models used and model handling in Apex</description> |
| 34 | |
| 35 | <dependencies> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame^] | 36 | <dependency> |
| 37 | <groupId>org.onap.policy.common</groupId> |
| 38 | <artifactId>utils</artifactId> |
| 39 | </dependency> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 40 | <dependency> |
waqas.ikram | f524b88 | 2018-05-24 15:31:21 +0100 | [diff] [blame] | 41 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
waqas.ikram | 8e424a8 | 2018-05-24 14:39:38 +0100 | [diff] [blame] | 42 | <artifactId>utilities</artifactId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 43 | <version>${project.version}</version> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.eclipse.persistence</groupId> |
| 47 | <artifactId>eclipselink</artifactId> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 48 | <version>${version.eclipselink}</version> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 49 | </dependency> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 50 | </dependencies> |
| 51 | |
| 52 | <build> |
| 53 | <plugins> |
| 54 | <plugin> |
| 55 | <groupId>org.codehaus.mojo</groupId> |
| 56 | <artifactId>exec-maven-plugin</artifactId> |
| 57 | <executions> |
| 58 | <execution> |
| 59 | <id>generate-xml-schema</id> |
| 60 | <phase>process-classes</phase> |
| 61 | <goals> |
| 62 | <goal>java</goal> |
| 63 | </goals> |
| 64 | <configuration> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 65 | <mainClass>org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 66 | <classpathScope>compile</classpathScope> |
| 67 | <arguments> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 68 | <argument>org.onap.policy.apex.model.basicmodel.concepts.AxModel</argument> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 69 | <argument>${project.build.directory}/model/xml/apex-basic-model.xsd</argument> |
| 70 | </arguments> |
| 71 | </configuration> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | </plugin> |
| 75 | </plugins> |
| 76 | </build> |
ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame] | 77 | |
| 78 | <profiles> |
| 79 | <profile> |
| 80 | <id>apexSite</id> |
| 81 | <activation> |
| 82 | <property> |
| 83 | <name>apexSite</name> |
| 84 | </property> |
| 85 | </activation> |
| 86 | <distributionManagement> |
| 87 | <site> |
| 88 | <id>${project.artifactId}-site</id> |
| 89 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 90 | </site> |
| 91 | </distributionManagement> |
| 92 | </profile> |
| 93 | </profiles> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 94 | </project> |