Skip to content

Commit

Permalink
Release 1.0.0.RC4
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jan 16, 2012
1 parent d8c6b73 commit 5709ae5
Show file tree
Hide file tree
Showing 27 changed files with 89 additions and 55 deletions.
9 changes: 9 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 1.0.0.RC4

* [ALL] Fixed transitive dependencies in POM files ([#140](https://github.com/cucumber/cucumber-jvm/issues/140))
* [ALL] Use a dot (not a hyphen) in RC version names. Required for JRuby gem.
* [ALL] Started tagging repo after release.

## 1.0.0-RC3

* First proper release
11 changes: 7 additions & 4 deletions build-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
</target>

<target name="publish-local" depends="jar,test">
<ivy:publish resolver="local" pubrevision="${cucumber-jvm-version}" update="true" overwrite="true"
<ivy:publish resolver="local" pubrevision="${cucumber-jvm.version}" update="true" overwrite="true"
conf="default">
<artifacts pattern="target/artifacts/jars/[artifact].[ext]"/>
</ivy:publish>
Expand All @@ -158,15 +158,18 @@
<target name="publish-artifacts" depends="test,publish-local"/>

<target name="makepom" depends="-init-ivy" description="Generate POM">
<!--ivy:deliver deliverpattern="ivy.xml" pubrevision="${cucumber-jvm-version}" status="release"/-->
<ivy:makepom ivyfile="ivy.xml" pomfile="${module-pom}" templatefile="${common-basedir}/template.pom" artifactName="${module}"/>
<!--ivy:deliver deliverpattern="ivy.xml" pubrevision="${cucumber-jvm.version}" status="release"/-->
<ivy:makepom ivyfile="ivy.xml" pomfile="${module-pom}" templatefile="${common-basedir}/template.pom" artifactName="${module}">
<mapping conf="default" scope="compile"/>
<mapping conf="test" scope="test"/>
</ivy:makepom>
</target>

<target name="publish-nexus" depends="packages,jar-sources,jar-javadoc,makepom,do-publish-nexus" description="Upload to Nexus"/>

<target name="do-publish-nexus" depends="-init-ivy" description="Upload to Nexus">
<ivy:settings id="upload.settingsId" file="${common-basedir}/ivy-settings-release.xml"/>
<ivy:publish resolver="nexus" pubrevision="${cucumber-jvm-version}" overwrite="true" publishivy="false"
<ivy:publish resolver="nexus" pubrevision="${cucumber-jvm.version}" overwrite="true" publishivy="false"
artifactspattern="target/artifacts/[type]s/[artifact](-[classifier]).[ext]" settingsRef="upload.settingsId">
<artifact name="${module}" ext="pom" type="pom"/>
<artifact name="${module}" ext="jar" type="jar" classifier="sources"/>
Expand Down
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cucumber-jvm-version=1.0.0.RC4
cucumber-jvm-version=1.0.0.RC3
gherkin.version=2.7.3
6 changes: 3 additions & 3 deletions clojure/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-clojure" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-clojure" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,10 +11,10 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="clojure" org="org.clojure" rev="1.4.0-alpha3" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
4 changes: 4 additions & 0 deletions core/build.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<project name="cucumber-core" default="test">
<import file="../build-common.xml" />

<target name="generate" description="Generate sources">
<echo file="src/main/resources/cucumber/version.properties">cucumber-jvm.version=${cucumber-jvm.version}</echo>
</target>
</project>
1 change: 1 addition & 0 deletions core/cucumber-core.iml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
Expand Down
2 changes: 1 addition & 1 deletion core/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-core" revision="${cucumber-jvm-version}" status="release" publication="20120112221234"/>
<info organisation="info.cukes" module="cucumber-core" revision="${cucumber-jvm.version}" status="release" publication="20120112221234"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand Down
5 changes: 3 additions & 2 deletions core/src/main/java/cucumber/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;

import static java.util.Arrays.asList;

public class Main {
private static final String USAGE = "HELP";
private static final String VERSION = "1.0.0"; // TODO: get this from a file
private static final String USAGE = "TODO - Write the help";
static final String VERSION = ResourceBundle.getBundle("cucumber.version").getString("cucumber-jvm.version");

public static void main(String[] argv) throws Throwable {
List<String> featurePaths = new ArrayList<String>();
Expand Down
1 change: 1 addition & 0 deletions core/src/main/resources/cucumber/version.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cucumber-jvm.version=1.0.0.RC4
13 changes: 13 additions & 0 deletions core/src/test/java/cucumber/cli/MainTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package cucumber.cli;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class MainTest {
@Test
public void has_version_from_properties_file() {
assertEquals("1.0.0.RC4", Main.VERSION);
}

}
2 changes: 1 addition & 1 deletion core/src/test/java/cucumber/io/ResourceLoaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void loads_resource_from_filesystem_file() {
@Test
public void loads_resources_from_jar_on_classpath() throws IOException {
Iterable<Resource> files = new ClasspathResourceLoader().resources("cucumber", ".properties");
assertEquals(3, toList(files).size());
assertEquals(4, toList(files).size());
}

private <T> List<T> toList(Iterable<T> it) {
Expand Down
6 changes: 3 additions & 3 deletions groovy/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-groovy" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-groovy" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -16,10 +16,10 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="groovy-all" org="org.codehaus.groovy" rev="2.0.0-beta-2" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>

<dependency name="jarjar" org="com.googlecode.jarjar" rev="1.1" conf="build"/>
Expand Down
6 changes: 3 additions & 3 deletions guice/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-guice" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-guice" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,10 +11,10 @@
</publications>

<dependencies>
<dependency name="cucumber-java" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-java" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="guice" org="com.google.inject" rev="3.0" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
6 changes: 3 additions & 3 deletions ioke/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-ioke" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-ioke" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,11 +11,11 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="ioke-lang" org="org.ioke" rev="P-0.4.0-p11" conf="default"/>
<dependency name="ioke-lang-lib" org="org.ioke" rev="P-0.4.0-p11" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
6 changes: 3 additions & 3 deletions java/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-java" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-java" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -12,9 +12,9 @@
</publications>

<dependencies>
<dependency name="cucumber-core" conf="default" rev="${cucumber-jvm-version}"/>
<dependency name="cucumber-core" conf="default" rev="${cucumber-jvm.version}"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>

<dependency name="groovy-all" org="org.codehaus.groovy" rev="2.0.0-beta-2" conf="build"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def write_build_files

write_file('ivy.xml', <<-EOF)
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-tck" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-tck" revision="${cucumber-jvm.version}"/>
<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -42,9 +42,9 @@ def write_build_files
</publications>
<dependencies>
<dependency name="cucumber-picocontainer" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-picocontainer" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
</dependencies>
</ivy-module>
EOF
Expand Down
2 changes: 1 addition & 1 deletion jruby/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<exec executable="${env.JRUBY_HOME}/bin/jruby">
<arg file="${env.JRUBY_HOME}/bin/gem"/>
<arg value="push"/>
<arg file="cucumber-jvm-${cucumber-jvm-version}-java.gem"/>
<arg file="cucumber-jvm-${cucumber-jvm.version}-java.gem"/>
</exec>
</target>

Expand Down
4 changes: 3 additions & 1 deletion jruby/cucumber-jvm.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# -*- encoding: utf-8 -*-

version = IO.read(File.dirname(__FILE__) + '/../build.properties').match(/^\s*cucumber-jvm\.version\s*=\s*(.*)$/n)[1].strip

Gem::Specification.new do |s|
s.name = 'cucumber-jvm'
s.version = '1.0.0.RC3'
s.version = "#{version}"
s.authors = ['Aslak Hellesøy']
s.description = 'Cucumber-JVM for JRuby'
s.summary = "#{s.name}-#{s.version}"
Expand Down
6 changes: 3 additions & 3 deletions jruby/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-jruby" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-jruby" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -12,10 +12,10 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="jruby-complete" org="org.jruby" rev="1.6.5.1" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>

<dependency name="jarjar" org="com.googlecode.jarjar" rev="1.1" conf="build"/>
Expand Down
4 changes: 2 additions & 2 deletions junit/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-junit" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-junit" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,7 +11,7 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="junit" org="junit" rev="4.10" conf="default"/>

<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
Expand Down
6 changes: 3 additions & 3 deletions jython/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-jython" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-jython" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,10 +11,10 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="jython-standalone" org="org.python" rev="2.5.2" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
6 changes: 3 additions & 3 deletions openejb/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-openejb" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-openejb" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,10 +11,10 @@
</publications>

<dependencies>
<dependency name="cucumber-java" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-java" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="openejb-core" org="org.apache.openejb" rev="4.0.0-beta-2-SNAPSHOT" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
6 changes: 3 additions & 3 deletions picocontainer/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-picocontainer" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-picocontainer" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,10 +11,10 @@
</publications>

<dependencies>
<dependency name="cucumber-java" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-java" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="picocontainer" org="org.picocontainer" rev="2.14.1" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
6 changes: 3 additions & 3 deletions rhino/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-rhino" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-rhino" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -11,10 +11,10 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="js" org="rhino" rev="1.7R2" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
</dependencies>
</ivy-module>
6 changes: 3 additions & 3 deletions scala/ivy.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ivy-module version="2.0">
<info organisation="info.cukes" module="cucumber-scala" revision="${cucumber-jvm-version}"/>
<info organisation="info.cukes" module="cucumber-scala" revision="${cucumber-jvm.version}"/>

<configurations defaultconfmapping="*->default">
<conf name="default"/>
Expand All @@ -12,11 +12,11 @@
</publications>

<dependencies>
<dependency name="cucumber-core" rev="${cucumber-jvm-version}" conf="default"/>
<dependency name="cucumber-core" rev="${cucumber-jvm.version}" conf="default"/>
<dependency name="scala-library" org="org.scala-lang" rev="2.9.1" conf="default"/>
<dependency name="scala-compiler" org="org.scala-lang" rev="2.9.1" conf="default"/>

<dependency name="cucumber-junit" rev="${cucumber-jvm-version}" conf="test"/>
<dependency name="cucumber-junit" rev="${cucumber-jvm.version}" conf="test"/>
<dependency name="mockito-all" org="org.mockito" rev="1.9.0" conf="test"/>
<dependency name="groovy-all" org="org.codehaus.groovy" rev="2.0.0-beta-2" conf="build"/>
</dependencies>
Expand Down
Loading

0 comments on commit 5709ae5

Please sign in to comment.