kschrader 02/05/07 09:25:08
Modified: . build.xml
src/templates/build build-maven.xml build.xml
Log:
Adding back in the maven:update-jars task.
Revision Changes Path
1.32 +5 -1 jakarta-turbine-maven/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/build.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- build.xml 7 May 2002 16:09:39 -0000 1.31
+++ build.xml 7 May 2002 16:25:08 -0000 1.32
@@ -155,7 +155,11 @@
<target name="maven:check-source">
<ant antfile="${maven.home}/build-maven.xml" target="check-source"/>
</target>
-
+
+ <target name="maven:update-jars">
+ <ant antfile="${maven.home}/build-maven.xml" target="update-jars"/>
+ </target>
+
<target name="maven:announce">
<ant antfile="${maven.home}/build-maven.xml" target="announce"/>
</target>
1.46 +42 -0 jakarta-turbine-maven/src/templates/build/build-maven.xml
Index: build-maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-maven.xml,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- build-maven.xml 7 May 2002 16:09:40 -0000 1.45
+++ build-maven.xml 7 May 2002 16:25:08 -0000 1.46
@@ -42,6 +42,48 @@
</target>
<!-- ================================================================== -->
+ <!-- U P D A T E J A R S -->
+ <!-- ================================================================== -->
+
+ <target
+ name="update-jars"
+ description="o Update JARs required for building"
+
depends="project-properties,load-default-properties,update-jars-proxy,update-jars-noproxy">
+ </target>
+
+ <target
+ name="prepare.update.httpget">
+
+ <taskdef
+ name="httpget"
+ className="org.apache.maven.UpdateResources">
+ <classpath refid="maven-classpath"/>
+ </taskdef>
+ </target>
+
+ <target
+ name="update-jars-noproxy"
+ unless="proxy.host"
+ depends="prepare.update.httpget">
+
+ <httpget
+ projectDescriptor="project.xml"
+ baseUrl="${maven.repo.remote}"
+ dest="${lib.repo}"
+ />
+ </target>
+
+ <target name="update-jars-proxy" if="proxy.host" depends="prepare.update.httpget">
+ <httpget
+ projectDescriptor="project.xml"
+ baseUrl="http://jakarta.apache.org/turbine/jars/"
+ dest="${lib.repo}"
+ proxyHost="${proxy.host}"
+ proxyPort="${proxy.port}"
+ />
+ </target>
+
+ <!-- ================================================================== -->
<!-- U P D A T E M A V E N -->
<!-- ================================================================== -->
1.35 +5 -1 jakarta-turbine-maven/src/templates/build/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- build.xml 7 May 2002 16:09:40 -0000 1.34
+++ build.xml 7 May 2002 16:25:08 -0000 1.35
@@ -113,7 +113,11 @@
<target name="maven:check-source">
<ant antfile="$mavenDirectory/build-maven.xml" target="check-source"/>
</target>
-
+
+ <target name="maven:update-jars">
+ <ant antfile="$mavenDirectory/build-maven.xml" target="update-jars"/>
+ </target>
+
<target name="maven:announce">
<ant antfile="$mavenDirectory/build-maven.xml" target="announce"/>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>