Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ec3e50393c91^
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6ce1792f3579
Choose a head ref
  • 2 commits
  • 10 files changed
  • 1 contributor

Commits on Jan 23, 2015

  1. Copy the full SHA
    ec3e503 View commit details
  2. Copy the full SHA
    6ce1792 View commit details
Showing with 165 additions and 439 deletions.
  1. +14 −33 core/pom.rb
  2. +28 −214 core/pom.xml
  3. +17 −1 maven/jruby-dist/pom.rb
  4. +30 −0 maven/jruby-dist/pom.xml
  5. +7 −2 maven/jruby-dist/src/main/assembly/jruby.xml
  6. +22 −15 maven/jruby-jars/Mavenfile
  7. +2 −2 maven/jruby-jars/lib/jruby-jars.rb
  8. +31 −27 maven/jruby-jars/pom.xml
  9. +5 −18 truffle/pom.rb
  10. +9 −127 truffle/pom.xml
47 changes: 14 additions & 33 deletions core/pom.rb
Original file line number Diff line number Diff line change
@@ -244,6 +244,18 @@
end
end

plugin :shade do
execute_goals( :shade,
:id => 'pack jruby-core-shaded.jar',
:phase => :package,
:shadedArtifactAttached => true,
:shadedClassifierName => :shaded,
:outputFile => "${basedir}/../lib/jruby-core-shaded.jar",
:relocations => [ { 'pattern' => 'org.objectweb',
'shadedPattern' => 'org.jruby.org.objectweb' } ],
:transformers => [ { '@implementation' => 'org.apache.maven.plugins.shade.resource.ManifestResourceTransformer',
:mainClass => 'org.jruby.Main' } ] )
end

[ :osgi, :dist, :'jruby-jars', :main, :all, :complete, :release, :jruby_complete_jar_extended ].each do |name|
profile name do
@@ -259,15 +271,6 @@
},
'relocations' => [ { 'pattern' => 'org.objectweb',
'shadedPattern' => 'org.jruby.org.objectweb' } ] )
execute_goals( 'shade',
:id => 'pack jruby-core-complete.jar',
:phase => 'package',
'shadedArtifactAttached' => 'true',
'shadedClassifierName' => 'complete',
'relocations' => [ { 'pattern' => 'org.objectweb',
'shadedPattern' => 'org.jruby.org.objectweb' } ],
'transformers' => [ { '@implementation' => 'org.apache.maven.plugins.shade.resource.ManifestResourceTransformer',
'mainClass' => 'org.jruby.Main' } ] )
end
end
end
@@ -299,28 +302,6 @@

end

profile 'native' do

activation do
file( :missing => '../lib/jni' )
end

plugin :dependency do
execute_goals( 'unpack',
:id => 'unzip native',
:phase => 'process-classes',
'excludes' => 'META-INF,META-INF/*',
'artifactItems' => [ { 'groupId' => 'com.github.jnr',
'artifactId' => 'jffi',
'version' => '${jffi.version}',
'type' => 'jar',
'classifier' => 'native',
'overWrite' => 'false',
'outputDirectory' => '${jruby.basedir}/lib' } ] )
end

end

profile 'test' do

properties( 'maven.test.skip' => 'false' )
@@ -334,7 +315,7 @@
end

