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..2fe57466 100644 --- a/pom.xml +++ b/pom.xml @@ -86,6 +86,7 @@ + com.xiaomi.infra.pegasus.thirdparty ${project.basedir}/src/main/java @@ -94,6 +95,36 @@ ${project.basedir}/target/classes ${project.basedir}/target/test-classes + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + com.101tec + com.google.guava + + + + + com.google + ${pegasus.shade.name}.com.google + + + org.I0Itec + ${pegasus.shade.name}.org.I0Itec + + + + + + org.apache.maven.plugins maven-compiler-plugin