You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adam Hardy <Ad...@nomadsoft.com> on 2006/05/26 18:50:44 UTC
Mvn not appending 'SNAPSHOT' to repo dir name
I'm setting up Continuum to run my multi-project and I have a couple of
snapshot repositories configured along with my normal maven-proxy repo.
Continuum gives me this error:
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from
repository apache.snapshots
[DEBUG] Trying repository apache.snapshots
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins
/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom
[DEBUG] Artifact not found - using stub model: Unable to locate resource
in repository
org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-5
from the specified remote repositories:
central
(http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo),
codehaus.snapshots (http://snapshots.maven.codehaus.org/maven2/),
apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-5
apache.snapshot is http://cvs.apache.org/maven-snapshot-repository which
has the jar, but in the directory named 2.0-beta-5-SNAPSHOT
So what's wrong with this picture? I guess it's staring me in the face
but I don't see it. Below is my repository config in the parent pom.
<repositories>
<repository>
<id>central</id>
<url>http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo</url
>
</repository>
<repository>
<id>apache.snapshots</id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>codehaus.snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo</url
>
</pluginRepository>
<pluginRepository>
<id>apache.snapshots</id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>codehaus.snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn not finding SNAPSHOT using continuum
Posted by Alexandre Poitras <al...@gmail.com>.
Try the url and you'll get a 404. From my experience, there are
sometimes some problems with the Apache Snapshots repository. Whenever
you use a snapshot version, just install the pom in an internal
repository unless you want to always work with the latest nightly
build.
On 5/29/06, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> I am still trying to work out an issue with continuum: mvn can't find the snapshot to download despite having configuration for the snapshots repository on cvs.apache.org (see below).
>
> I think it might be that continuum is reading the repository configuration in the POM, but ignoring the <snapshots><enabled> setting on the cvs.apache.org repository.
>
> Obviously I have a couple of lines of investigation still open to me involving the source code, but any suggestions would be more than welcome!
>
>
> -------- Original Message --------
>
> I'm setting up Continuum to run my multi-project and I have a couple of
> snapshot repositories configured along with my normal maven-proxy repo.
> Continuum gives me this error:
> [DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from
> repository apache.snapshots
> [DEBUG] Trying repository apache.snapshots
> Downloading:
> http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins
> /maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom
> [DEBUG] Artifact not found - using stub model: Unable to locate resource
> in repository
>
> org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-5
>
> from the specified remote repositories:
> central
> (http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo),
> codehaus.snapshots (http://snapshots.maven.codehaus.org/maven2/),
> apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
>
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-5
>
>
> apache.snapshot is http://cvs.apache.org/maven-snapshot-repository which
> has the jar, but in the directory named 2.0-beta-5-SNAPSHOT
> So what's wrong with this picture? I guess it's staring me in the face
> but I don't see it. Below is my repository config in the parent pom.
>
>
> <repositories>
> <repository>
> <id>central</id>
>
> <url>http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo</url
> >
> </repository>
> <repository>
> <id>apache.snapshots</id>
> <url>http://cvs.apache.org/maven-snapshot-repository</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>codehaus.snapshots</id>
> <url>http://snapshots.maven.codehaus.org/maven2</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>central</id>
>
> <url>http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo</url
> >
> </pluginRepository>
> <pluginRepository>
> <id>apache.snapshots</id>
> <url>http://cvs.apache.org/maven-snapshot-repository</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> <pluginRepository>
> <id>codehaus.snapshots</id>
> <url>http://snapshots.maven.codehaus.org/maven2/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> </pluginRepositories>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn not finding SNAPSHOT using continuum
Posted by Adam Hardy <ad...@cyberspaceroad.com>.
I am still trying to work out an issue with continuum: mvn can't find the snapshot to download despite having configuration for the snapshots repository on cvs.apache.org (see below).
I think it might be that continuum is reading the repository configuration in the POM, but ignoring the <snapshots><enabled> setting on the cvs.apache.org repository.
Obviously I have a couple of lines of investigation still open to me involving the source code, but any suggestions would be more than welcome!
-------- Original Message --------
I'm setting up Continuum to run my multi-project and I have a couple of
snapshot repositories configured along with my normal maven-proxy repo.
Continuum gives me this error:
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from
repository apache.snapshots
[DEBUG] Trying repository apache.snapshots
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins
/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom
[DEBUG] Artifact not found - using stub model: Unable to locate resource
in repository
org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-5
from the specified remote repositories:
central
(http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo),
codehaus.snapshots (http://snapshots.maven.codehaus.org/maven2/),
apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-5
apache.snapshot is http://cvs.apache.org/maven-snapshot-repository which
has the jar, but in the directory named 2.0-beta-5-SNAPSHOT
So what's wrong with this picture? I guess it's staring me in the face
but I don't see it. Below is my repository config in the parent pom.
<repositories>
<repository>
<id>central</id>
<url>http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo</url
>
</repository>
<repository>
<id>apache.snapshots</id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>codehaus.snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://macari.uk.nomadsoft.com:20003/maven-proxy/m2-proxy-repo</url
>
</pluginRepository>
<pluginRepository>
<id>apache.snapshots</id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>codehaus.snapshots</id>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org