diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-11-12 13:12:02 +0000 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-11-18 11:34:37 +0000 |
commit | 436a8dc7b4241b685d3f483a5d64b9f4b2000cb5 (patch) | |
tree | c962de7a01fedd24b968bff1c3d78e40a02c08ca /dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml | |
parent | 6c877ba9d5e1dfde569593ed88652b93b10ba4a6 (diff) |
Fixed the java code checkstyle configuration and jacoco report
- Removed oParent dependency.
- pulled cps checkstyle and applied for all dmi modules for code style
check and copyright.
- Ignored checkstyle folder for to be commited.
- Fixed java code styles.
- Added missing plugins and configurations for jacoco report.
- Configured deply plugin and related onap properties.
- Temporarily disabled CSIT.
Issue-ID: CPS-2471
Change-Id: I5a26c2a156b93c3e58c5c42814f1dff85831d4df
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml')
-rw-r--r-- | dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml index 5e2886e5..82ebd24f 100644 --- a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml +++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml @@ -19,6 +19,7 @@ <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + <parent> <groupId>org.onap.cps</groupId> <artifactId>dmi-plugin-demo-and-csit-stub</artifactId> @@ -27,6 +28,13 @@ <artifactId>dmi-plugin-demo-and-csit-stub-service</artifactId> + <properties> + <gmavenplus.plugin.version>4.0.1</gmavenplus.plugin.version> + <maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version> + <maven.compiler.source>17</maven.compiler.source> + <maven.compiler.target>17</maven.compiler.target> + </properties> + <dependencies> <dependency> <groupId>ch.qos.logback</groupId> @@ -91,7 +99,7 @@ <dependency> <groupId>org.onap.cps</groupId> <artifactId>cps-ncmp-events</artifactId> - <version>3.5.2</version> + <version>${cps.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -133,9 +141,19 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${maven.compiler.plugin.version}</version> + <configuration> + <encoding>${project.build.sourceEncoding}</encoding> + <source>17</source> + <target>17</target> + </configuration> + </plugin> + <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> - <version>4.0.1</version> + <version>${gmavenplus.plugin.version}</version> <executions> <execution> <goals> |