- Revision
- 718
- Author
- mauro
- Date
- 2007-04-01 05:28:19 -0500 (Sun, 01 Apr 2007)
Log Message
Set version=1.1-SNAPSHOT post-release. Added Maven profile to upload released version of jbehave, which downloads version via wget from http://dist.codehaus.org/jbehave. Requires wget installed on system.
Modified Paths
Diff
Modified: trunk/build.xml (717 => 718)
--- trunk/build.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/build.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -1,5 +1,5 @@ <project name="jbehave" default="build"> - <property name="version" value="1.0-SNAPSHOT" /> + <property name="version" value="1.1-SNAPSHOT" /> <echo message="Building version ${version}..." /> <!-- modules -->
Modified: trunk/core/pom.xml (717 => 718)
--- trunk/core/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/core/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <parent> <groupId>org.jbehave</groupId> <artifactId>jbehave-parent</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>jbehave</artifactId> <packaging>jar</packaging> @@ -25,15 +25,11 @@ </goals> <configuration> <tasks> - <!-- Use with current snapshot/version --> - <ant antfile="build.xml" dir="../" target="build"/> + <!-- Use with snapshot version --> + <ant antfile="build.xml" dir="../" target="build-jar"/> <copy todir="${project.build.directory}/classes"> <fileset dir="../delete_me/classes"/> </copy> - <!-- Use with previously built version - <unzip src="" - dest="${project.build.directory}/classes"/> - --> </tasks> </configuration> </execution> @@ -41,4 +37,43 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <!-- released profile: + Downloads released version from http://dist.codehaus.org/jbehave. + Requires wget installed on system + --> + <id>released</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <phase>generate-resources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <property name="release.version" value="${pom.version}"/> + <exec executable="wget" newenvironment="false" dir="${basedir}" spawn="false" + failifexecutionfails="true" failonerror="true"> + <arg value="http://dist.codehaus.org/jbehave/${release.version}/jbehave-${release.version}.jar" /> + <arg value="--output-document=../lib/jbehave-${release.version}.jar" /> + </exec> + <unzip src="" + dest="${project.build.directory}/classes" /> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
Modified: trunk/plugins/maven/pom.xml (717 => 718)
--- trunk/plugins/maven/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/plugins/maven/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <parent> <groupId>org.jbehave</groupId> <artifactId>jbehave-parent</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> </parent> <artifactId>jbehave-maven-plugin</artifactId> <packaging>maven-plugin</packaging>
Modified: trunk/plugins/maven/src/it/pom.xml (717 => 718)
--- trunk/plugins/maven/src/it/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/plugins/maven/src/it/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <groupId>org.jbehave</groupId> <artifactId>jbehave-maven-plugin-it</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <packaging>pom</packaging> <name>jBehave Maven Plugin Integration Test Reactor</name>
Modified: trunk/plugins/maven/src/it/test1/pom.xml (717 => 718)
--- trunk/plugins/maven/src/it/test1/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/plugins/maven/src/it/test1/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <groupId>org.jbehave</groupId> <artifactId>jbehave-maven-plugin-it-test1</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <packaging>jar</packaging> <name>jBehave Maven Plugin Integration Test 1</name>
Modified: trunk/plugins/maven/src/it/test2/pom.xml (717 => 718)
--- trunk/plugins/maven/src/it/test2/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/plugins/maven/src/it/test2/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <groupId>org.jbehave</groupId> <artifactId>jbehave-maven-plugin-it-test2</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <packaging>jar</packaging> <name>jBehave Maven Plugin Integration Test 2</name>
Modified: trunk/plugins/maven/src/it/test3/pom.xml (717 => 718)
--- trunk/plugins/maven/src/it/test3/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/plugins/maven/src/it/test3/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <groupId>org.jbehave</groupId> <artifactId>jbehave-maven-plugin-it-test3</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <packaging>jar</packaging> <name>jBehave Maven Plugin Integration Test 3</name>
Modified: trunk/pom.xml (717 => 718)
--- trunk/pom.xml 2007-03-30 14:34:59 UTC (rev 717) +++ trunk/pom.xml 2007-04-01 10:28:19 UTC (rev 718) @@ -5,7 +5,7 @@ <groupId>org.jbehave</groupId> <artifactId>jbehave-parent</artifactId> <packaging>pom</packaging> - <version>1.0-SNAPSHOT</version> + <version>1.1-SNAPSHOT</version> <name>jBehave Parent</name> <inceptionYear>2003</inceptionYear>
To unsubscribe from this list please visit:
