Skip to content

Commit

Permalink
Make sure poms are published to local repo. You should probably delet…
Browse files Browse the repository at this point in the history
…e rm -Rf ~/.m2/repository ~/.ivy2/cache - see #143 and #144.
  • Loading branch information
aslakhellesoy committed Jan 17, 2012
1 parent bf86c03 commit 08ad99e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Alternatively you can define your own resolver:

## Documentation

There isn't any documentation yet apart from API docs. Documentation will be published when the first release candidate for 1.0.0 is ready.
There isn't any documentation yet apart from API docs. Documentation will be published before the final 1.0.0 release is ready.
If you are adventurous, check out the examples, read the code and ask specific questions on the Cucumber mailing list.

### API Docs
Expand All @@ -82,7 +82,7 @@ You will find an example in Git under examples/java-calculator. You should be ab

You'll need Ant installed

export ANT_OPTS=-XX:MaxPermSize=128m
export ANT_OPTS=-XX:MaxPermSize=512m
ant clean publish-local

This will compile everything, run JUnit tests and Cucumber scenarios - and finally install all jars in your local Maven repo.
Expand Down
8 changes: 4 additions & 4 deletions build-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
<jar destfile="${sources-jar}" basedir="src/main/java"/>
</target>

<target name="publish-local" depends="jar,test">
<ivy:publish resolver="local" pubrevision="${cucumber-jvm.version}" update="true" overwrite="true"
conf="default">
<artifacts pattern="target/artifacts/jars/[artifact].[ext]"/>
<target name="publish-local" depends="jar,test,makepom">
<ivy:publish resolver="local" pubrevision="${cucumber-jvm.version}" update="true" overwrite="true" publishivy="true"
artifactspattern="target/artifacts/[type]s/[artifact](-[classifier]).[ext]" conf="default">
<artifact name="${module}" ext="pom" type="pom"/>
</ivy:publish>
</target>

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.RC5
cucumber-jvm.version=1.0.0.RC6
gherkin.version=2.7.3
2 changes: 1 addition & 1 deletion core/src/main/resources/cucumber/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cucumber-jvm.version=1.0.0.RC5
cucumber-jvm.version=1.0.0.RC6
13 changes: 6 additions & 7 deletions examples/java-calculator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,35 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>info.cukes</groupId>
<artifactId>cucumber-jvm</artifactId>
<relativePath>../../pom.xml</relativePath>
<version>1.0.0.RC2-SNAPSHOT</version>
</parent>

<groupId>info.cukes</groupId>
<artifactId>java-calculator</artifactId>
<version>1.0.0.RC6</version>
<packaging>jar</packaging>
<name>Examples: Java Calculator</name>

<dependencies>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.picocontainer</groupId>
<artifactId>picocontainer</artifactId>
<version>2.14.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 08ad99e

Please sign in to comment.