From a021de582916a164a7327dd6d4d5355c579d3f2e Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Wed, 17 Jul 2024 14:30:36 +0300 Subject: [PATCH] Improve base pom structure (#1774) Signed-off-by: Marinov Avgustin --- .../hawkbit-repository-test/pom.xml | 6 - pom.xml | 310 +++++++++--------- 2 files changed, 158 insertions(+), 158 deletions(-) diff --git a/hawkbit-repository/hawkbit-repository-test/pom.xml b/hawkbit-repository/hawkbit-repository-test/pom.xml index f3d658e62..8d7a391c3 100644 --- a/hawkbit-repository/hawkbit-repository-test/pom.xml +++ b/hawkbit-repository/hawkbit-repository-test/pom.xml @@ -61,12 +61,6 @@ org.postgresql postgresql - - - - - - org.springframework.boot spring-boot-starter-logging diff --git a/pom.xml b/pom.xml index f6b64ea67..d891d8f54 100644 --- a/pom.xml +++ b/pom.xml @@ -71,16 +71,20 @@ + 3.5.0 + 1.6.0 2.1.0 3.12.1 + + 1.1.0 + 4.5 + 3.2.5 3.2.5 - 3.5.0 - 0.8.12 - 1.1.0 - 1.6.0 - 4.5 + + 1.6.14 + 1.6 @@ -235,141 +239,53 @@ org.apache.maven.plugins maven-compiler-plugin - - -Xlint:all - true - true - - com.mycila - license-maven-plugin + org.apache.maven.plugins + maven-source-plugin org.apache.maven.plugins maven-enforcer-plugin - ${maven.enforcer.plugin.version} - - - - enforce-no-snapshots - - enforce - - - ${snapshotDependencyAllowed} - - - No Snapshots Allowed! - - - No Snapshots Allowed! - - - 3.5 - - - - - org.codehaus.mojo flatten-maven-plugin - - resolveCiFriendliesOnly - true - - - - flatten - process-resources - - flatten - - - - flatten.clean - clean - - clean - - - + + + org.apache.maven.plugins + maven-scm-plugin org.codehaus.mojo versions-maven-plugin + - maven-scm-plugin - ${maven.scm.plugin.version} - - ${project.version} - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.maven.plugin.version} - - - prepare-ut-agent - process-test-classes - - prepare-agent - - - jacoco.agent.ut.arg - - - - prepare-it-agent - pre-integration-test - - prepare-agent-integration - - - jacoco.agent.it.arg - - - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - + com.mycila + license-maven-plugin org.eclipse.dash license-tool-plugin - ${license.tool.plugin.version} - - - license-check - - license-check - - - + + + + org.jacoco + jacoco-maven-plugin - org.codehaus.mojo - flatten-maven-plugin - ${flatten.maven.plugin.version} + org.apache.maven.plugins + maven-compiler-plugin + + -Xlint:all + true + true + org.apache.maven.plugins @@ -378,6 +294,91 @@ syntax + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven.enforcer.plugin.version} + + + + enforce-no-snapshots + + enforce + + + ${snapshotDependencyAllowed} + + + No Snapshots Allowed! + + + No Snapshots Allowed! + + + 3.9 + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + ${flatten.maven.plugin.version} + + resolveCiFriendliesOnly + true + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + + + org.apache.maven.plugins + maven-scm-plugin + ${maven.scm.plugin.version} + + ${project.version} + + + + org.apache.maven.plugins + maven-site-plugin + ${maven.site.plugin.version} + + true + true + + com.mycila @@ -437,29 +438,19 @@ - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-dependency-plugin - [2.8,) - - copy-dependencies - - - - - - - - - + org.eclipse.dash + license-tool-plugin + ${license.tool.plugin.version} + + + license-check + + license-check + + + + org.apache.maven.plugins maven-surefire-plugin @@ -517,25 +508,39 @@ - - org.apache.maven.plugins - maven-site-plugin - ${maven.site.plugin.version} - - true - true - - org.jacoco jacoco-maven-plugin ${jacoco.maven.plugin.version} + + + prepare-ut-agent + process-test-classes + + prepare-agent + + + jacoco.agent.ut.arg + + + + prepare-it-agent + pre-integration-test + + prepare-agent-integration + + + jacoco.agent.it.arg + + + - - org.bsc.maven - maven-processor-plugin - ${maven.processor.plugin.version} - + + + + + + com.ethlo.persistence.tools eclipselink-maven-plugin @@ -544,6 +549,7 @@ + nexus_staging @@ -566,7 +572,7 @@ individually as part of building the module. --> org.sonatype.plugins nexus-staging-maven-plugin - 1.6.13 + ${nexus.staging.maven.plugin.version} true ossrh @@ -591,7 +597,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + ${maven.gpg.plugin.version} sign-artifacts