Skip to content
Permalink
Browse files
Have jruby-core and jruby-truffle shade into lib.
  • Loading branch information
headius committed Jan 27, 2015
1 parent dbdfc4e commit 576ecb37b445cca302098a548ee730a96b50e58c
Showing 2 changed files with 34 additions and 13 deletions.
@@ -528,6 +528,32 @@
</additionalClasspathElements>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>create lib/jruby.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<outputFile>${jruby.basedir}/lib/jruby-truffle.jar</outputFile>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
@@ -75,24 +75,19 @@
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby.jar</id>
<id>create lib/jruby-truffle.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<outputFile>${jruby.basedir}/lib/jruby.jar</outputFile>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
<include>com.oracle:truffle-dsl-processor</include>
</includes>
</artifactSet>
<outputFile>${jruby.basedir}/lib/jruby-truffle.jar</outputFile>
</configuration>
</execution>
</executions>

0 comments on commit 576ecb3

Please sign in to comment.