Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Have jruby-core and jruby-truffle shade into lib.
  • Loading branch information
headius committed Jan 27, 2015
1 parent dbdfc4e commit 576ecb3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 13 deletions.
26 changes: 26 additions & 0 deletions core/pom.xml
Expand Up @@ -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>
Expand Down
21 changes: 8 additions & 13 deletions truffle/pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 576ecb3

Please sign in to comment.