summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 6810e2e9..edbcdfd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -154,6 +154,7 @@
<goal>shade</goal>
</goals>
<configuration>
+ <createSourcesJar>${shadeSourcesJar}</createSourcesJar>
<relocations>
<relocation>
<pattern>joptsimple</pattern>
@@ -221,6 +222,13 @@
<profiles>
<profile>
+ <id>shadeSourcesJar</id>
+ <properties>
+ <shadeSourcesJar>true</shadeSourcesJar>
+ <shadeSourcesContent>true</shadeSourcesContent>
+ </properties>
+ </profile>
+ <profile>
<id>development</id>
<build>
<plugins>