From c78afbc4f13ac4d6cb488fb14b31379960f03fff Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 10 Jun 2021 10:19:18 +0200 Subject: [PATCH] Remove tarball module (#11377) Motivation: We don't publish any tarballs these days so we can just remove the module Modifications: Remove tarball module and also adjust release scripts Result: Less code / config to mantain --- pom.xml | 4 - scripts/finish_release.sh | 2 +- tarball/assembly.xml | 51 -------- tarball/pom.xml | 261 -------------------------------------- 4 files changed, 1 insertion(+), 317 deletions(-) delete mode 100644 tarball/assembly.xml delete mode 100644 tarball/pom.xml diff --git a/pom.xml b/pom.xml index a3c7e2fcde..6a13ce1f6a 100644 --- a/pom.xml +++ b/pom.xml @@ -523,7 +523,6 @@ resolver resolver-dns resolver-dns-native-macos - tarball transport transport-native-unix-common-tests transport-native-unix-common @@ -1316,9 +1315,6 @@ ${skipDeploy} - maven-release-plugin diff --git a/scripts/finish_release.sh b/scripts/finish_release.sh index 78e5ed2948..22f1b67f57 100755 --- a/scripts/finish_release.sh +++ b/scripts/finish_release.sh @@ -42,7 +42,7 @@ export JAVA_HOME="$JAVA8_HOME" ./mvnw -Psonatype-oss-release -am -pl resolver-dns-native-macos,transport-native-unix-common,transport-native-kqueue clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true -./mvnw -Psonatype-oss-release,full,uber-staging -pl all,tarball clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true +./mvnw -Psonatype-oss-release,full,uber-staging -pl all clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true ./mvnw org.sonatype.plugins:nexus-staging-maven-plugin:rc-close org.sonatype.plugins:nexus-staging-maven-plugin:rc-release -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true -DstagingProgressTimeoutMinutes=10 diff --git a/tarball/assembly.xml b/tarball/assembly.xml deleted file mode 100644 index 1ad3974fc7..0000000000 --- a/tarball/assembly.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - tarball - - tar.bz2 - - true - - - ${project.basedir}/.. - - - *.txt - *.md - - - - ${project.basedir}/.. - - - license/**/*.txt - license/**/*.md - - - - target/jars - jar - - **/*.jar - - - - target/jars-all - jar/all-in-one - - **/*.jar - - - - target/apidocs-all - javadoc - - **/*.jar - - - - - diff --git a/tarball/pom.xml b/tarball/pom.xml deleted file mode 100644 index 564b1d313f..0000000000 --- a/tarball/pom.xml +++ /dev/null @@ -1,261 +0,0 @@ - - - - - 4.0.0 - - io.netty - netty-parent - 4.1.66.Final-SNAPSHOT - - - netty-tarball - pom - - Netty/Tarball - - - true - - - - - - ${project.groupId} - netty-example - ${project.version} - compile - true - - - - ${project.groupId} - netty-all - ${project.version} - compile - true - - - - - - - maven-clean-plugin - - - clean-first - generate-resources - - clean - - - - - - - - org.codehaus.mojo - animal-sniffer-maven-plugin - - - default - none - - - - - - maven-checkstyle-plugin - - - check-style - none - - - - - - - - - - uber-staging - - - staged-releases - Staged Releases - https://oss.sonatype.org/service/local/repositories/${stagingRepositoryId}/content/ - - - - - - - ${project.groupId} - netty-transport-native-epoll - ${project.version} - linux-x86_64 - compile - true - - - ${project.groupId} - netty-transport-native-kqueue - ${project.version} - osx-x86_64 - compile - true - - - ${project.groupId} - netty-resolver-dns-native-macos - ${project.version} - osx-x86_64 - compile - true - - - - - uber-snapshot - - - - ${project.groupId} - netty-transport-native-epoll - ${project.version} - linux-x86_64 - compile - true - - - ${project.groupId} - netty-transport-native-kqueue - ${project.version} - osx-x86_64 - compile - true - - - ${project.groupId} - netty-resolver-dns-native-macos - ${project.version} - osx-x86_64 - compile - true - - - - - - full - - - - maven-dependency-plugin - - - copy-jars - prepare-package - - copy-dependencies - - - ${project.build.directory}/jars - ${project.groupId} - netty-all - - - - copy-sources - prepare-package - - copy-dependencies - - - sources - ${project.build.directory}/jars - ${project.groupId} - netty-all - - - - copy-jars-all-in-one - prepare-package - - copy-dependencies - - - ${project.build.directory}/jars-all - ${project.groupId} - netty-all - - - - copy-sources-all-in-one - prepare-package - - copy-dependencies - - - sources - ${project.build.directory}/jars-all - ${project.groupId} - netty-all - - - - copy-apidocs-all-in-one - prepare-package - - copy-dependencies - - - javadoc - ${project.build.directory}/apidocs-all - ${project.groupId} - netty-all - - - - - - maven-assembly-plugin - - - build-tarball - package - - single - - - netty-${project.version} - false - false - - ${project.basedir}/assembly.xml - - - - - - - - - - -