From 3ae14eed0d37449c89f39b03acd4058fed84dc71 Mon Sep 17 00:00:00 2001 From: cesarsotovalero Date: Mon, 8 Mar 2021 22:44:46 +0100 Subject: [PATCH] Refactor poms --- depclean-core/pom.xml | 6 +- depclean-maven-plugin/pom.xml | 105 ++++++++--------- pom.xml | 206 ++++++++++++++++++---------------- 3 files changed, 158 insertions(+), 159 deletions(-) diff --git a/depclean-core/pom.xml b/depclean-core/pom.xml index f902d160..a158cf9b 100644 --- a/depclean-core/pom.xml +++ b/depclean-core/pom.xml @@ -14,10 +14,9 @@ depclean-core 1.1.2 - - depclean-core jar Core library of DepClean + depclean-core @@ -26,7 +25,6 @@ asm 7.1 - org.codehaus.plexus @@ -46,7 +44,6 @@ 3.6.2 compile - org.jgrapht @@ -60,4 +57,5 @@ compile + diff --git a/depclean-maven-plugin/pom.xml b/depclean-maven-plugin/pom.xml index 14ba0a5d..a0d65403 100644 --- a/depclean-maven-plugin/pom.xml +++ b/depclean-maven-plugin/pom.xml @@ -35,66 +35,59 @@ - mojo-descriptor - process-classes - - descriptor - + mojo-descriptor + process-classes + + descriptor + - - - - org.apache.maven - maven-core - 3.6.0 - - - org.apache.maven - maven-plugin-api - 3.6.0 - - - org.apache.maven - maven-project - 3.0-alpha-2 - - - org.apache.maven.plugin-tools - maven-plugin-annotations - 3.6.0 - - - org.apache.maven.shared - maven-dependency-tree - 3.0.1 - - - - - se.kth.castor - depclean-core - 1.1.2-SNAPSHOT - - - - - org.fuin - utils4j - 0.9.2 - - - commons-io - commons-io - 2.5 - - - com.google.code.gson - gson + + + + se.kth.castor + depclean-core + 1.1.2 + + + + org.apache.maven + maven-core + 3.6.0 + + + org.apache.maven + maven-plugin-api + 3.6.0 + + + org.apache.maven + maven-project + 3.0-alpha-2 + + + org.apache.maven.plugin-tools + maven-plugin-annotations + 3.6.0 + + + org.apache.maven.shared + maven-dependency-tree + 3.0.1 + + + + commons-io + commons-io + 2.5 + + + com.google.code.gson + gson 2.8.6 @@ -102,8 +95,7 @@ maven-dependency-tree-parser 1.0.6 - - + org.apache.maven.plugin-testing maven-plugin-testing-tools @@ -111,4 +103,5 @@ compile + diff --git a/pom.xml b/pom.xml index 1838897c..09ad9f01 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,7 @@ pom 4.0.0 + depclean-parent-pom @@ -32,11 +33,13 @@ DepClean is a tool that automatically debloats dependencies in Java projects https://github.com/castor-software/depclean + GitHub Issues https://github.com/castor-software/depclean/issues + https://github.com/castor-software/depclean/ scm:git:git:github.com/castor-software/depclean.git @@ -71,12 +74,7 @@ - - junit - junit - ${maven.junit.version} - test - + org.projectlombok lombok @@ -94,6 +92,13 @@ slf4j-log4j12 ${maven.slf4j-log4j12.version} + + + junit + junit + ${maven.junit.version} + test + @@ -121,21 +126,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - maven-compiler-plugin @@ -145,37 +135,18 @@ ${maven.compiler.target} - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven.maven-javadoc-plugin.version} - - ${maven.javadoc.source} - - - - attach-javadocs - - jar - - - - - + org.apache.maven.plugins maven-site-plugin 3.7.1 - + org.apache.maven.plugins maven-project-info-reports-plugin 3.0.0 - org.apache.maven.plugins @@ -187,7 +158,6 @@ - org.jacoco @@ -208,62 +178,100 @@ - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ossrh - https://oss.sonatype.org/ - true - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ossrh - https://oss.sonatype.org/ - true - - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - true - false - release - deploy - - + + + + deploy-artifacts + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven.maven-javadoc-plugin.version} + + ${maven.javadoc.source} + + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + true + false + release + deploy + + + + + + +