Re: repoclean howto

2005-07-18 Thread Brett Porter
Has this been submitted to JIRA?

On 6/29/05, Daniele Pizzoni [EMAIL PROTECTED] wrote:
 If you checkout repoclean from:
 
 http://svn.apache.org/repos/asf/maven/components/trunk/sandbox/repoclean
 
 (revision around 202170) and try to compile it you will find that you
 can't. That's because the dependencies are against snapshots that are
 not in sync anymore.
 
 I fixed the dependencies and made a patch (in attachment).
 
 To use repoclean look here:
 
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=111472885821255w=2
 
 bye
 Dan
 
 --
 Daniele Pizzoni [EMAIL PROTECTED]
 Metaware S.p.A.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



repoclean howto

2005-06-28 Thread Daniele Pizzoni
If you checkout repoclean from:

http://svn.apache.org/repos/asf/maven/components/trunk/sandbox/repoclean

(revision around 202170) and try to compile it you will find that you
can't. That's because the dependencies are against snapshots that are
not in sync anymore.

I fixed the dependencies and made a patch (in attachment).

To use repoclean look here:

http://marc.theaimsgroup.com/?l=turbine-maven-userm=111472885821255w=2

bye
Dan

-- 
Daniele Pizzoni [EMAIL PROTECTED]
Metaware S.p.A.
Index: install.sh
===
--- install.sh	(revision 202170)
+++ install.sh	(working copy)
@@ -38,31 +38,19 @@
 
 cp -f target/repoclean-1.0-SNAPSHOT.jar $1/lib
 
-version=`cat $2/plexus/plexus-container-default/1.0-alpha-3-SNAPSHOT/plexus-container-default-1.0-alpha-3-SNAPSHOT.version.txt`
+cp -f $2/plexus/plexus-container-default/1.0-alpha-3/plexus-container-default-1.0-alpha-3.jar $1/lib
 
-cp -f $2/plexus/plexus-container-default/1.0-alpha-3-SNAPSHOT/plexus-container-default-$version.jar $1/lib
 version=ERROR-IN-SCRIPT
-
 version=`cat $2/plexus/plexus-mail-sender-api/1.0-alpha-1-SNAPSHOT/plexus-mail-sender-api-1.0-alpha-1-SNAPSHOT.version.txt`
 cp -f $2/plexus/plexus-mail-sender-api/1.0-alpha-1-SNAPSHOT/plexus-mail-sender-api-$version.jar $1/lib
 version=ERROR-IN-SCRIPT
-
 version=`cat $2/plexus/plexus-mail-sender-simple/1.0-alpha-1-SNAPSHOT/plexus-mail-sender-simple-1.0-alpha-1-SNAPSHOT.version.txt`
 cp -f $2/plexus/plexus-mail-sender-simple/1.0-alpha-1-SNAPSHOT/plexus-mail-sender-simple-$version.jar $1/lib
-version=ERROR-IN-SCRIPT
 
 cp -f $2/classworlds/classworlds/1.1-alpha-1/classworlds-1.1-alpha-1.jar $1/lib
-
-version=`cat $2/org/apache/maven/maven-artifact/2.0-SNAPSHOT/maven-artifact-2.0-SNAPSHOT.version.txt`
-cp -f $2/org/apache/maven/maven-artifact/2.0-SNAPSHOT/maven-artifact-$version.jar $1/lib
-version=ERROR-IN-SCRIPT
-
-version=`cat $2/org/apache/maven/maven-model/2.0-SNAPSHOT/maven-model-2.0-SNAPSHOT.version.txt`
-cp -f $2/org/apache/maven/maven-model/2.0-SNAPSHOT/maven-model-$version.jar $1/lib
-version=ERROR-IN-SCRIPT
-
+cp -f $2/org/apache/maven/maven-artifact/2.0-alpha-2/maven-artifact-2.0-alpha-2.jar $1/lib
+cp -f $2/org/apache/maven/maven-model/2.0-alpha-2/maven-model-2.0-alpha-2.jar $1/lib
 cp -f $2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-2/wagon-provider-api-1.0-alpha-2.jar $1/lib
-
 cp -f $2/org/apache/maven/wagon/wagon-file/1.0-alpha-2/wagon-file-1.0-alpha-2.jar $1/lib
 
 echo Copying startup script, and changing its permissions to '+x'...
Index: pom.xml
===
--- pom.xml	(revision 202170)
+++ pom.xml	(working copy)
@@ -4,12 +4,12 @@
   artifactIdrepoclean/artifactId
   version1.0-SNAPSHOT/version
   nameMaven v3-to-v4 Repository Cleaner/name
-  
+
   dependencies
 dependency
   groupIdplexus/groupId
   artifactIdplexus-container-default/artifactId
-  version1.0-alpha-3-SNAPSHOT/version
+  version1.0-alpha-3/version
   scopecompile/scope
 /dependency
 dependency
@@ -39,13 +39,13 @@
 dependency
   groupIdorg.apache.maven/groupId
   artifactIdmaven-artifact/artifactId
-  version2.0-SNAPSHOT/version
+  version2.0-alpha-2/version
   scopecompile/scope
 /dependency
 dependency
   groupIdorg.apache.maven/groupId
   artifactIdmaven-model/artifactId
-  version2.0-SNAPSHOT/version
+  version2.0-alpha-2/version
   scopecompile/scope
 /dependency
 dependency
@@ -54,5 +54,26 @@
   version3.8.1/version
   scopetest/scope
 /dependency
+
+dependency
+  groupIdorg.apache.maven.wagon/groupId
+  artifactIdwagon-provider-api/artifactId
+  version1.0-alpha-2/version
+  scopeprovided/scope
+/dependency
+dependency
+  groupIdorg.apache.maven.wagon/groupId
+  artifactIdwagon-file/artifactId
+  version1.0-alpha-2/version
+  scopeprovided/scope
+/dependency
   /dependencies
+
+
+  build
+testSourceDirectory
+ ${basedir}/test.dummy
+/testSourceDirectory
+  /build
+
 /project

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]