Skip to content
Permalink
Browse files
updated jar-dependencies and include ruby-maven in dist archives
  • Loading branch information
mkristian committed Jul 2, 2014
1 parent 25ee92a commit 71a145e28d8483b5695ce1d6ef3e431a0ed4172e
Showing with 34 additions and 4 deletions.
  1. +1 −1 lib/pom.rb
  2. +2 −2 lib/pom.xml
  3. +22 −0 maven/jruby-dist/pom.xml
  4. +1 −1 maven/jruby-dist/src/it/integrity/verify.bsh
  5. +8 −0 maven/jruby-dist/src/main/assembly/jruby.xml
@@ -45,7 +45,7 @@ def version
ImportedGem.new( 'krypt-core', KRYPT_VERSION, true ),
ImportedGem.new( 'krypt-provider-jdk', KRYPT_VERSION, true ),
ImportedGem.new( 'ffi', '1.9.3', true ),
ImportedGem.new( 'jar-dependencies', '0.0.3', true )
ImportedGem.new( 'jar-dependencies', '0.0.4', true )
]

project 'JRuby Lib Setup' do
@@ -73,7 +73,7 @@
<dependency>
<groupId>rubygems</groupId>
<artifactId>jar-dependencies</artifactId>
<version>0.0.3</version>
<version>0.0.4</version>
<type>gem</type>
</dependency>
</dependencies>
@@ -183,7 +183,7 @@
<artifactItem>
<groupId>rubygems</groupId>
<artifactId>jar-dependencies</artifactId>
<version>0.0.3</version>
<version>0.0.4</version>
<type>gem</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
@@ -14,10 +14,32 @@
<jruby.home>${basedir}/../..</jruby.home>
<tesla.dump.readonly>true</tesla.dump.readonly>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
<jruby.plugins.version>1.0.3</jruby.plugins.version>
<tesla.dump.pom>pom.xml</tesla.dump.pom>
</properties>
<dependencies>
<dependency>
<groupId>rubygems</groupId>
<artifactId>ruby-maven</artifactId>
<version>3.1.1.0.7</version>
<type>gem</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.plugins.version}</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>initialize</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
@@ -28,7 +28,7 @@ if ( !log.contains( expected ) )
{
throw new RuntimeException( "log file does not contain '" + expected + "'" );
}
expected = "gems count 8";
expected = "gems count 9";
if ( !log.contains( expected ) )
{
throw new RuntimeException( "log file does not contain '" + expected + "'" );
@@ -8,6 +8,14 @@
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.build.directory}/rubygems</directory>
<outputDirectory>/lib/ruby/gems/shared</outputDirectory>
<includes>
<include>gems/**</include>
<include>specifications/**</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/META-INF/jruby.home</directory>
<outputDirectory>/</outputDirectory>

0 comments on commit 71a145e

Please sign in to comment.