waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | 35840d8 | 2020-02-25 16:10:08 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2020 Nordix Foundation. |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +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 | --> |
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"> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
liamfallon | 35840d8 | 2020-02-25 16:10:08 +0000 | [diff] [blame] | 25 | <artifactId>apex-integration</artifactId> |
a.sreekumar | 718adc0 | 2020-10-20 16:56:45 +0100 | [diff] [blame] | 26 | <version>2.4.4-SNAPSHOT</version> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 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> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 100 | </project> |