You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vincent Tencé <Vi...@gemplus.com> on 2003/10/20 22:58:01 UTC

convert-snapshots and maven.repo.override

Hi there,

I have setup a maven install using maven-proxy that we use as a remote
repository. I managed to setup the environment to download and upload
snapshot and release versions of our jars to the proxy. It works fine. Now
what I'd like to do is use the convert-snapshots goal but I can't seem to
tell it to go and look at the proxy rather than ibiblio to resolve the
snapshots. Here's what I get:

<dependency>
      <groupId>groupId</groupId>
      <artifactId>artifactId</artifactId>
      <version>SNAPSHOT</version>
      <type>jar</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>    [echo]
Do you want to update this dependency? [yes]
yes
Can't retrieve snapshot version file: www.ibiblio.org

Looking at the code it is supposed to get the jars from one of the elements
of
    project.getContext().getMavenRepoRemote()

I have orriden maven.repo.remote in both project properties and the the
release plugin properties without success.

Anybody can help?

Thanks,
Vincent


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


RE: convert-snapshots and maven.repo.override

Posted by Vincent Tencé <Vi...@gemplus.com>.
> > Post rc1 I applied a patch to release plugin which removed
> the ibiblio
> > hard coding and I separated the plugin. So you can either build the
> > plugin from CVS which is located here:
> >
> > http://cvs.apache.org/viewcvs.cgi/maven-plugins/release/
>
> Ok I'll try that.

All good. And it works with remote repository overrides from project
properties :)

- Vincent


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


RE: convert-snapshots and maven.repo.override

Posted by Vincent Tencé <Vi...@gemplus.com>.
> Post rc1 I applied a patch to release plugin which removed the ibiblio
> hard coding and I separated the plugin. So you can either build the
> plugin from CVS which is located here:
> 
> http://cvs.apache.org/viewcvs.cgi/maven-plugins/release/

Ok I'll try that.
 
> It's not ready for a release just yet because I just 
> integrated another
> patch that I need to massage a bit. But I entered this for you so I
> don't forget to release the release plugin :-)
> 
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-953

This is great. Thanks :-)

- Vincent

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


Re: convert-snapshots and maven.repo.override

Posted by Jason van Zyl <jv...@maven.org>.
On Mon, 2003-10-20 at 16:58, Vincent Tencé wrote:
> Hi there,
> 
> I have setup a maven install using maven-proxy that we use as a remote
> repository. I managed to setup the environment to download and upload
> snapshot and release versions of our jars to the proxy. It works fine. Now
> what I'd like to do is use the convert-snapshots goal but I can't seem to
> tell it to go and look at the proxy rather than ibiblio to resolve the
> snapshots. Here's what I get:
> 
> I have orriden maven.repo.remote in both project properties and the the
> release plugin properties without success.
> 
> Anybody can help?

Post rc1 I applied a patch to release plugin which removed the ibiblio
hard coding and I separated the plugin. So you can either build the
plugin from CVS which is located here:

http://cvs.apache.org/viewcvs.cgi/maven-plugins/release/

It's not ready for a release just yet because I just integrated another
patch that I need to massage a bit. But I entered this for you so I
don't forget to release the release plugin :-)

http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-953

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

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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