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: [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