Permalink
Browse files

Update version to 1.0.0.20130320-M4 and modify the distribution ant b…

…uild so that it does not need to know about version
  • Loading branch information...
1 parent e60303f commit 849518ba81ee9c5b683b8f86087ec371c5f1250b objectiser committed Mar 20, 2013
@@ -20,19 +20,18 @@
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
-<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">
+<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>org.overlord.gadgets.server</groupId>
<artifactId>distribution</artifactId>
<packaging>pom</packaging>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.20130320-M4</version>
<name>Gadget Server::Distribution</name>
<parent>
<groupId>org.overlord.gadgets.server</groupId>
<artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.20130320-M4</version>
</parent>
<properties>
@@ -51,6 +51,7 @@
<include>org.overlord.gadgets.server:gadget-web:war</include>
<include>org.overlord.gadgets.server:gadgets:war</include>
</includes>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
<dependencySet>
@@ -5,14 +5,13 @@
<!-- DEFAULT PROPERTY VALUES -->
<property name="as7.home" value="/Users/jeffyu/deploy/switchyard-as7-0.7" />
<property name="deploy.dir" value="${as7.home}/standalone/deployments" />
- <property name="version" value="1.0.0-SNAPSHOT" />
<property name="database" value="h2"/>
<target name="deploy" description="Deploys the Gadget Server">
<echo message="Deploying the Gadget Server" />
- <copy file="modules/gadget-server-${version}.war" toFile="${deploy.dir}/gadget-server.war" overwrite="true" />
- <copy file="modules/gadget-web-${version}.war" toFile="${deploy.dir}/gadget-web.war" overwrite="true" />
- <copy file="modules/gadgets-${version}.war" toFile="${deploy.dir}/gadgets.war" overwrite="true" />
+ <copy file="modules/gadget-server.war" toFile="${deploy.dir}/gadget-server.war" overwrite="true" />
+ <copy file="modules/gadget-web.war" toFile="${deploy.dir}/gadget-web.war" overwrite="true" />
+ <copy file="modules/gadgets.war" toFile="${deploy.dir}/gadgets.war" overwrite="true" />
<antcall target="internal.install.gs.db.${database}" />
View
@@ -1,5 +1,4 @@
-<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">
+<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>org.overlord.gadgets.server</groupId>
<artifactId>gadget-core</artifactId>
@@ -9,7 +8,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.overlord.gadgets.server</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.20130320-M4</version>
</parent>
<dependencies>
@@ -1,5 +1,4 @@
-<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">
+<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>org.overlord.gadgets.server</groupId>
<artifactId>gadget-server</artifactId>
@@ -9,7 +8,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.overlord.gadgets.server</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0.20130320-M4</version>
</parent>
<dependencies>
Oops, something went wrong.

0 comments on commit 849518b

Please sign in to comment.