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: b80a7c43727f
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 29c2f06cd846
Choose a head ref
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Sep 17, 2014

  1. Copy the full SHA
    ad377ab View commit details
  2. delete duplicated file

    mkristian committed Sep 17, 2014
    Copy the full SHA
    23ada52 View commit details
  3. Copy the full SHA
    29c2f06 View commit details
8 changes: 5 additions & 3 deletions maven/jruby-complete/pom.rb
Original file line number Diff line number Diff line change
@@ -20,8 +20,10 @@
'main.basedir' => '${project.parent.parent.basedir}',
'jruby.complete.home' => '${project.build.outputDirectory}/META-INF/jruby.home' )

jar 'org.jruby:jruby-core:${project.version}'
jar 'org.jruby:jruby-stdlib:${project.version}'
scope :provided do
jar 'org.jruby:jruby-core:${project.version}'
jar 'org.jruby:jruby-stdlib:${project.version}'
end

plugin( 'org.apache.felix:maven-bundle-plugin',
'archive' => {
@@ -33,7 +35,7 @@
'Export-Package' => 'org.jruby.*;version=${project.version}',
'Import-Package' => '!org.jruby.*, *;resolution:=optional',
'DynamicImport-Package' => 'javax.*',
'Embed-Dependency' => '*;type=jar;scope=compile|runtime;inline=true',
'Embed-Dependency' => '*;type=jar;scope=provided;inline=true',
'Embed-Transitive' => true,
'Private-Package' => '*,.',
'Bundle-Name' => 'JRuby ${project.version}',
4 changes: 3 additions & 1 deletion maven/jruby-complete/pom.xml
Original file line number Diff line number Diff line change
@@ -23,11 +23,13 @@
<groupId>org.jruby</groupId>
<artifactId>jruby-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-stdlib</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<pluginRepositories>
@@ -61,7 +63,7 @@
<Export-Package>org.jruby.*;version=${project.version}</Export-Package>
<Import-Package>!org.jruby.*, *;resolution:=optional</Import-Package>
<DynamicImport-Package>javax.*</DynamicImport-Package>
<Embed-Dependency>*;type=jar;scope=compile|runtime;inline=true</Embed-Dependency>
<Embed-Dependency>*;type=jar;scope=provided;inline=true</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
<Private-Package>*,.</Private-Package>
<Bundle-Name>JRuby ${project.version}</Bundle-Name>
17 changes: 7 additions & 10 deletions maven/jruby-stdlib/pom.rb
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
model_version '4.0.0'
id "org.jruby:jruby-stdlib:#{version}"
inherit "org.jruby:jruby-artifacts:#{version}"
packaging 'bundle'
packaging 'jar'

properties( 'tesla.dump.pom' => 'pom.xml',
'tesla.dump.readOnly' => true,
@@ -22,15 +22,7 @@
'gem.home' => '${jruby.basedir}/lib/ruby/gems/shared',
'jruby.complete.home' => '${project.build.outputDirectory}/META-INF/jruby.home' )

plugin( 'org.apache.felix:maven-bundle-plugin',
:instructions => {
'Bundle-Name' => 'JRuby Stdlib ${project.version}',
'Bundle-Description' => 'JRuby Stdlib ${project.version} OSGi bundle',
'Bundle-SymbolicName' => 'org.jruby.jruby-stdlib'
} ) do
# TODO fix DSL
@current.extensions = true
end
plugin( :jar, :archive => { :manifestFile => '${project.build.outputDirectory}/META-INF/MANIFEST.MF' } )

plugin( :source,
'skipSource' => 'true' )
@@ -101,6 +93,11 @@
excludes 'bin/jruby', 'bin/jruby*_*', 'bin/jruby*-*', '**/.*', 'lib/ruby/shared/rubygems/defaults/jruby_native.rb'
target_path '${jruby.complete.home}'
end

resource do
directory '${basedir}/src/main/resources'
filtering true
end
end

end
17 changes: 8 additions & 9 deletions maven/jruby-stdlib/pom.xml
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@
<version>1.7.16-SNAPSHOT</version>
</parent>
<artifactId>jruby-stdlib</artifactId>
<packaging>bundle</packaging>
<name>JRuby Stdlib</name>
<properties>
<jruby.complete.gems>${jruby.complete.home}/lib/ruby/gems/shared</jruby.complete.gems>
@@ -61,18 +60,18 @@
<exclude>lib/ruby/shared/rubygems/defaults/jruby_native.rb</exclude>
</excludes>
</resource>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<instructions>
<Bundle-Name>JRuby Stdlib ${project.version}</Bundle-Name>
<Bundle-Description>JRuby Stdlib ${project.version} OSGi bundle</Bundle-Description>
<Bundle-SymbolicName>org.jruby.jruby-stdlib</Bundle-SymbolicName>
</instructions>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
Binary file removed maven/jruby-stdlib/src/emtpy.jar
Binary file not shown.
12 changes: 12 additions & 0 deletions maven/jruby-stdlib/src/main/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Manifest-Version: 1.0
Bundle-Description: JRuby Stdlib @project.version@ OSGi bundle
Bundle-DocURL: http://jruby.org
Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html, htt
p://www.gnu.org/licenses/lgpl-3.0-standalone.html, http://www.eclipse.o
rg/legal/epl-v10.html
Bundle-ManifestVersion: 2
Bundle-Name: JRuby Stdlib @project.version@
Bundle-SymbolicName: org.jruby.jruby-stdlib
Bundle-Vendor: JRuby
Bundle-Version: @project.version@
Created-By: Apache Maven Bundle Plugin