diff options
author | Kevin Sawicki | 2011-09-01 23:24:06 +0000 |
---|---|---|
committer | Kevin Sawicki | 2011-09-01 23:24:06 +0000 |
commit | 72c1e4a010af58f1f47a792e4ebf55e7566d4949 (patch) | |
tree | 8e494e11d229c36cf00f6f32b66adee315f060df /org.eclipse.egit.github.core/pom-jar.xml | |
parent | 523ccc50740f7eb05a5e7af197aedbf8afa953b9 (diff) | |
download | egit-github-72c1e4a010af58f1f47a792e4ebf55e7566d4949.tar.gz egit-github-72c1e4a010af58f1f47a792e4ebf55e7566d4949.tar.xz egit-github-72c1e4a010af58f1f47a792e4ebf55e7566d4949.zip |
Add shade profile with default configuration
Change-Id: I30611f206fac3c4efcff2004f6bbcc923c33186e
Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core/pom-jar.xml')
-rw-r--r-- | org.eclipse.egit.github.core/pom-jar.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/pom-jar.xml b/org.eclipse.egit.github.core/pom-jar.xml index c9078f47..ed2a56a6 100644 --- a/org.eclipse.egit.github.core/pom-jar.xml +++ b/org.eclipse.egit.github.core/pom-jar.xml @@ -99,6 +99,26 @@ <profiles> <profile> + <id>shade</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>1.4</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>android-shade</id> <build> <plugins> @@ -115,6 +135,9 @@ <configuration> <relocations> <relocation> + <!-- Apache classes are relocated since Android ships with a specific + version of some of them and won't load bundled ones unless they have a different + package name --> <pattern>org.apache</pattern> <shadedPattern>shade.org.apache</shadedPattern> </relocation> |