Skip to content

Commit

Permalink
Fixed shade/deploy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Fisk committed Feb 1, 2013
1 parent dec1e78 commit 6dc85ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>littleproxy-shade</shadedClassifierName>
<!--
<finalName>${project.artifactId}-${project.version}-shaded</finalName>
-->
Expand Down
2 changes: 1 addition & 1 deletion run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function die() {
mvn package -Dmaven.test.skip=true || die "Could not package"

fullPath=`dirname $0`
jar=`find $fullPath/target/littleproxy*SNAPSHOT.jar`
jar=`find $fullPath/target/littleproxy*-littleproxy-shade.jar`
cp=`echo $jar | sed 's,./,'$fullPath'/,'`
javaArgs="-server -XX:+HeapDumpOnOutOfMemoryError -Xmx800m -jar "$cp" $*"

Expand Down

0 comments on commit 6dc85ef

Please sign in to comment.