Skip to content

Commit

Permalink
Remove relocation of artifacts, as the relocation has a strange side-…
Browse files Browse the repository at this point in the history
…effect on producer-generated code.
  • Loading branch information
cgruber committed Feb 6, 2015
1 parent f5e3f28 commit d9073e6
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions compiler/pom.xml
Expand Up @@ -165,25 +165,14 @@
<phase>package</phase>
<goals><goal>shade</goal></goals>
<configuration>
<createSourcesJar>true</createSourcesJar>
<minimizeJar>true</minimizeJar>
<artifactSet>
<excludes>
<!-- annotation processors dagger uses to be built, not to operate -->
<exclude>com.google.auto.service</exclude>
<exclude>com.google.auto.value</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>com</pattern>
<shadedPattern>dagger.shaded.com</shadedPattern>
<excludes>
<!-- public API types emitted in generated code -->
<exclude>com.google.common.collect.**</exclude>
<exclude>com.google.common.util.concurrent.**</exclude>
</excludes>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit d9073e6

Please sign in to comment.