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 | 367daa9 | 2023-02-17 19:16:34 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2020,2022-2023 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> |
rameshiyer27 | 9551484 | 2024-07-12 14:00:54 +0000 | [diff] [blame^] | 26 | <version>4.0.1-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> |
liamfallon | 8534756 | 2022-02-10 12:06:25 +0000 | [diff] [blame] | 33 | <artifactId>model</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 34 | <version>${project.version}</version> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
liamfallon | f0fd964 | 2022-02-11 00:43:14 +0000 | [diff] [blame] | 38 | <artifactId>core</artifactId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 39 | <version>${project.version}</version> |
| 40 | </dependency> |
| 41 | </dependencies> |
| 42 | |
| 43 | <build> |
| 44 | <plugins> |
| 45 | <plugin> |
liamfallon | 367daa9 | 2023-02-17 19:16:34 +0000 | [diff] [blame] | 46 | <groupId>org.apache.maven.plugins</groupId> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 47 | <artifactId>maven-pmd-plugin</artifactId> |
| 48 | <configuration> |
| 49 | <excludes> |
| 50 | <exclude>**/test/common/**/*.java</exclude> |
| 51 | </excludes> |
| 52 | </configuration> |
| 53 | </plugin> |
| 54 | <plugin> |
| 55 | <groupId>org.jacoco</groupId> |
| 56 | <artifactId>jacoco-maven-plugin</artifactId> |
| 57 | <configuration> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 58 | <excludes> |
| 59 | <exclude>**/test/common/**/*..class</exclude> |
| 60 | </excludes> |
| 61 | </configuration> |
| 62 | </plugin> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 63 | <plugin> |
| 64 | <groupId>org.codehaus.mojo</groupId> |
| 65 | <artifactId>exec-maven-plugin</artifactId> |
| 66 | <executions> |
| 67 | <execution> |
| 68 | <id>generate-models</id> |
| 69 | <phase>process-classes</phase> |
| 70 | <goals> |
| 71 | <goal>exec</goal> |
| 72 | </goals> |
| 73 | <configuration> |
| 74 | <executable>java</executable> |
| 75 | <classpathScope>test</classpathScope> |
| 76 | <arguments> |
| 77 | <argument>-classpath</argument> |
| 78 | <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
| 79 | <classpath /> |
liamfallon | cd68fc9 | 2018-09-13 23:48:50 +0100 | [diff] [blame] | 80 | <argument>org.onap.policy.apex.testsuites.integration.common.model.SampleDomainModelSaver</argument> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 81 | <argument>${project.build.directory}/classes/examples/models/SampleDomain</argument> |
| 82 | </arguments> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
waqas.ikram | 2816ea6 | 2018-06-27 16:16:42 +0100 | [diff] [blame] | 87 | </plugins> |
| 88 | </build> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 89 | </project> |