diff --git a/.gitignore b/.gitignore index a70baad8..4bb31109 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ rolling_log/ .vscode/ google-java-format-* pegasus-* +dependency-reduced-pom.xml diff --git a/pom.xml b/pom.xml index 20efe87a..ae2450e2 100644 --- a/pom.xml +++ b/pom.xml @@ -86,6 +86,7 @@ + com.xiaomi.infra.pegasus.thirdparty ${project.basedir}/src/main/java @@ -94,6 +95,31 @@ ${project.basedir}/target/classes ${project.basedir}/target/test-classes + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + io.netty + + + + + io.netty + ${pegasus.shade.name}.io.netty + + + + + + org.apache.maven.plugins maven-compiler-plugin