diff --git a/testsuite-shading/pom.xml b/testsuite-shading/pom.xml index e74340954a..de1cadc473 100644 --- a/testsuite-shading/pom.xml +++ b/testsuite-shading/pom.xml @@ -35,8 +35,7 @@ ${classesShadedDir}/META-INF/native shaded shaded2 - - ${project.artifactId}-${project.version}.jar + true io.netty. true @@ -59,8 +58,132 @@ true + + + maven-shade-plugin + + + shade + package + + shade + + + + + ${project.groupId} + + + + + ${shadedPackagePrefix} + ${shadingPrefix}.${shadedPackagePrefix} + + + shaded1 + + + + shade-1 + package + + shade + + + + + ${project.groupId} + + + + + ${shadedPackagePrefix} + ${shadingPrefix2}.${shadedPackagePrefix} + + + shaded2 + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + unpack-jar-features + package + + run + + + ${skipShadingTestsuite} + + + + + + + + + + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + ${skipShadingTestsuite} + + ${shadingPrefix} + ${shadingPrefix2} + + + ${classesShadedDir} + + + + + package + + integration-test + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + empty-javadoc-jar + package + + jar + + + javadoc + ${basedir}/javadoc + + + + + org.junit.jupiter @@ -91,6 +214,7 @@ true + windows @@ -98,6 +222,9 @@ windows + + true + ${project.groupId} @@ -120,6 +247,7 @@ + mac @@ -130,6 +258,7 @@ netty_transport_native_kqueue_${os.detected.arch}.jnilib netty_tcnative_osx_${os.detected.arch}.jnilib + false @@ -160,140 +289,8 @@ compile - - - - - maven-shade-plugin - - - shade - package - - shade - - - - - ${project.groupId} - - - - - ${shadedPackagePrefix} - ${shadingPrefix}.${shadedPackagePrefix} - - - - - - shade-1 - package - - shade - - - - - ${project.groupId} - - - - - ${shadedPackagePrefix} - ${shadingPrefix2}.${shadedPackagePrefix} - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - unpack-jar-features - package - - run - - - ${skipShadingTestsuite} - - - - - - - - - - - - - - - - - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - ${skipShadingTestsuite} - - ${shadingPrefix} - ${shadingPrefix2} - - - - - package - - integration-test - - - - - - maven-clean-plugin - - - auto-clean - initialize - - clean - - - - clean-jar - package - - clean - - - true - - - ${project.build.directory} - - ${jarName} - original-${jarName} - - - - - - - - - + linux @@ -304,6 +301,7 @@ netty_transport_native_epoll_${os.detected.arch}.so netty_tcnative_linux_${os.detected.arch}.so + false @@ -334,139 +332,6 @@ compile - - - - - maven-shade-plugin - - - shade - package - - shade - - - - - ${project.groupId} - - - - - ${shadedPackagePrefix} - ${shadingPrefix}.${shadedPackagePrefix} - - - - - - shade-1 - package - - shade - - - - - ${project.groupId} - - - - - ${shadedPackagePrefix} - ${shadingPrefix2}.${shadedPackagePrefix} - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - unpack-jar-features - package - - run - - - ${skipShadingTestsuite} - - - - - - - - - - - - - - - - - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - ${skipShadingTestsuite} - - ${shadingPrefix} - ${shadingPrefix2} - - - - - package - - integration-test - - - - - - maven-clean-plugin - - - auto-clean - initialize - - clean - - - - clean-jar - package - - clean - - - true - - - ${project.build.directory} - - ${jarName} - original-${jarName} - - - - - - - - -