You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2007/08/17 08:01:01 UTC

svn commit: r566927 - in /maven/components/trunk: build.properties build.xml maven-core/pom.xml maven-project/pom.xml pom.xml

Author: jvanzyl
Date: Thu Aug 16 23:01:00 2007
New Revision: 566927

URL: http://svn.apache.org/viewvc?view=rev&rev=566927
Log:
o now that i can get online, i can adjust for the movement of m-a

Modified:
    maven/components/trunk/build.properties
    maven/components/trunk/build.xml
    maven/components/trunk/maven-core/pom.xml
    maven/components/trunk/maven-project/pom.xml
    maven/components/trunk/pom.xml

Modified: maven/components/trunk/build.properties
URL: http://svn.apache.org/viewvc/maven/components/trunk/build.properties?view=diff&rev=566927&r1=566926&r2=566927
==============================================================================
--- maven/components/trunk/build.properties (original)
+++ maven/components/trunk/build.properties Thu Aug 16 23:01:00 2007
@@ -19,6 +19,7 @@
 plexus-active-collections.version=1.0-beta-1
 plexus.version=1.0-alpha-30
 plexus-utils.version=1.4.5
+maven-artifact.version=3.0-SNAPSHOT
 commons-cli.version=1.0
 wagon.version=1.0-beta-2
 doxia.version=1.0-alpha-9-SNAPSHOT

Modified: maven/components/trunk/build.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/build.xml?view=diff&rev=566927&r1=566926&r2=566927
==============================================================================
--- maven/components/trunk/build.xml (original)
+++ maven/components/trunk/build.xml Thu Aug 16 23:01:00 2007
@@ -137,6 +137,7 @@
     <pull orgpath="org/codehaus/modello/modello-plugin-jdom" version="${modello.version}" name="modello-plugin-jdom" repository="codehaus"/>
     <pull orgpath="junit/junit" version="${junit.version}" name="junit"/>
     <pull orgpath="jdom/jdom" version="${jdom.version}" name="jdom"/>
+    <pull orgpath="org/apache/maven/artifact/maven-artifact" version="${maven-artifact.version}" name="maven-artifact"/>    
   </target>
 
   <target name="classpath-pre" depends="init,pull"
@@ -162,7 +163,9 @@
       <pathelement location="${maven.repo.local}/org/apache/maven/doxia/doxia-sink-api/${doxia.version}/doxia-sink-api-${doxia.version}.jar"/>
       <pathelement location="${maven.repo.local}/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
       <pathelement location="${maven.repo.local}/jdom/jdom/${jdom.version}/jdom-${jdom.version}.jar"/>
+      <pathelement location="${maven.repo.local}/org/apache/maven/artifact/maven-artifact/${maven-artifact.version}/maven-artifact-${maven-artifact.version}.jar"/>
     </path>
+    
     <!-- DGF Need to keep these modello classes out of the system classpath at runtime, because different parts of the build
          need different versions of modello.  -->
     <path id="modello.classpath">
@@ -221,7 +224,6 @@
     <modello file="maven-plugin-descriptor/src/main/mdo/lifecycle.mdo"/>
     <modello file="maven-plugin-parameter-documenter/src/main/mdo/paramdoc.mdo"/>
     <modello file="maven-profile/profiles.mdo"/>
-    <modello file="maven-artifact/src/main/mdo/metadata.mdo"/>
     <modello file="maven-settings/src/main/mdo/settings.mdo"/>
   </target>
 
@@ -277,9 +279,6 @@
       <classpath refid="maven.classpath"/>
       <arg value="-e"/>
       <arg value="-B"/>
-<!--
-      <arg value="-X"/>
- -->
       <arg value="clean"/>
       <arg value="install"/>
     </java>
@@ -292,56 +291,6 @@
     The new Maven distribution was created as part of the MAVEN-COMPILE step, above. 
     This goal just validates the presence of that distribution.
     </echo>
