| <?xml version="1.0"?> |
| <!-- |
| Copyright (c) 2017 Wind River Systems, Inc. |
| Copyright (c) 2017-2018 VMware, Inc. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at: |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| --> |
| |
| <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"> |
| <parent> |
| <groupId>org.onap.multicloud.framework</groupId> |
| <artifactId>multicloud-framework</artifactId> |
| <version>1.8.3-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.onap.multicloud.framework</groupId> |
| <artifactId>multicloud-framework-artifactbroker</artifactId> |
| <version>1.8.3-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>multicloud-framework-artifactbroker</name> |
| <description>artifact broker</description> |
| <properties> |
| <encoding>UTF-8</encoding> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <nexusproxy>https://nexus.onap.org</nexusproxy> |
| <version.logback>1.2.3</version.logback> |
| <policy.common.version>1.3.4</policy.common.version> |
| <policy.engine.version>1.3.5</policy.engine.version> |
| <sonar.language>java</sonar.language> |
| <sonar.coverage.jacoco.xmlReportPaths> |
| ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| </sonar.coverage.jacoco.xmlReportPaths> |
| </properties> |
| <modules> |
| <module>model</module> |
| <module>main</module> |
| <module>reception</module> |
| <module>forwarding</module> |
| <module>plugins</module> |
| <module>packages</module> |
| </modules> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>2.16.0</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <version>${version.logback}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${version.logback}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.common</groupId> |
| <artifactId>common-parameters</artifactId> |
| <version>${policy.common.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.common</groupId> |
| <artifactId>ONAP-Logging</artifactId> |
| <version>${policy.common.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.common</groupId> |
| <artifactId>capabilities</artifactId> |
| <version>${policy.common.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.12.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>2.12.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.json</groupId> |
| <artifactId>json</artifactId> |
| <version>20160810</version> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.common</groupId> |
| <artifactId>policy-endpoints</artifactId> |
| <version>${policy.common.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.json</groupId> |
| <artifactId>json</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.onap.policy.common</groupId> |
| <artifactId>utils</artifactId> |
| <version>${policy.common.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.8.4</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.0</version> |
| <configuration> |
| <release>11</release> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-versions</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>3.0.5</version> |
| </requireMavenVersion> |
| <requireJavaVersion> |
| <version>11</version> |
| </requireJavaVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>pre-unit-test</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile> |
| <append>true</append> |
| </configuration> |
| </execution> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>onap-java-style</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>process-sources</phase> |
| <configuration> |
| <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| <includeResources>true</includeResources> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <includeTestResources>true</includeTestResources> |
| <excludes> |
| </excludes> |
| <consoleOutput>true</consoleOutput> |
| <failOnViolation>true</failOnViolation> |
| <violationSeverity>error</violationSeverity> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.onap.oparent</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>1.2.0</version> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>versions-maven-plugin</artifactId> |
| <configuration> |
| <generateBackupPoms>false</generateBackupPoms> |
| </configuration> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>**/gen/**</exclude> |
| <exclude>**/generated-sources/**</exclude> |
| <exclude>**/yang-gen/**</exclude> |
| <exclude>**/pax/**</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>pre-unit-test</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </project> |