waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +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.testsuites.integration</groupId> |
| 25 | <artifactId>integration</artifactId> |
| 26 | <version>2.0.0-SNAPSHOT</version> |
| 27 | </parent> |
| 28 | <artifactId>integration-common</artifactId> |
| 29 | |
| 30 | <dependencies> |
| 31 | <dependency> |
| 32 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 33 | <artifactId>context-model</artifactId> |
| 34 | <version>${project.version}</version> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 38 | <artifactId>event-model</artifactId> |
| 39 | <version>${project.version}</version> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 43 | <artifactId>policy-model</artifactId> |
| 44 | <version>${project.version}</version> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 48 | <artifactId>core-engine</artifactId> |
| 49 | <version>${project.version}</version> |
| 50 | </dependency> |
| 51 | </dependencies> |
| 52 | |
| 53 | <build> |
| 54 | <plugins> |
| 55 | <plugin> |
| 56 | <artifactId>maven-pmd-plugin</artifactId> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 57 | <version>3.10.0</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 58 | <configuration> |
| 59 | <excludes> |
| 60 | <exclude>**/test/common/**/*.java</exclude> |
| 61 | </excludes> |
| 62 | </configuration> |
| 63 | </plugin> |
| 64 | <plugin> |
| 65 | <groupId>org.jacoco</groupId> |
| 66 | <artifactId>jacoco-maven-plugin</artifactId> |
| 67 | <configuration> |
| 68 | <goalPrefix>jacoco</goalPrefix> |
| 69 | <excludes> |
| 70 | <exclude>**/test/common/**/*..class</exclude> |
| 71 | </excludes> |
| 72 | </configuration> |
| 73 | </plugin> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 74 | <plugin> |
| 75 | <groupId>org.codehaus.mojo</groupId> |
| 76 | <artifactId>exec-maven-plugin</artifactId> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>generate-models</id> |
| 80 | <phase>process-classes</phase> |
| 81 | <goals> |
| 82 | <goal>exec</goal> |
| 83 | </goals> |
| 84 | <configuration> |
| 85 | <executable>java</executable> |
| 86 | <classpathScope>test</classpathScope> |
| 87 | <arguments> |
| 88 | <argument>-classpath</argument> |
| 89 | <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
| 90 | <classpath /> |
liamfallon | cd68fc9 | 2018-09-13 23:48:50 +0100 | [diff] [blame] | 91 | <argument>org.onap.policy.apex.testsuites.integration.common.model.SampleDomainModelSaver</argument> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 92 | <argument>${project.build.directory}/classes/examples/models/SampleDomain</argument> |
| 93 | </arguments> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 98 | </plugins> |
| 99 | </build> |
| 100 | |
Dinh Danh Le | a4a9922 | 2018-08-23 00:00:00 +0100 | [diff] [blame] | 101 | <profiles> |
| 102 | <profile> |
| 103 | <id>apexSite</id> |
| 104 | <activation> |
| 105 | <property> |
| 106 | <name>apexSite</name> |
| 107 | </property> |
| 108 | </activation> |
| 109 | <distributionManagement> |
| 110 | <site> |
| 111 | <id>${project.artifactId}-site</id> |
| 112 | <url>${apex.adsite.prefix}/modules/testsuites/${project.parent.artifactId}/${project.artifactId}/</url> |
| 113 | </site> |
| 114 | </distributionManagement> |
| 115 | </profile> |
| 116 | </profiles> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 117 | </project> |