Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

97 lines (94 sloc) 3.555 kb
<!--
http://binil.wordpress.com/2008/10/29/running-cucumber-on-jrubymaven/
-->
<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>
<groupId>test</groupId>
<artifactId>cucumbertest</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>1.1.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<classpath refid="maven.test.classpath"/>
<arg line="-S rake features"/>
</java>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>install-gems</id>
<activation>
<file>
<missing>${user.home}/.gem/jruby/1.8/gems/cucumber-0.1.16</missing>
</file>
</activation>
<build>
<defaultGoal>initialize</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<arg line="-S gem install jruby-openssl --no-ri --no-rdoc --no-test"/>
</java>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<arg line="-S gem install diff-lcs --no-ri --no-rdoc --no-test"/>
</java>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<arg line="-S gem install hoe --no-ri --no-rdoc --no-test"/>
</java>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<arg line="-S gem install cucumber --no-ri --no-rdoc"/>
</java>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<arg line="-S gem install celerity --no-ri --no-rdoc"/>
</java>
<java classname="org.jruby.Main" fork="true">
<classpath refid="maven.compile.classpath"/>
<arg line="-S gem install rspec --no-ri --no-rdoc"/>
</java>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Jump to Line
Something went wrong with that request. Please try again.