eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | 755eb9d | 2020-01-22 12:11:11 +0000 | [diff] [blame^] | 4 | Modifications Copyright (C) 2020 Nordix Foundation. |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | |
| 18 | SPDX-License-Identifier: Apache-2.0 |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
liamfallon | 755eb9d | 2020-01-22 12:11:11 +0000 | [diff] [blame^] | 22 | <project |
| 23 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 24 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | 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] | 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
| 28 | <parent> |
waqas.ikram | f524b88 | 2018-05-24 15:31:21 +0100 | [diff] [blame] | 29 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 30 | <artifactId>model</artifactId> |
jrh3 | d7d9df6 | 2019-09-12 10:07:06 -0400 | [diff] [blame] | 31 | <version>2.3.0-SNAPSHOT</version> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 32 | </parent> |
| 33 | |
| 34 | <artifactId>basic-model</artifactId> |
| 35 | <name>${project.artifactId}</name> |
| 36 | <description>Basic Models used and model handling in Apex</description> |
| 37 | |
| 38 | <dependencies> |
liamfallon | 755eb9d | 2020-01-22 12:11:11 +0000 | [diff] [blame^] | 39 | <dependency> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 40 | <groupId>org.onap.policy.common</groupId> |
| 41 | <artifactId>utils</artifactId> |
| 42 | </dependency> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 43 | <dependency> |
waqas.ikram | f524b88 | 2018-05-24 15:31:21 +0100 | [diff] [blame] | 44 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
waqas.ikram | 8e424a8 | 2018-05-24 14:39:38 +0100 | [diff] [blame] | 45 | <artifactId>utilities</artifactId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 46 | <version>${project.version}</version> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.eclipse.persistence</groupId> |
| 50 | <artifactId>eclipselink</artifactId> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 51 | </dependency> |
liamfallon | 8e8f345 | 2018-12-15 09:47:58 +0000 | [diff] [blame] | 52 | <dependency> |
liamfallon | 755eb9d | 2020-01-22 12:11:11 +0000 | [diff] [blame^] | 53 | <groupId>javax.xml.bind</groupId> |
| 54 | <artifactId>jaxb-api</artifactId> |
| 55 | <version>${version.javax.bind}</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.glassfish.jaxb</groupId> |
| 59 | <artifactId>jaxb-runtime</artifactId> |
| 60 | <version>${version.javax.bind}</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.glassfish</groupId> |
| 64 | <artifactId>javax.json</artifactId> |
| 65 | <version>${version.javax.json}</version> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>javax.json</groupId> |
| 69 | <artifactId>javax.json-api</artifactId> |
| 70 | <version>${version.javax.json}</version> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>javax.json</groupId> |
| 74 | <artifactId>javax.json-api</artifactId> |
| 75 | <version>${version.javax.json}</version> |
| 76 | </dependency> |
| 77 | <dependency> |
liamfallon | 8e8f345 | 2018-12-15 09:47:58 +0000 | [diff] [blame] | 78 | <groupId>org.mockito</groupId> |
| 79 | <artifactId>mockito-all</artifactId> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 82 | </dependencies> |
| 83 | |
| 84 | <build> |
| 85 | <plugins> |
| 86 | <plugin> |
| 87 | <groupId>org.codehaus.mojo</groupId> |
| 88 | <artifactId>exec-maven-plugin</artifactId> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>generate-xml-schema</id> |
| 92 | <phase>process-classes</phase> |
| 93 | <goals> |
| 94 | <goal>java</goal> |
| 95 | </goals> |
| 96 | <configuration> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 97 | <mainClass>org.onap.policy.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 98 | <classpathScope>compile</classpathScope> |
| 99 | <arguments> |
ramverma | 6029d25 | 2018-05-25 11:55:45 +0100 | [diff] [blame] | 100 | <argument>org.onap.policy.apex.model.basicmodel.concepts.AxModel</argument> |
eikrwaq | a94302f | 2018-05-23 14:08:29 +0100 | [diff] [blame] | 101 | <argument>${project.build.directory}/model/xml/apex-basic-model.xsd</argument> |
| 102 | </arguments> |
| 103 | </configuration> |
| 104 | </execution> |
| 105 | </executions> |
| 106 | </plugin> |
| 107 | </plugins> |
| 108 | </build> |
ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame] | 109 | |
| 110 | <profiles> |
| 111 | <profile> |
| 112 | <id>apexSite</id> |
| 113 | <activation> |
| 114 | <property> |
| 115 | <name>apexSite</name> |
| 116 | </property> |
| 117 | </activation> |
| 118 | <distributionManagement> |
| 119 | <site> |
| 120 | <id>${project.artifactId}-site</id> |
| 121 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 122 | </site> |
| 123 | </distributionManagement> |
| 124 | </profile> |
| 125 | </profiles> |
liamfallon | 4d6fc38 | 2018-06-27 12:50:17 +0100 | [diff] [blame] | 126 | </project> |