Skip to content

Commit

Permalink
Merge pull request #880 from jendave/site-all
Browse files Browse the repository at this point in the history
Fix parent hierarchies and plugins for the 'all' profile
  • Loading branch information
mkristian committed Jul 11, 2013
2 parents 2c6e1fc + 8dcbbfe commit cddf8fa
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 14 deletions.
7 changes: 7 additions & 0 deletions maven/joda-timezones/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
</parent>
<groupId>org.jruby</groupId>
<artifactId>joda-timezones</artifactId>
<version>2013d</version>
<name>JRuby Joda Timezones</name>
<packaging>jar</packaging>

<dependencies>
Expand All @@ -21,6 +27,7 @@
<tzdata.ftpserver>ftp.iana.org</tzdata.ftpserver>
<tzdata.ftp.dir>/tz/releases</tzdata.ftp.dir>
<tzdata.tar.gz>${project.build.directory}/tzdata-${project.version}.tar.gz</tzdata.tar.gz>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>
<build>
<plugins>
Expand Down
7 changes: 5 additions & 2 deletions maven/jruby-complete/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jruby-complete</artifactId>
<packaging>jar</packaging>
<name>JRuby Complete</name>

<properties>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>org.jruby</groupId>
Expand Down
7 changes: 5 additions & 2 deletions maven/jruby-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jruby-dist</artifactId>
<packaging>pom</packaging>
<name>JRuby Dist</name>

<properties>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>org.jruby</groupId>
Expand Down
13 changes: 10 additions & 3 deletions maven/jruby-osgi-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,27 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>shared</artifactId>
<version>1.7.4.dev</version>
<relativePath>../../pom.xml</relativePath>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jruby-osgi-test</artifactId>
<name>JRuby OSGI Test</name>

<properties>
<exam.version>3.0.3</exam.version>
<url.version>1.5.2</url.version>
<logback.version>1.0.13</logback.version>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>5.0.0</version>
</dependency>

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-forked</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.jruby.embed.LocalVariableBehavior;
import org.jruby.embed.osgi.OSGiScriptingContainer;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.Option;
Expand All @@ -48,6 +49,7 @@
/**
* @author ajuckel
*/
@Ignore
@RunWith(PaxExam.class)
public class JRubyOsgiEmbedTest {
private static final String SCRIPT_RESULT = "Foo!!!!!!!";
Expand All @@ -58,6 +60,7 @@ public Option[] config() {
return options(junitBundles(), bundle(f.toURI().toString()));
}

@Ignore
@Test
public void testJRubyCreate() throws InterruptedException {
Bundle b = FrameworkUtil.getBundle(JRubyOsgiEmbedTest.class);
Expand Down
6 changes: 4 additions & 2 deletions maven/jruby-rake-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jruby.plugins</groupId>
<artifactId>jruby-rake-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>JRuby Rake Plugin</name>
<properties>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
4 changes: 2 additions & 2 deletions maven/jruby-stdlib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jruby-stdlib</artifactId>
Expand All @@ -32,6 +31,7 @@
<jruby.complete.home>${project.build.outputDirectory}/META-INF/jruby.home</jruby.complete.home>
<jruby.complete.gems>${jruby.complete.home}/lib/ruby/gems/shared</jruby.complete.gems>
<gem.home>${jruby.basedir}/lib/ruby/gems/shared</gem.home>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>

<build>
Expand Down
4 changes: 2 additions & 2 deletions maven/jruby/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jruby</artifactId>
Expand All @@ -26,6 +25,7 @@
</dependencies>
<properties>
<jruby.basedir>${basedir}/../../</jruby.basedir>
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>
<build>
<plugins>
Expand Down
4 changes: 3 additions & 1 deletion maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<groupId>org.jruby</groupId>
<artifactId>jruby-parent</artifactId>
<version>1.7.5.dev</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jruby-artifacts</artifactId>
<version>1.7.5.dev</version>
<packaging>pom</packaging>
<name>JRuby Artifacts</name>

Expand All @@ -21,6 +21,8 @@
<module>jruby-complete</module>
<module>jruby-rake-plugin</module>
<module>jruby-dist</module>
<module>joda-timezones</module>
<module>jruby-osgi-test</module>
</modules>
</profile>
<profile>
Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@
<version>2.15</version>
</plugin>

<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.2</version>
</plugin>

<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.8</version>
</plugin>

<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
Expand Down

0 comments on commit cddf8fa

Please sign in to comment.