waqas.ikram | 5abd306 | 2018-05-24 17:00:47 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2016-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 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | 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.model</groupId> |
| 25 | <artifactId>model</artifactId> |
| 26 | <version>2.0.0-SNAPSHOT</version> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>context-model</artifactId> |
| 30 | <name>${project.artifactId}</name> |
| 31 | <description>Context Models used in Apex</description> |
| 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 36 | <artifactId>basic-model</artifactId> |
| 37 | <version>${project.version}</version> |
| 38 | </dependency> |
waqas.ikram | 5abd306 | 2018-05-24 17:00:47 +0100 | [diff] [blame] | 39 | </dependencies> |
| 40 | |
| 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <groupId>org.codehaus.mojo</groupId> |
| 45 | <artifactId>exec-maven-plugin</artifactId> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>generate-xml-schema</id> |
| 49 | <phase>process-classes</phase> |
| 50 | <goals> |
| 51 | <goal>java</goal> |
| 52 | </goals> |
| 53 | <configuration> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 54 | <mainClass>org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass> |
waqas.ikram | 5abd306 | 2018-05-24 17:00:47 +0100 | [diff] [blame] | 55 | <classpathScope>compile</classpathScope> |
| 56 | <arguments> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 57 | <argument>org.onap.policy.apex.model.contextmodel.concepts.AxContextModel</argument> |
waqas.ikram | 5abd306 | 2018-05-24 17:00:47 +0100 | [diff] [blame] | 58 | <argument>${project.build.directory}/model/xml/apex-context-model.xsd</argument> |
| 59 | </arguments> |
| 60 | </configuration> |
| 61 | </execution> |
| 62 | </executions> |
| 63 | </plugin> |
| 64 | </plugins> |
| 65 | </build> |
| 66 | </project> |