You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andy Glick <an...@acm.org> on 2005/08/29 09:14:21 UTC

[M2] Problem building repoclean

I've been having difficulty building repoclean for a number of days, and I get the same error message every time:

[INFO] -------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] -------------------------------------------------------------------------
[INFO] Main Error:
  Unable to download the artifact from any repository
  org.apache.maven:maven-model:2.0-beta-1-20050721.102753-1:jar

from the specified remote repositories:
  http://repo1.maven.org/maven2, http://snapshots.maven.codehaus.org/maven2/
Path to dependency:
        1) org.apache.maven:repoclean:jar:1.0-SNAPSHOT
        2) org.apache.maven:maven-model:jar:all:2.0-beta-1-SNAPSHOT

I'm not sure exactly where I found it, but I did locate a version of maven-model-2.0-beta-1-20050721.102753-1.jar, and I do have it locally in my m2 repository, and there is a version file for maven-model-2.0-beta-1-SNAPSHOT.version.txt which contains the value "2.0-beta-1-20050721.102753-1".  But that seems to make no difference. I have attempted to use the -o and the --offline flags, but the builds still fail with the same message.

If anyone has any ideas I'd like to hear them.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Problem building repoclean

Posted by Andy Glick <an...@acm.org>.
Trygve Laugstøl wrote:
> On Mon, Aug 29, 2005 at 03:14:21AM -0400, Andy Glick wrote:
> 
>>I've been having difficulty building repoclean for a number of days, and I 
>>get the same error message every time:
> 
> 
> Sounds like a bug in Maven somewhere, can you try to change the version
> back to SNAPSHOT? Though I fear that this can break something since the
> version has been hardcoded in the first place, but it should be updated
> ASAP.
> 
> --
> Trygve

Trygve, thanks for getting back to me.

Since I sent the 1st post I svn-up'd the maven-2-trunk and rebuilt maven 
successfully. I did the checkout about 2 hours ago. I restored the original 
POM in the repoclean directory.

The 1st build attempt failed as follows:

[INFO] ----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------------------------------------

[INFO] Main Error:
  Unable to download the artifact from any repository
  plexus:plexus-mail-sender-api:1.0-alpha-2-SNAPSHOT:jar

from the specified remote repositories:
  http://repo1.maven.org/maven2

Path to dependency: 
	1) org.apache.maven:repoclean:jar:1.0-SNAPSHOT
	2) plexus:plexus-mail-sender-api:jar:1.0-alpha-2-SNAPSHOT


I added http://snapshots.maven.codehaus.org/maven2/ to the list of 
repositories, and the build was able to locate 
plexus:plexus-mail-sender-api:1.0-alpha-2-SNAPSHOT:jar but the 2nd 
build attempt failed as follows:

[INFO] ----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------------------------------------

[INFO] Main Error:
  Unable to download the artifact from any repository
  org.apache.maven:maven-model:2.0-beta-1-SNAPSHOT:jar

from the specified remote repositories:
  http://snapshots.maven.codehaus.org/maven2/, http://repo1.maven.org/maven2

Path to dependency: 
	1) org.apache.maven:repoclean:jar:1.0-SNAPSHOT
	2) org.apache.maven:maven-model:jar:all:2.0-beta-1-SNAPSHOT

The maven-model:jar:all:2.0-beta-1-SNAPSHOT artifact is in my local repo and I used
the --offline switch, but the build still failed. Is there a way to successfully 
turn off SNAPSHOT updating?

Might there be another repository from which I could download the maven-model snapshot?
If not, do you have any other thoughts about how to debug this issue? 

 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Problem building repoclean

Posted by Trygve Laugstøl <tr...@codehaus.org>.
On Mon, Aug 29, 2005 at 03:14:21AM -0400, Andy Glick wrote:
> I've been having difficulty building repoclean for a number of days, and I 
> get the same error message every time:

Sounds like a bug in Maven somewhere, can you try to change the version
back to SNAPSHOT? Though I fear that this can break something since the
version has been hardcoded in the first place, but it should be updated
ASAP.

--
Trygve