diff options
author | 2024-04-12 14:55:07 +0100 | |
---|---|---|
committer | 2024-04-15 15:52:21 +0100 | |
commit | 14f51a7e33c1e29c70279fd0100c0253692c7025 (patch) | |
tree | 867c0165e0ca057521d95f0e0073a5afa5c15bb6 /pom.xml | |
parent | e0c4f78469aa1750fc082114d943cf029d2b94c0 (diff) |
Removing ONAP O-Parent as parent to Policy Framework.
- dependency management direct in integration/pom.xml
- plugins for code-coverage, vulnerabilities scan are now
configured on pom.xml
Issue-ID: POLICY-4960
Change-Id: Ib5092f9baa51df60a8b9765b53a4fbbb3a61d60c
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 31 |
1 files changed, 22 insertions, 9 deletions
@@ -19,29 +19,37 @@ SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> -<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"> +<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"> <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.onap.oparent</groupId> - <artifactId>oparent</artifactId> - <!-- When changing, also change the oparent.version property --> - <version>3.3.3</version> - <relativePath /> - </parent> <groupId>org.onap.policy.parent</groupId> <artifactId>policy-parent</artifactId> <version>4.1.2-SNAPSHOT</version> <packaging>pom</packaging> <properties> - <oparent.version>3.3.3</oparent.version> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> </properties> <modules> + <module>checkstyle</module> <module>resources</module> <module>integration</module> </modules> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <url>${onap.nexus.url}/content/repositories/releases</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <url>${onap.nexus.url}/content/repositories/snapshots</url> + </snapshotRepository> + </distributionManagement> + <build> <pluginManagement> <plugins> @@ -80,6 +88,11 @@ use mvn spotless:apply to rewrite source files use mvn spotless:check to validate source files --> </plugin> + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>${sonar.scanner.version}</version> + </plugin> </plugins> </pluginManagement> </build> |