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> |
| 36 | <dependency> |
waqas.ikram | f524b88 | 2018-05-24 15:31:21 +0100 | [diff] [blame] | 37 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
waqas.ikram | 8e424a8 | 2018-05-24 14:39:38 +0100 | [diff] [blame] | 38 | <artifactId>utilities</artifactId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 39 | <version>${project.version}</version> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>org.eclipse.persistence</groupId> |
| 43 | <artifactId>eclipselink</artifactId> |
| 44 | <version>2.6.2</version> |
| 45 | </dependency> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 46 | </dependencies> |
| 47 | |
| 48 | <build> |
| 49 | <plugins> |
| 50 | <plugin> |
| 51 | <groupId>org.codehaus.mojo</groupId> |
| 52 | <artifactId>exec-maven-plugin</artifactId> |
| 53 | <executions> |
| 54 | <execution> |
| 55 | <id>generate-xml-schema</id> |
| 56 | <phase>process-classes</phase> |
| 57 | <goals> |
| 58 | <goal>java</goal> |
| 59 | </goals> |
| 60 | <configuration> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame^] | 61 | <mainClass>org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 62 | <classpathScope>compile</classpathScope> |
| 63 | <arguments> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame^] | 64 | <argument>org.onap.policy.apex.model.basicmodel.concepts.AxModel</argument> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 65 | <argument>${project.build.directory}/model/xml/apex-basic-model.xsd</argument> |
| 66 | </arguments> |
| 67 | </configuration> |
| 68 | </execution> |
| 69 | </executions> |
| 70 | </plugin> |
| 71 | </plugins> |
| 72 | </build> |
| 73 | <profiles> |
| 74 | <profile> |
| 75 | <!--This profile is used to store Eclipse m2e settings only. It has no |
| 76 | influence on the Maven build itself. --> |
| 77 | <id>only-eclipse</id> |
| 78 | <activation> |
| 79 | <property> |
| 80 | <name>m2e.version</name> |
| 81 | </property> |
| 82 | </activation> |
| 83 | <build> |
| 84 | <pluginManagement> |
| 85 | <plugins> |
| 86 | <plugin> |
| 87 | <groupId>org.eclipse.m2e</groupId> |
| 88 | <artifactId>lifecycle-mapping</artifactId> |
| 89 | <version>1.0.0</version> |
| 90 | <configuration> |
| 91 | <lifecycleMappingMetadata> |
| 92 | <pluginExecutions> |
| 93 | <pluginExecution> |
| 94 | <pluginExecutionFilter> |
| 95 | <groupId>org.codehaus.mojo</groupId> |
| 96 | <artifactId>exec-maven-plugin</artifactId> |
| 97 | <versionRange>1.2.1</versionRange> |
| 98 | <goals> |
| 99 | <goal>java</goal> |
| 100 | </goals> |
| 101 | </pluginExecutionFilter> |
| 102 | <action> |
| 103 | <execute /> |
| 104 | </action> |
| 105 | </pluginExecution> |
| 106 | </pluginExecutions> |
| 107 | </lifecycleMappingMetadata> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </pluginManagement> |
| 112 | </build> |
| 113 | </profile> |
| 114 | </profiles> |
| 115 | </project> |