Andrew,
I'm new to maven so please excuse my limited understanding...I would
like to try to clarify a few things.
I never had to manually download 2.0-beta-4-SNAPSHOT code I simply
referred to it by adding two entries in my pom.
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-4-SNAPSHOT</version>
</plugin>
<pluginRepository>
<id>snapshots</id>
<url>http://svn.apache.org/maven-snapshot-repository</url>
</pluginRepository>
With this I was able to release but I do get a warning/info message
regarding the SNAPSHOT usage; all I have to do is accept this by typing
'yes'.
Now I assume this doesn't use the http://www.ibiblio.org/maven2/ server
but rather uses http://svn.apache.org/maven-snapshot-repository/.
Before the 2.0-beta-4-SNAPSHOT plugin would work I had to install two of
its dependencies locally because I assume these were not deployed to any
public server. (I don't understand the merits of allowing access to
some snapshots but not their dependencies.) Plexus-compiler-manager &
plexus-compiler-javac, so both of these snapshots where installed local
on our build box.
How did you deal with these?
It is the plexus-compiler-javac-1.6-SNAPSHOT that is causing my problems
now. It says it is trying to download its pom from
http://svn.apache.org/maven-snapshot-repository/... Which fails.
If I did download and compile 2.0-beta-4-SNAPSHOT like you did, would
this help me?
As for your suggestion to check our mirror, we don't yet have a mirror.
We have our deployed artifact repository and the user-dir repository.
What here could affect this?
Regarding 'The -o flag disables the connection to the server, therefore
the release plugin cannot download the needed dependency...' Since I
had already done this twice why should there be anything to download?
Also, when it is connected to the server isn't it connecting to
http://svn.apache.org/maven-snapshot-repository/ in this case? (which is
down)
-dh
-----Original Message-----
From: Andrew Kreps [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 8:04 PM
To: Maven Users List
Subject: Re: why does my release fail?
I'm also using the Release plugin 2.0-beta-4-SNAPSHOT code. I did
have to recompile it without the SNAPSHOT in the version name, since
the release plugin wouldn't allow me to generate an actual release
with SNAPSHOT plugin code. I got a good laugh out of that one.
I can't explain why the release command worked once, but I can tell
you what's wrong with that command. The -o flag disables the
connection to the server, therefore the release plugin cannot download
the needed dependency. Also, the apache.org downtime never affected
the primary maven repository mirror, www.ibiblo.org. If you remove
the -o flag, the download should work properly. If it doesn't, you
should check your mirror configuration.
This repository is running just fine: http://www.ibiblio.org/maven2/
.
On 5/10/06, Dave Hoffer <[EMAIL PROTECTED]> wrote:
> Mvn -o release:prepare does not work it says that it is trying to
> download plexus-compiler-javac-1.6-SNAPSHOT.pom which it cannot do (I
> assume it is down).
>
---------------------------------------------------------------------
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]