diff --git a/continew-starter-dependencies/pom.xml b/continew-starter-dependencies/pom.xml index f7d36d69..51656728 100644 --- a/continew-starter-dependencies/pom.xml +++ b/continew-starter-dependencies/pom.xml @@ -47,7 +47,6 @@ https://github.com/Bull-BCLS - https://github.com/Charles7c/continew-starter scm:git:git@github.com:Charles7c/continew-starter.git @@ -57,10 +56,6 @@ 1.0.0-SNAPSHOT 5.8.23 - - - 3.1.0 - 1.5.0 @@ -81,6 +76,141 @@ + + + + org.codehaus.mojo + flatten-maven-plugin + 1.5.0 + false + + + + flatten-effective-pom + process-resources + + flatten + + + false + ${project.build.directory}/effective-pom + continew-starter-dependencies.xml + oss + + expand + expand + remove + remove + + + + + + flatten + process-resources + + flatten + + + true + bom + + expand + 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/continew-starter-dependencies.xml + effective-pom + + + + + + + + + release @@ -110,11 +240,10 @@ - org.apache.maven.plugins maven-gpg-plugin - ${maven-gpg-plugin.version} + 3.1.0 verify @@ -124,47 +253,19 @@ - - - org.codehaus.mojo - flatten-maven-plugin - ${flatten-maven-plugin.version} - false - - true - resolveCiFriendliesOnly - - - - flatten - process-resources - - flatten - - - - flatten.clean - clean - - clean - - - - - - - sonatype-nexus-staging - Nexus Release Repository - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - sonatype-nexus-snapshots Sonatype Nexus Snapshots https://s01.oss.sonatype.org/content/repositories/snapshots/ + + sonatype-nexus-staging + Nexus Release Repository + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + diff --git a/continew-starter-dependencies/src/main/xslt/post-process-flattened-pom.xsl b/continew-starter-dependencies/src/main/xslt/post-process-flattened-pom.xsl new file mode 100644 index 00000000..a685d854 --- /dev/null +++ b/continew-starter-dependencies/src/main/xslt/post-process-flattened-pom.xsl @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index bb0caa27..55e5a2cf 100644 --- a/pom.xml +++ b/pom.xml @@ -3,10 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + top.charles7c.continew + continew-starter-dependencies + ${revision} + ./continew-starter-dependencies + - top.charles7c.continew continew-starter - ${revision} pom ${project.artifactId} @@ -46,7 +50,6 @@ https://github.com/Bull-BCLS - https://github.com/Charles7c/continew-starter scm:git:git@github.com:Charles7c/continew-starter.git @@ -54,10 +57,6 @@ - 1.0.0-SNAPSHOT - - 3.1.5 - 17 @ @@ -65,13 +64,6 @@ ${java.version} UTF-8 UTF-8 - - - 2.30.0 - 3.2.1 - 3.5.0 - 3.1.0 - 1.5.0 @@ -79,26 +71,13 @@ continew-starter-core - - - - - top.charles7c.continew - continew-starter-dependencies - ${revision} - pom - import - - - - com.diffplug.spotless spotless-maven-plugin - ${spotless.version} + 2.40.0 compile @@ -116,14 +95,17 @@ - org.codehaus.mojo flatten-maven-plugin - ${flatten-maven-plugin.version} + 1.5.0 true - resolveCiFriendliesOnly + oss + + expand + keep + @@ -144,67 +126,4 @@ - - - - release - - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - package - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - package - - jar - - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - - - verify - - sign - - - - - - - - - - sonatype-nexus-snapshots - Sonatype Nexus Snapshots - https://s01.oss.sonatype.org/content/repositories/snapshots/ - - - sonatype-nexus-staging - Nexus Release Repository - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - \ No newline at end of file