-    
-<!--
-    <echo>
-    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-    MAVEN-ASSEMBLY
-
-    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-    </echo>
-
-    <delete>
-      <fileset dir="bootstrap/lib" includes="*.pom,maven*.jar,modello*.jar,junit*.jar"/>
-    </delete>
-
-    <mkdir dir="bootstrap/boot"/>
-    <copy todir="bootstrap/boot">
-      <fileset dir="bootstrap/lib">
-        <include name="plexus-classworlds*.jar"/>
-      </fileset>
-    </copy>
-
-    <delete>
-      <fileset dir="bootstrap/lib">
-        <include name="plexus-classworlds*.jar"/>
-      </fileset>
-    </delete>
-
-<echo file="bootstrap/m2.conf">
-main is org.apache.maven.cli.MavenCli from plexus.core
-
-[plexus.core]
-load ${bootstrapDir}/lib/*.jar
-load ${bootstrapDir}/target/classes
-</echo>
-
-    <property name="maven.goals" value="clean assembly:assembly"/>
-    <property name="bootstrapDir" value="${basedir}/bootstrap"/>
-    <java dir="maven-embedder" classname="org.codehaus.classworlds.Launcher" fork="true" failonerror="true">
-      <classpath>
-        <fileset dir="${bootstrapDir}/boot" includes="plexus-classworlds-*.jar"/>
-        <path refid="sources"/>
-      </classpath>
-      <sysproperty key="classworlds.conf" value="${bootstrapDir}/m2.conf"/>
-      <sysproperty key="bootstrapDir" value="${bootstrapDir}"/>
-      <arg value="-e"/>
-      <arg line="${maven.goals}"/>
-    </java>
-    
- -->
-
     <property name="maven.assembly" location="maven-embedder/target/${maven.home.basename.expected}-bin.zip"/>
     <condition property="build.failed">
       <not>
@@ -449,7 +398,6 @@
     <copy file="${maven.repo.local}/${orgpath}/${version}/${name}-${version}.${type}" todir="bootstrap/lib"/>
 
     <echo>Resolved version ${fileversion} (given=${version})</echo>
-
 
     <condition property="build.failed">
       <not>

Modified: maven/components/trunk/maven-core/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/pom.xml?view=diff&rev=566927&r1=566926&r2=566927
==============================================================================
--- maven/components/trunk/maven-core/pom.xml (original)
+++ maven/components/trunk/maven-core/pom.xml Thu Aug 16 23:01:00 2007
@@ -66,9 +66,8 @@
       <version>2.1-SNAPSHOT</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.maven</groupId>
+      <groupId>org.apache.maven.artifact</groupId>
       <artifactId>maven-artifact</artifactId>
-      <version>2.1-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>

Modified: maven/components/trunk/maven-project/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/pom.xml?view=diff&rev=566927&r1=566926&r2=566927
==============================================================================
--- maven/components/trunk/maven-project/pom.xml (original)
+++ maven/components/trunk/maven-project/pom.xml Thu Aug 16 23:01:00 2007
@@ -57,9 +57,8 @@
       <artifactId>plexus-utils</artifactId>
     </dependency>
     <dependency>
-      <groupId>org.apache.maven</groupId>
+      <groupId>org.apache.maven.artifact</groupId>
       <artifactId>maven-artifact</artifactId>
-      <version>2.1-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>

Modified: maven/components/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=diff&rev=566927&r1=566926&r2=566927
==============================================================================
--- maven/components/trunk/pom.xml (original)
+++ maven/components/trunk/pom.xml Thu Aug 16 23:01:00 2007
@@ -110,7 +110,6 @@
     </plugins>
   </build>
   <modules>
-    <module>maven-artifact</module>
     <module>maven-build-context</module>
     <module>maven-core</module>
     <module>maven-error-diagnostics</module>
@@ -181,6 +180,11 @@
         <artifactId>wagon-ssh-external</artifactId>
         <version>${wagonVersion}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.maven.artifact</groupId>
+        <artifactId>maven-artifact</artifactId>
+        <version>3.0-SNAPSHOT</version>
+      </dependency>      
       <dependency>
         <groupId>easymock</groupId>
         <artifactId>easymock</artifactId>