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