You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <la...@accor-hotels.com> on 2003/07/17 16:51:25 UTC

Snapshot versions (beta 10)

I try to define a snapshot dependency :

<dependency>
<groupId>serviceslayer</groupId>
<artifactId>servicesstub</artifactId>
<version>SNAPSHOT</version>
</dependency>

I have generate a snapshot version  in the repository :
servicesstub-20030717.044631.jar
It's my company repository.
I have the properties in the project.properties.
maven.mode.online=true
# to get some jars not found at ibiblio
maven.repo.remote=http://ip:8090/maven-respository,http://www.ibiblio.com/ma
ven

Maven try to download the file
http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.ja
r

What's wrong ?? (certainly me but why ??)
Olivier



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
********************************************************************** 



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


Re: Snapshot versions (beta 10)

Posted by Brian Ewins <Br...@btinternet.com>.
All you need to do is copy that to the name maven is looking for - 
servicesstub-SNAPSHOT.jar. I'm guessing you can do that in your sybase 
ant stuff, because you're copying the stub jar into the maven repository 
as it stands? At the same point just make a second copy.

Olivier Lamy wrote:

> It sounds well :-)))
> But I can't generate the servicesstub-20030717.044631.jar with
> jar:install-snapshot
> Because I can't use the sybase ant tool in a maven project.
>  
> 
> -----Message d'origine-----
> De : Brian Ewins [mailto:Brian.Ewins@btinternet.com]
> Envoyé : jeudi 17 juillet 2003 17:45
> À : Maven Users List
> Objet : Re: Snapshot versions (beta 10)
> 
> 
> 
> Olivier Lamy wrote: 
> 
> 
>>I try to define a snapshot dependency : 
>>
>><dependency> 
>><groupId>serviceslayer</groupId> 
>><artifactId>servicesstub</artifactId> 
>><version>SNAPSHOT</version> 
>></dependency> 
>>
>>I have generate a snapshot version  in the repository : 
>>servicesstub-20030717.044631.jar 
> 
> 
> if you do 'maven jar:install-snapshot', you will see that it installs 
> not just servicesstub-20030717.044631.jar (or some name like this) but 
> also servicesstub-SNAPSHOT.jar. Similarly for when it deploys to remote 
> repositories. 
> 
> The timestamped jar is created so that you can easily change your 
> project from unrepeatable dependency versions (SNAPSHOTs, which get 
> overwritten every time you do a jar:install-snapshot) to repeatable 
> dependency versions (the timestamped jars) when doing a release. 
> 
> It sounds like what you've done is just copy a timestamped jar into your 
> repository? 
> 
> 
>>It's my company repository. 
>>I have the properties in the project.properties. 
>>maven.mode.online=true 
>># to get some jars not found at ibiblio 
>>maven.repo.remote=
> 
> http://ip:8090/maven-respository,http://www.ibiblio.com/ma
> <http://ip:8090/maven-respository,http://www.ibiblio.com/ma>  
> 
>>ven 
>>
>>Maven try to download the file 
>>
> 
> http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.ja
> <http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.j
> a>  
> 
>>r 
>>
>>What's wrong ?? (certainly me but why ??) 
>>Olivier 
>>
>>
>>
>>This e-mail, any attachments and the information contained therein ("this
> 
> message") are confidential and intended solely for the use of the
> addressee(s). If you have received this message in error please send it back
> to the sender and delete it. Unauthorized publication, use, dissemination or
> disclosure of this message, either in whole or in part is strictly
> prohibited.
> 
> 
>>********************************************************************** 
>>Ce message électronique et tous les fichiers joints ainsi que  les
> 
> informations contenues dans ce message ( ci après "le message" ), sont
> confidentiels et destinés exclusivement à l'usage de la  personne à laquelle
> ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le
> renvoyer à son émetteur et de le détruire. Toutes diffusion, publication,
> totale ou partielle ou divulgation sous quelque forme que se soit non
> expressément autorisées de ce message, sont interdites.
> 
> 
>>********************************************************************** 
>>
>>
>>
>>--------------------------------------------------------------------- 
>>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 
> 
> 
> 
> This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
> ********************************************************************** 
> Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
> ********************************************************************** 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> 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: Snapshot versions (beta 10)

Posted by di...@multitask.com.au.
What does the sybase ant tool matter to maven???
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au


"Olivier Lamy" <la...@accor-hotels.com> wrote on 18/07/2003 
02:10:41 AM:

> It sounds well :-)))
> But I can't generate the servicesstub-20030717.044631.jar with
> jar:install-snapshot
> Because I can't use the sybase ant tool in a maven project.
> 
> 
> -----Message d'origine-----
> De : Brian Ewins [mailto:Brian.Ewins@btinternet.com]
> Envoyé : jeudi 17 juillet 2003 17:45
> À : Maven Users List
> Objet : Re: Snapshot versions (beta 10)
> 
> 
> 
> Olivier Lamy wrote: 
> 
> > I try to define a snapshot dependency : 
> > 
> > <dependency> 
> > <groupId>serviceslayer</groupId> 
> > <artifactId>servicesstub</artifactId> 
> > <version>SNAPSHOT</version> 
> > </dependency> 
> > 
> > I have generate a snapshot version  in the repository : 
> > servicesstub-20030717.044631.jar 
> 
> if you do 'maven jar:install-snapshot', you will see that it installs 
> not just servicesstub-20030717.044631.jar (or some name like this) but 
> also servicesstub-SNAPSHOT.jar. Similarly for when it deploys to remote 
> repositories. 
> 
> The timestamped jar is created so that you can easily change your 
> project from unrepeatable dependency versions (SNAPSHOTs, which get 
> overwritten every time you do a jar:install-snapshot) to repeatable 
> dependency versions (the timestamped jars) when doing a release. 
> 
> It sounds like what you've done is just copy a timestamped jar into your 

> repository? 
> 
> > It's my company repository. 
> > I have the properties in the project.properties. 
> > maven.mode.online=true 
> > # to get some jars not found at ibiblio 
> > maven.repo.remote=
> http://ip:8090/maven-respository,http://www.ibiblio.com/ma
> <http://ip:8090/maven-respository,http://www.ibiblio.com/ma> 
> > ven 
> > 
> > Maven try to download the file 
> >
> 
http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.ja
> 
<http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.j
> a> 
> > r 
> > 
> > What's wrong ?? (certainly me but why ??) 
> > Olivier 
> > 
> > 
> > 
> > This e-mail, any attachments and the information contained therein 
("this
> message") are confidential and intended solely for the use of the
> addressee(s). If you have received this message in error please send it 
back
> to the sender and delete it. Unauthorized publication, use, 
dissemination or
> disclosure of this message, either in whole or in part is strictly
> prohibited.
> 
> > ********************************************************************** 

> > Ce message électronique et tous les fichiers joints ainsi que  les
> informations contenues dans ce message ( ci après "le message" ), sont
> confidentiels et destinés exclusivement à l'usage de la  personne à 
laquelle
> ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le
> renvoyer à son émetteur et de le détruire. Toutes diffusion, 
publication,
> totale ou partielle ou divulgation sous quelque forme que se soit non
> expressément autorisées de ce message, sont interdites.
> 
> > ********************************************************************** 

> > 
> > 
> > 
> > --------------------------------------------------------------------- 
> > 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 
> 
> 
> 
> This e-mail, any attachments and the information contained therein 
> ("this message") are confidential and intended solely for the use of
> the addressee(s). If you have received this message in error please 
> send it back to the sender and delete it. Unauthorized publication, 
> use, dissemination or disclosure of this message, either in whole or
> in part is strictly prohibited.
> ********************************************************************** 
> Ce message électronique et tous les fichiers joints ainsi que  les 
> informations contenues dans ce message ( ci après "le message" ), 
> sont confidentiels et destinés exclusivement à l'usage de la 
> personne à laquelle ils sont adressés. Si vous avez reçu ce message 
> par erreur, merci  de le renvoyer à son émetteur et de le détruire. 
> Toutes diffusion, publication, totale ou partielle ou divulgation 
> sous quelque forme que se soit non expressément autorisées de ce 
> message, sont interdites.
> ********************************************************************** 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

RE: Snapshot versions (beta 10)

Posted by Olivier Lamy <la...@accor-hotels.com>.
It sounds well :-)))
But I can't generate the servicesstub-20030717.044631.jar with
jar:install-snapshot
Because I can't use the sybase ant tool in a maven project.
 

