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> |
| 57 | <configuration> |
| 58 | <excludes> |
| 59 | <exclude>**/test/common/**/*.java</exclude> |
| 60 | </excludes> |
| 61 | </configuration> |
| 62 | </plugin> |
| 63 | <plugin> |
| 64 | <groupId>org.jacoco</groupId> |
| 65 | <artifactId>jacoco-maven-plugin</artifactId> |
| 66 | <configuration> |
| 67 | <goalPrefix>jacoco</goalPrefix> |
| 68 | <excludes> |
| 69 | <exclude>**/test/common/**/*..class</exclude> |
| 70 | </excludes> |
| 71 | </configuration> |
| 72 | </plugin> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 73 | <plugin> |
| 74 | <groupId>org.codehaus.mojo</groupId> |
| 75 | <artifactId>exec-maven-plugin</artifactId> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <id>generate-models</id> |
| 79 | <phase>process-classes</phase> |
| 80 | <goals> |
| 81 | <goal>exec</goal> |
| 82 | </goals> |
| 83 | <configuration> |
| 84 | <executable>java</executable> |
| 85 | <classpathScope>test</classpathScope> |
| 86 | <arguments> |
| 87 | <argument>-classpath</argument> |
| 88 | <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
| 89 | <classpath /> |
| 90 | <argument>org.onap.policy.apex.test.common.model.SampleDomainModelSaver</argument> |
| 91 | <argument>${project.build.directory}/classes/examples/models/SampleDomain</argument> |
| 92 | </arguments> |
| 93 | </configuration> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 97 | </plugins> |
| 98 | </build> |
| 99 | |
| 100 | </project> |