diff options
author | cgruber <cgruber@google.com> | 2015-09-01 16:00:34 -0700 |
---|---|---|
committer | cgruber <cgruber@google.com> | 2015-09-11 11:36:14 -0700 |
commit | 4f8d997cc824719ceb5c1746fa1259def56f39a3 (patch) | |
tree | 2b6b9066d18b2c677e61e98e1b42edf22d0e4fcc /value/pom.xml | |
parent | 219a671a5859b88673b114ecc8b3e35cbb99f308 (diff) | |
download | auto-4f8d997cc824719ceb5c1746fa1259def56f39a3.tar.gz |
As suggested by @jbgi, change the Maven build for AutoValue to use the org.immutables.tools version of the Maven Shade Plugin, which supports prefixing the simple names of shaded classes with $. This means that people can safely use the AutoValue with their IDEs, without having code completion ever show the shaded classes.
-------------
Created by MOE: https://github.com/google/moe
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=102089611
Diffstat (limited to 'value/pom.xml')
-rw-r--r-- | value/pom.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/value/pom.xml b/value/pom.xml index 4622be11..22c3f1b0 100644 --- a/value/pom.xml +++ b/value/pom.xml @@ -129,9 +129,9 @@ </executions> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> + <groupId>org.immutables.tools</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>2.3</version> + <version>3</version> <executions> <execution> <phase>package</phase> @@ -143,11 +143,11 @@ <relocations> <relocation> <pattern>org.objectweb</pattern> - <shadedPattern>autovalue.shaded.org.objectweb</shadedPattern> + <shadedPattern>autovalue.shaded.org.objectweb$</shadedPattern> </relocation> <relocation> <pattern>com.google</pattern> - <shadedPattern>autovalue.shaded.com.google.common</shadedPattern> + <shadedPattern>autovalue.shaded.com.google.common$</shadedPattern> <excludes> <exclude>com.google.auto.value.**</exclude> </excludes> |