waqas.ikram | 55d93a1 | 2018-05-28 10:58:07 +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 | <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>policy-model</artifactId> |
| 30 | <name>${project.artifactId}</name> |
| 31 | <description>Policy Models used in Apex</description> |
| 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 36 | <artifactId>context-model</artifactId> |
| 37 | <version>${project.version}</version> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 41 | <artifactId>event-model</artifactId> |
| 42 | <version>${project.version}</version> |
| 43 | </dependency> |
| 44 | </dependencies> |
| 45 | |
| 46 | <build> |
| 47 | <plugins> |
| 48 | <plugin> |
| 49 | <groupId>org.codehaus.mojo</groupId> |
| 50 | <artifactId>exec-maven-plugin</artifactId> |
| 51 | <executions> |
| 52 | <execution> |
| 53 | <id>generate-xml-schema</id> |
| 54 | <phase>process-classes</phase> |
| 55 | <goals> |
| 56 | <goal>java</goal> |
| 57 | </goals> |
| 58 | <configuration> |
| 59 | <mainClass>org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass> |
| 60 | <classpathScope>compile</classpathScope> |
| 61 | <arguments> |
| 62 | <argument>org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel</argument> |
| 63 | <argument>${project.build.directory}/model/xml/apex-policy-model.xsd</argument> |
| 64 | </arguments> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | </executions> |
| 68 | </plugin> |
| 69 | </plugins> |
| 70 | </build> |
| 71 | |
ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame^] | 72 | <profiles> |
| 73 | <profile> |
| 74 | <id>apexSite</id> |
| 75 | <activation> |
| 76 | <property> |
| 77 | <name>apexSite</name> |
| 78 | </property> |
| 79 | </activation> |
| 80 | <distributionManagement> |
| 81 | <site> |
| 82 | <id>${project.artifactId}-site</id> |
| 83 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 84 | </site> |
| 85 | </distributionManagement> |
| 86 | </profile> |
| 87 | </profiles> |
waqas.ikram | 55d93a1 | 2018-05-28 10:58:07 +0100 | [diff] [blame] | 88 | </project> |