plugin 'org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2' do
execute_goals( 'read-project-properties',
execute_goals( 'read-project-properties',
:id => 'properties',
:phase => 'initialize',
'files' => [ '${jruby.basedir}/build.properties' ],
@@ -351,6 +332,6 @@

properties( 'tzdata.jar.version' => '${tzdata.version}',
'tzdata.scope' => 'runtime' )

end
end
242 changes: 28 additions & 214 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -528,6 +528,34 @@
</additionalClasspathElements>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby-core-shaded.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
<outputFile>${basedir}/../lib/jruby-core-shaded.jar</outputFile>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
@@ -561,28 +589,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -618,28 +624,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -675,28 +659,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -732,28 +694,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -789,28 +729,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -846,28 +764,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -903,28 +799,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -960,28 +834,6 @@
</relocations>
</configuration>
</execution>
<execution>
<id>pack jruby-core-complete.jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.objectweb</pattern>
<shadedPattern>org.jruby.org.objectweb</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jruby.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@@ -1019,44 +871,6 @@
</plugins>
</build>
</profile>
<profile>
<id>native</id>
<activation>
<file>
<missing>../lib/jni</missing>
</file>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unzip native</id>
<phase>process-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<excludes>META-INF,META-INF/*</excludes>
<artifactItems>
<artifactItem>
<groupId>com.github.jnr</groupId>
<artifactId>jffi</artifactId>
<version>${jffi.version}</version>
<type>jar</type>
<classifier>native</classifier>
<overWrite>false</overWrite>
<outputDirectory>${jruby.basedir}/lib</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test</id>
<properties>
18 changes: 17 additions & 1 deletion maven/jruby-dist/pom.rb
Original file line number Diff line number Diff line change
@@ -9,7 +9,8 @@

properties( 'tesla.dump.pom' => 'pom.xml',
'tesla.dump.readonly' => true,
'main.basedir' => '${project.parent.parent.basedir}' )
'main.basedir' => '${project.parent.parent.basedir}',
'lib.dir' => '${project.build.directory}/META-INF/jruby.home/lib')

unless version =~ /-SNAPSHOT/
properties 'jruby.home' => '${basedir}/../..'
@@ -46,6 +47,21 @@
'type' => 'jar',
'overWrite' => 'false',
'outputDirectory' => '${project.build.directory}' } ] )
execute_goals( 'copy',
:id => 'copy shaded jruby jar',
:stripVersion => true,
:artifactItems => [ { :groupId => 'org.jruby',
:artifactId => 'jruby-core',
:version => '${project.version}',
:classifier => :shaded,
:type => :jar,
:outputDirectory => '${lib.dir}' },
{ :groupId => 'org.jruby',
:artifactId => 'jruby-truffle',
:version => '${project.version}',
:classifier => :shaded,
:type => :jar,
:outputDirectory => '${lib.dir}' } ] )
end

execute :fix_executable_bits do |ctx|
30 changes: 30 additions & 0 deletions maven/jruby-dist/pom.xml
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@
<tesla.dump.readonly>true</tesla.dump.readonly>
<jruby.plugins.version>1.0.3</jruby.plugins.version>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
<lib.dir>${project.build.directory}/META-INF/jruby.home/lib</lib.dir>
<tesla.dump.pom>pom.xml</tesla.dump.pom>
<tesla.version>0.1.1</tesla.version>
</properties>
@@ -63,6 +64,35 @@
</artifactItems>
</configuration>
</execution>
<execution>
<id>copy shaded jruby jar</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<stripClassifier>true</stripClassifier>
<artifactItems>
<artifactItem>
<groupId>org.jruby</groupId>
<artifactId>jruby-core</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
<type>jar</type>
<outputDirectory>${lib.dir}</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.jruby</groupId>
<artifactId>jruby-truffle</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
<type>jar</type>
<outputDirectory>${lib.dir}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
9 changes: 7 additions & 2 deletions maven/jruby-dist/src/main/assembly/jruby.xml
Original file line number Diff line number Diff line change
@@ -23,15 +23,20 @@
<include>specifications/*</include>
<include>gems/**/*</include>
</includes>
<excludes>
<exclude>gems/*/spec</exclude>
<exclude>gems/*/specs</exclude>
<exclude>gems/*/test</exclude>
<exclude>gems/*/tests</exclude>
<exclude>gems/*/features</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>${project.parent.parent.basedir}</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>LICENSE*</include>
<include>COPYING*</include>
<include>lib/jruby.jar</include>
<include>lib/jni/**/*</include>
<include>samples/**/*</include>
<include>docs/**/*</include>
<include>tool/nailgun/*</include>
37 changes: 22 additions & 15 deletions maven/jruby-jars/Mavenfile
Original file line number Diff line number Diff line change
@@ -15,7 +15,25 @@ name "JRuby Jars Gem"

jar 'org.jruby:jruby-stdlib', '${project.parent.version}'

plugin( :clean, '2.5' ) do
plugin :dependency do
execute_goals( 'copy',
:id => 'copy shaded jruby jar',
'artifactItems' => [ { :groupId => 'org.jruby',
:artifactId => 'jruby-core',
:version => '${project.version}',
:classifier => :shaded,
:type => :jar,
:outputDirectory => '${basedir}/lib' },
{ :groupId => 'org.jruby',
:artifactId => 'jruby-truffle',
:version => '${project.version}',
:classifier => :shaded,
:type => :jar,
:outputDirectory => '${basedir}/lib' } ] )

end

plugin( :clean ) do
execute_goals( :clean,
:phase => :clean,
:id => 'clean-lib',
@@ -37,25 +55,14 @@ properties( 'tesla.dump.pom' => 'pom.xml',
properties 'jruby.home' => '${basedir}/../..'
end

execute 'copy jruby.jar', 'prepare-package' do |ctx|
source = File.expand_path( ctx.project.properties[ 'jruby_home' ].to_pathname )
# TODO somehow the lib/jruby.jar gets moved away to avoid conflicts
FileUtils.cp( Dir[ File.join( source, "core/target/jruby-core-#{version}-complete.jar" ) ].first,
File.join( ctx.project.basedir.to_pathname,
'lib',
"jruby-core-#{ctx.project.version}-complete.jar" ) )
FileUtils.cp( Dir[ File.join( source, "truffle/target/jruby-truffle-#{version}-complete.jar" ) ].first,
File.join( ctx.project.basedir.to_pathname,
'lib',
"jruby-truffle-#{ctx.project.version}-complete.jar" ) )
end

# do not push the gem during deploy phase
# the bang reuses the plugin declaration which is already in place and
# adds the extra execute_goal to it
jruby_plugin!( :gem,
:gemspec => 'jruby-jars.gemspec',
# tell maven to include the jar files into gem
# tell maven to include the jar files into lib directory
# can not do the same for the shaded jars because of all
# those transitive dependencies
:includeDependencies => true ) do
execute_goals :id => 'default-push', :skip => true
end
4 changes: 2 additions & 2 deletions maven/jruby-jars/lib/jruby-jars.rb
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@ module JRubyJars
PATH = File.expand_path(File.dirname(__FILE__))

def self.core_jar_path
"#{PATH}/jruby-core-#{JRubyJars::MAVEN_VERSION}-complete.jar"
"#{PATH}/jruby-core-#{JRubyJars::MAVEN_VERSION}-shaded.jar"
end

def self.stdlib_jar_path
"#{PATH }/jruby-stdlib-#{JRubyJars::MAVEN_VERSION}.jar"
end

def self.truffle_jar_path
"#{PATH }/jruby-truffle-#{JRubyJars::MAVEN_VERSION}-complete.jar"
"#{PATH }/jruby-truffle-#{JRubyJars::MAVEN_VERSION}-shaded.jar"
end
end
58 changes: 31 additions & 27 deletions maven/jruby-jars/pom.xml
Original file line number Diff line number Diff line change
@@ -43,7 +43,6 @@ freezing to) a specific jruby-complete jar version.</description>
<tesla.dump.pom>pom.xml</tesla.dump.pom>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<jruby_home>${basedir}/../../</jruby_home>
<tesla.version>0.1.1</tesla.version>
</properties>
<dependencies>
<dependency>
@@ -86,9 +85,39 @@ freezing to) a specific jruby-complete jar version.</description>
<includeDependencies>true</includeDependencies>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy shaded jruby jar</id>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.jruby</groupId>
<artifactId>jruby-core</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
<type>jar</type>
<outputDirectory>${basedir}/lib</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.jruby</groupId>
<artifactId>jruby-truffle</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
<type>jar</type>
<outputDirectory>${basedir}/lib</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>clean-lib</id>
@@ -120,31 +149,6 @@ freezing to) a specific jruby-complete jar version.</description>
</properties>
</configuration>
</plugin>
<plugin>
<groupId>io.tesla.polyglot</groupId>
<artifactId>tesla-polyglot-maven-plugin</artifactId>
<version>${tesla.version}</version>
<executions>
<execution>
<id>copy jruby.jar</id>
<phase>prepare-package</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<taskId>copy jruby.jar</taskId>
<nativePom>Mavenfile</nativePom>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>io.tesla.polyglot</groupId>
<artifactId>tesla-polyglot-ruby</artifactId>
<version>${tesla.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
23 changes: 5 additions & 18 deletions truffle/pom.rb
Original file line number Diff line number Diff line change
@@ -37,29 +37,16 @@

plugin :shade do
execute_goals( 'shade',
:id => 'pack jruby.jar',
:id => 'pack jruby-truffle-shaded.jar',
:phase => 'package',
'relocations' => [ { 'pattern' => 'org.objectweb',
'shadedPattern' => 'org.jruby.org.objectweb' } ],
'outputFile' => '${jruby.basedir}/lib/jruby.jar',
'transformers' => [ { '@implementation' => 'org.apache.maven.plugins.shade.resource.ManifestResourceTransformer',
'mainClass' => 'org.jruby.Main' } ] )
:outputFile => "${basedir}/../lib/jruby-truffle-shaded.jar",
:artifactSet => { :includes => [ 'com.oracle:truffle' ] },
:shadedArtifactAttached => 'true',
:shadedClassifierName => 'shaded' )
end

build do
default_goal 'package'
end

[ :dist, :'jruby-jars', :all, :release ].each do |name|
profile name do
plugin :shade do
execute_goals( 'shade',
:id => 'pack jruby-truffle-complete.jar',
:phase => 'verify',
:artifactSet => { :includes => [ 'com.oracle:truffle' ] },
:shadedArtifactAttached => 'true',
:shadedClassifierName => 'complete' )
end
end
end
end
136 changes: 9 additions & 127 deletions truffle/pom.xml
Original file line number Diff line number Diff line change
@@ -75,142 +75,24 @@
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby.jar</id>
<id>pack jruby-truffle-shaded.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>
<outputFile>${basedir}/../lib/jruby-truffle-shaded.jar</outputFile>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
</includes>
</artifactSet>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dist</id>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby-truffle-complete.jar</id>
<phase>verify</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
</includes>
</artifactSet>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jruby-jars</id>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby-truffle-complete.jar</id>
<phase>verify</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
</includes>
</artifactSet>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>all</id>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby-truffle-complete.jar</id>
<phase>verify</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
</includes>
</artifactSet>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>pack jruby-truffle-complete.jar</id>
<phase>verify</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.oracle:truffle</include>
</includes>
</artifactSet>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>complete</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>