diff --git a/.gitignore b/.gitignore index c9c77ad..8b80cb5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ out target build -logs \ No newline at end of file +logs + +.flattened-pom.xml \ No newline at end of file diff --git a/helper-dependencies/pom.xml b/helper-dependencies/pom.xml index 517099b..4b12701 100644 --- a/helper-dependencies/pom.xml +++ b/helper-dependencies/pom.xml @@ -46,14 +46,21 @@ 3.28.0 4.0.15-alpha + 3.0.0 + 1.6.0 3.1.0 3.8.1 2.8.2 + 3.1.2 2.5.2 3.1.2 3.1.1 3.1.0 3.1.0 + + 2.7 + 1.0.2 + 1.1.0 @@ -300,6 +307,11 @@ maven-deploy-plugin ${maven-deploy-plugin.version} + + org.apache.maven.plugins + maven-dependency-plugin + ${maven-dependency-plugin.version} + org.apache.maven.plugins maven-install-plugin @@ -325,7 +337,165 @@ maven-source-plugin ${maven-source-plugin.version} + + + org.codehaus.mojo + build-helper-maven-plugin + ${build-helper-maven-plugin.version} + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + org.codehaus.mojo + versions-maven-plugin + ${versions-maven-plugin.version} + + + org.codehaus.mojo + xml-maven-plugin + ${xml-maven-plugin.version} + + + org.codehaus.mojo + flatten-maven-plugin + ${flatten-maven-plugin.version} + + + + + org.codehaus.mojo + flatten-maven-plugin + false + + + + flatten-effective-pom + process-resources + + flatten + + + false + ${project.build.directory}/effective-pom + spring-boot-dependencies.xml + oss + + expand + expand + remove + remove + + + + + + flatten + process-resources + + flatten + + + true + bom + + keep + keep + remove + + + + + flatten-clean + clean + + clean + + + + + + org.codehaus.mojo + xml-maven-plugin + false + + + + post-process-effective-pom + process-resources + + transform + + + + + ${project.build.directory}/effective-pom + ${project.build.directory}/effective-pom + src/main/xslt/post-process-flattened-pom.xsl + + + indent + yes + + + + + + + + + post-process-flattened-pom + process-resources + + transform + + + + + ${project.basedir} + ${project.basedir} + .flattened-pom.xml + src/main/xslt/post-process-flattened-pom.xsl + + + indent + yes + + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + false + + + + attach-artifacts + package + + attach-artifact + + + + + ${project.build.directory}/effective-pom/spring-boot-dependencies.xml + effective-pom + + + + + + + \ No newline at end of file diff --git a/helper-dependencies/src/main/xslt/post-process-flattened-pom.xsl b/helper-dependencies/src/main/xslt/post-process-flattened-pom.xsl new file mode 100644 index 0000000..22cbd77 --- /dev/null +++ b/helper-dependencies/src/main/xslt/post-process-flattened-pom.xsl @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +