From: <Jan...@us...> - 2007-03-09 09:37:39
|
Revision: 596 http://svn.sourceforge.net/magicmap/?rev=596&view=rev Author: Jan_fride Date: 2007-03-09 01:37:11 -0800 (Fri, 09 Mar 2007) Log Message: ----------- Added task to copy jar into local maven repository. Modified Paths: -------------- trunk/magicmapclient/build.xml Modified: trunk/magicmapclient/build.xml =================================================================== --- trunk/magicmapclient/build.xml 2007-03-07 23:37:34 UTC (rev 595) +++ trunk/magicmapclient/build.xml 2007-03-09 09:37:11 UTC (rev 596) @@ -6,8 +6,11 @@ <property name="jar.name" value="${application}.jar" /> <property name="main.class" value="net.sf.magicmap.client.core.MagicMapApplication" /> + <!-- Setting for maven path--> + <property name="maven.home" value="D:\_development\_Tools\maven-2.0.5"/> + <property name="server" value="../magicmapserver" /> <property name="build" value="build" /> <property name="build-test" value="build-test" /> @@ -148,4 +151,15 @@ </copy> </target> + <!-- Setting for maven path must be checked.--> + <target name="maven-install"> + <exec executable="${maven.home}/bin/mvn.bat"> + <arg value="install:install-file"/> + <arg value="-Dfile=magicmap.jar"/> + <arg value="-DgroupId=net.sf.magicmap"/> + <arg value="-DartifactId=magicmapclient"/> + <arg value="-Dversion=${version.number}"/> + <arg value="-Dpackaging=jar"/> + </exec> + </target> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |