You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefan Magnus Landrø <st...@gjensidige.no> on 2006/07/28 14:46:23 UTC

Ad: Re: Issues related to snapshot versions of dependencies and filenames

I believe shapshots go in the snapshot repository, and release versions go 
in the release repository.

korebantic <ko...@gmail.com> skrev 28.07.2006 14:37:25:

> Do you know what mechanism chooses <snapshotRepository> over
> <repository>, if both are present in <distributionManagement>?
> 
> On 7/28/06, Jörg Schaible <Jo...@elsag-solutions.com> wrote:
> > Stefan Magnus Landrø wrote on Friday, July 28, 2006 10:49 AM:
> >
> > > I believe I found the solution to this issue.
> > >
> > > I placed the following snipplet in the jar-projects that my project
> > > depend upon, and made sure to use uniqueVersion set to false.
> > > A fresh deploy of these jar-projects then wrote a
> > > -SNAPSHOT.jar to the
> > > company repository (you only get timestamped versions if you use
> > > uniqueVersion=true(default))
> > >
> > >         <distributionManagement>
> > >                 <snapshotRepository>
> > >                         <id>internal</id>
> > >                         <name>Company Repository</name>
> > >                         <url>file:\\server\repo-local</url>
> > >                         <uniqueVersion>false</uniqueVersion>
> > >                 </snapshotRepository>
> > >         </distributionManagement>
> > >
> > > To bad there is nothing about this in the mergere book
> >
> > and despite the fact, that this has its own quirks:
> > http://jira.codehaus.org/browse/MNG-1908
> >
> > [snip]
> >
> > - Jörg
> >
> > ---------------------------------------------------------------------
> > 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: Ad: Re: Issues related to snapshot versions of dependencies and filenames

Posted by korebantic <ko...@gmail.com>.
Right. My question is how is snapshot choosen over repository? Does
the deploy plugin grep the version number or something?

On 7/28/06, Stefan Magnus Landrø <st...@gjensidige.no> wrote:
> I believe shapshots go in the snapshot repository, and release versions go
> in the release repository.
>
> korebantic <ko...@gmail.com> skrev 28.07.2006 14:37:25:
>
> > Do you know what mechanism chooses <snapshotRepository> over
> > <repository>, if both are present in <distributionManagement>?
> >
> > On 7/28/06, Jörg Schaible <Jo...@elsag-solutions.com> wrote:
> > > Stefan Magnus Landrø wrote on Friday, July 28, 2006 10:49 AM:
> > >
> > > > I believe I found the solution to this issue.
> > > >
> > > > I placed the following snipplet in the jar-projects that my project
> > > > depend upon, and made sure to use uniqueVersion set to false.
> > > > A fresh deploy of these jar-projects then wrote a
> > > > -SNAPSHOT.jar to the
> > > > company repository (you only get timestamped versions if you use
> > > > uniqueVersion=true(default))
> > > >
> > > >         <distributionManagement>
> > > >                 <snapshotRepository>
> > > >                         <id>internal</id>
> > > >                         <name>Company Repository</name>
> > > >                         <url>file:\\server\repo-local</url>
> > > >                         <uniqueVersion>false</uniqueVersion>
> > > >                 </snapshotRepository>
> > > >         </distributionManagement>
> > > >
> > > > To bad there is nothing about this in the mergere book
> > >
> > > and despite the fact, that this has its own quirks:
> > > http://jira.codehaus.org/browse/MNG-1908
> > >
> > > [snip]
> > >
> > > - Jörg
> > >
> > > ---------------------------------------------------------------------
> > > 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