-----Message d'origine-----
De : Brian Ewins [mailto:Brian.Ewins@btinternet.com]
Envoy� : jeudi 17 juillet 2003 17:45
� : Maven Users List
Objet : Re: Snapshot versions (beta 10)



Olivier Lamy wrote: 

> I try to define a snapshot dependency : 
> 
> <dependency> 
> <groupId>serviceslayer</groupId> 
> <artifactId>servicesstub</artifactId> 
> <version>SNAPSHOT</version> 
> </dependency> 
> 
> I have generate a snapshot version  in the repository : 
> servicesstub-20030717.044631.jar 

if you do 'maven jar:install-snapshot', you will see that it installs 
not just servicesstub-20030717.044631.jar (or some name like this) but 
also servicesstub-SNAPSHOT.jar. Similarly for when it deploys to remote 
repositories. 

The timestamped jar is created so that you can easily change your 
project from unrepeatable dependency versions (SNAPSHOTs, which get 
overwritten every time you do a jar:install-snapshot) to repeatable 
dependency versions (the timestamped jars) when doing a release. 

It sounds like what you've done is just copy a timestamped jar into your 
repository? 

> It's my company repository. 
> I have the properties in the project.properties. 
> maven.mode.online=true 
> # to get some jars not found at ibiblio 
> maven.repo.remote=
http://ip:8090/maven-respository,http://www.ibiblio.com/ma
<http://ip:8090/maven-respository,http://www.ibiblio.com/ma>  
> ven 
> 
> Maven try to download the file 
>
http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.ja
<http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.j
a>  
> r 
> 
> What's wrong ?? (certainly me but why ??) 
> Olivier 
> 
> 
> 
> This e-mail, any attachments and the information contained therein ("this
message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it back
to the sender and delete it. Unauthorized publication, use, dissemination or
disclosure of this message, either in whole or in part is strictly
prohibited.

> ********************************************************************** 
> Ce message �lectronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message ( ci apr�s "le message" ), sont
confidentiels et destin�s exclusivement � l'usage de la  personne � laquelle
ils sont adress�s. Si vous avez re�u ce message par erreur, merci  de le
renvoyer � son �metteur et de le d�truire. Toutes diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que se soit non
express�ment autoris�es de ce message, sont interdites.

> ********************************************************************** 
> 
> 
> 
> --------------------------------------------------------------------- 
> 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 



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message �lectronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci apr�s "le message" ), sont confidentiels et destin�s exclusivement � l'usage de la  personne � laquelle ils sont adress�s. Si vous avez re�u ce message par erreur, merci  de le renvoyer � son �metteur et de le d�truire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non express�ment autoris�es de ce message, sont interdites.
********************************************************************** 




Re: Snapshot versions (beta 10)

Posted by Brian Ewins <Br...@btinternet.com>.
Olivier Lamy wrote:

> I try to define a snapshot dependency :
> 
> <dependency>
> <groupId>serviceslayer</groupId>
> <artifactId>servicesstub</artifactId>
> <version>SNAPSHOT</version>
> </dependency>
> 
> I have generate a snapshot version  in the repository :
> servicesstub-20030717.044631.jar

if you do 'maven jar:install-snapshot', you will see that it installs 
not just servicesstub-20030717.044631.jar (or some name like this) but 
also servicesstub-SNAPSHOT.jar. Similarly for when it deploys to remote 
repositories.

The timestamped jar is created so that you can easily change your 
project from unrepeatable dependency versions (SNAPSHOTs, which get 
overwritten every time you do a jar:install-snapshot) to repeatable 
dependency versions (the timestamped jars) when doing a release.

It sounds like what you've done is just copy a timestamped jar into your 
repository?

> It's my company repository.
> I have the properties in the project.properties.
> maven.mode.online=true
> # to get some jars not found at ibiblio
> maven.repo.remote=http://ip:8090/maven-respository,http://www.ibiblio.com/ma
> ven
> 
> Maven try to download the file
> http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.ja
> r
> 
> What's wrong ?? (certainly me but why ??)
> Olivier
> 
> 
> 
> This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
> ********************************************************************** 
> Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
> ********************************************************************** 
> 
> 
> 
> ---------------------------------------------------------------------
> 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