Skip to content

Commit

Permalink
failed at making things exec, comment out for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 9, 2014
1 parent 7098667 commit 0661e61
Showing 1 changed file with 40 additions and 6 deletions.
46 changes: 40 additions & 6 deletions pom.xml
Expand Up @@ -145,15 +145,48 @@ com.ning.compress.lzf.util
<Main-Class>com.ning.compress.lzf.LZF</Main-Class>
</instructions>
</configuration>
</plugin>
</plugin>
<!-- EVEN BETTER; make executable! -->
<plugin>

<!-- 08-Sep-2014, tatu: except, doesn't quite work yet. Sigh.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.ning.compress.lzf.LZF</mainClass>
</transformer>
</transformers>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.skife.maven</groupId>
<artifactId>really-executable-jar-maven-plugin</artifactId>
<version>1.3.0</version>
<version>1.2.0</version>
<configuration>
<!-- value of flags will be interpolated into the java invocation -->
<!-- as "java $flags -jar ..." -->
<programFile>lzf</programFile>
<flags>-Xmx200m</flags>
</configuration>
Expand All @@ -166,7 +199,8 @@ com.ning.compress.lzf.util
</goals>
</execution>
</executions>
</plugin>
</plugin>
-->

</plugins>
</build>
Expand Down

0 comments on commit 0661e61

Please sign in to comment.