aboutsummaryrefslogtreecommitdiffstats
path: root/cps-parent/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cps-parent/pom.xml')
-rw-r--r--cps-parent/pom.xml64
1 files changed, 60 insertions, 4 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index 6776008acf..12103ed108 100644
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -33,7 +33,7 @@
<properties>
<!-- Set UTF-8 encoding for consistent builds across platforms -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Application Configuration -->
<app>org.onap.cps.Application</app>
@@ -43,7 +43,7 @@
<!-- Global properties for version management -->
<bug.pattern.version>1.5.0</bug.pattern.version>
<dependency.check.version>9.2.0</dependency.check.version>
- <git.commit.id.version>9.0.0</git.commit.id.version>
+ <git.commit.id.version>9.0.1</git.commit.id.version>
<gmavenplus.plugin.version>4.0.1</gmavenplus.plugin.version>
<jacoco.version>0.8.11</jacoco.version>
<java.version>17</java.version>
@@ -51,14 +51,16 @@
<maven.checkstyle.plugin.version>3.3.1</maven.checkstyle.plugin.version>
<maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
<maven.compiler.release>17</maven.compiler.release>
+ <maven.failsafe.plugin.version>3.5.2</maven.failsafe.plugin.version>
+ <maven.resources.plugin.version>3.3.1</maven.resources.plugin.version>
<maven.site.plugin.version>4.0.0-M13</maven.site.plugin.version>
- <maven.surefire.plugin.version>3.2.5</maven.surefire.plugin.version>
+ <maven.surefire.plugin.version>3.3.1</maven.surefire.plugin.version>
<postgres.version>42.5.1</postgres.version>
<slf4j.simple.version>2.0.6</slf4j.simple.version>
<sonar.version>4.0.0.4121</sonar.version>
<spotbugs.plugin.version>4.8.6.4</spotbugs.plugin.version>
<spotbugs.version>4.8.6</spotbugs.version>
- <spring.boot.maven.plugin.version>3.2.4</spring.boot.maven.plugin.version>
+ <spring.boot.maven.plugin.version>3.3.1</spring.boot.maven.plugin.version>
<swagger.codegen.version>1.2.1</swagger.codegen.version>
<!-- Reporting paths and coverage -->
@@ -69,8 +71,26 @@
<sonar.coverage.jacoco.xmlReportPaths>
../jacoco-report/target/site/jacoco-aggregate/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
+
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
</properties>
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>ECOMP Release Repository</name>
+ <url>${onap.nexus.url}${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>ECOMP Snapshot Repository</name>
+ <url>${onap.nexus.url}${snapshotNexusPath}</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<!-- Dependency Management, Profiles, Build, and Plugins -->
<dependencyManagement>
@@ -134,6 +154,36 @@
</plugins>
</build>
</profile>
+ <!-- Performance tests are run with maven-failsafe-plugin using a separate profile, so they will
+ not affect Jacoco coverage. Heap size is set here to ensure consistent test environment. -->
+ <profile>
+ <id>include-performance</id>
+ <properties>
+ <failsafeArgLine>-Xms512m -Xmx512m</failsafeArgLine>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>${maven.failsafe.plugin.version}</version>
+ <configuration>
+ <includes>
+ <include>**/*PerfTest.java</include>
+ </includes>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<build>
@@ -444,6 +494,7 @@
<goal>report</goal>
</goals>
<configuration>
+ <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
<!-- Sets the path to the file which contains the execution data. -->
<dataFile>${jacoco.execFile}</dataFile>
<!-- Sets the output directory for the code coverage report. -->
@@ -473,6 +524,11 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>3.1.2</version>
+ </plugin>
</plugins>
</build>
</project> \ No newline at end of file