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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to