Skip to content

Commit

Permalink
get core and truffle artifact attached
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed Jan 23, 2015
1 parent 6ce1792 commit 56c9411
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion core/pom.rb
Expand Up @@ -250,7 +250,8 @@
:phase => :package,
:shadedArtifactAttached => true,
:shadedClassifierName => :shaded,
:outputFile => "${basedir}/../lib/jruby-core-shaded.jar",
:finalName => '${project.artifactId}-shaded',
:outputDirectory => '${basedir}/../lib',
:relocations => [ { 'pattern' => 'org.objectweb',
'shadedPattern' => 'org.jruby.org.objectweb' } ],
:transformers => [ { '@implementation' => 'org.apache.maven.plugins.shade.resource.ManifestResourceTransformer',
Expand Down
3 changes: 2 additions & 1 deletion core/pom.xml
Expand Up @@ -540,7 +540,8 @@
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
<outputFile>${basedir}/../lib/jruby-core-shaded.jar</outputFile>
<finalName>${project.artifactId}-shaded</finalName>
<outputDirectory>${basedir}/../lib</outputDirectory>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
Expand Down
3 changes: 2 additions & 1 deletion truffle/pom.rb
Expand Up @@ -39,7 +39,8 @@
execute_goals( 'shade',
:id => 'pack jruby-truffle-shaded.jar',
:phase => 'package',
:outputFile => "${basedir}/../lib/jruby-truffle-shaded.jar",
:finalName => '${project.artifactId}-shaded',
:outputDirectory => '${basedir}/../lib',
:artifactSet => { :includes => [ 'com.oracle:truffle' ] },
:shadedArtifactAttached => 'true',
:shadedClassifierName => 'shaded' )
Expand Down
3 changes: 2 additions & 1 deletion truffle/pom.xml
Expand Up @@ -81,7 +81,8 @@
<goal>shade</goal>
</goals>
<configuration>
<outputFile>${basedir}/../lib/jruby-truffle-shaded.jar</outputFile>
<finalName>${project.artifactId}-shaded</finalName>
<outputDirectory>${basedir}/../lib</outputDirectory>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
Expand Down

0 comments on commit 56c9411

Please sign in to comment.