You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by og...@apache.org on 2009/02/18 01:25:15 UTC
svn commit: r745311 - in /maven/components/trunk: build-mercury.xml
mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar
Author: ogusakov
Date: Wed Feb 18 00:25:15 2009
New Revision: 745311
URL: http://svn.apache.org/viewvc?rev=745311&view=rev
Log:
[MNG-3969] intermediate commit - need help to identify stax problem
Added:
maven/components/trunk/mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar (with props)
Modified:
maven/components/trunk/build-mercury.xml
Modified: maven/components/trunk/build-mercury.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/build-mercury.xml?rev=745311&r1=745310&r2=745311&view=diff
==============================================================================
--- maven/components/trunk/build-mercury.xml (original)
+++ maven/components/trunk/build-mercury.xml Wed Feb 18 00:25:15 2009
@@ -35,7 +35,7 @@
<target name="initTaskDefs">
<xmlproperty file="pom.xml" prefix="pom.xml" />
- <path id="mercury-ant-tasks.classpath" path="mercury-ant-tasks-1.0.0-alpha-4-SNAPSHOT.jar"/>
+ <path id="mercury-ant-tasks.classpath" path="mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar"/>
<typedef resource="org/apache/maven/mercury/ant/tasks/antlib.xml" uri="urn:mercury-ant-tasks" classpathref="mercury-ant-tasks.classpath"/>
</target>
@@ -78,24 +78,29 @@
<copy file="pom.xml" tofile="dependencies.xml"/>
<replace file="${basedir}/dependencies.xml" token="<!--start-->" value="<!--"/>
<replace file="${basedir}/dependencies.xml" token="<!--end-->" value="-->"/>
+
+ <delete file="${basedir}/dependencies.xml"/>
- <mercury:resolve-dependencies source="maven:pom.xml" id="pom">
- <mercury:local-repository location="${maven.repo.local}"/>
- </mercury:resolve-dependencies>
+ <mercury:local-repository location="${maven.repo.local}"/>
- <delete file="${basedir}/dependencies.xml"/>
+ <mercury:resolve-dependencies>
+ <mercury:dependency id="org.apache.maven:maven:3.0-SNAPSHOT::pom" source="maven:${basedir}/pom.xml"/>
+ </mercury:resolve-dependencies>
- <!-- Pull the dependencies for Modello -->
- <mercury:resolve-dependencies id="modello">
- <mercury:local-repository location="${maven.repo.local}"/>
+ <mercury:resolve-dependencies>
+ <mercury:dependency id="org.codehaus.plexus:plexus-component-metadata:${pom.properties.plexusVersion}"/>
+ </mercury:resolve-dependencies>
+
+ <!-- Pull the dependencies for Modello
<mercury:dependency groupId="org.codehaus.modello" artifactId="modello-maven-plugin" version="${pom.properties.modelloVersion}"/>
</mercury:resolve-dependencies>
+ -->
- <!-- Pull the dependencies for the MetadataGenerator CLI -->
+ <!-- Pull the dependencies for the MetadataGenerator CLI
<mercury:resolve-dependencies id="pmdg">
- <mercury:local-repository path="${maven.repo.local}"/>
<mercury:dependency groupId="org.codehaus.plexus" artifactId="plexus-component-metadata" version="${pom.properties.plexusVersion}"/>
- </mercury:resolve-dependencies>
+ </mercury:resolve-dependencies>
+ -->
</target>
<target name="process-classes" depends="pull" description="generates plexus component metadata.">
@@ -104,9 +109,8 @@
<path id="maven.classpath">
<pathelement location="bootstrap/target/classes"/>
- <path refid="sources"/>
- <path refid="pom.pathid"/>
- <path refid="pmdg.pathid"/>
+ <path refid="sources"/>
+ <path refid="mercury.classpath"/>
</path>
<echo>Using plexus version ${pom.properties.plexusVersion}</echo>
@@ -136,8 +140,7 @@
<attribute name="mode"/>
<attribute name="version"/>
<sequential>
- <java fork="fork" classname="org.codehaus.modello.ModelloCli" failonerror="true">
- <classpath refid="modello.pathid"/>
+ <java fork="fork" classname="org.codehaus.modello.ModelloCli" failonerror="true" classpathref="mercury.classpath">
<arg file="@{file}"/>
<arg value="@{mode}"/>
<arg file="bootstrap/target/generated-sources"/>
Added: maven/components/trunk/mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar?rev=745311&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/components/trunk/mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream