When you do install-snapshot a jar is created with the timestamp and the same jar is copied to the name xxx-SNAPSHOT. Both are installed in the repository.
The files with timestamp may be used by anyone who wants to depend on a concrete snapshot, so they are not deleted. You have to delete it, for example using a cron task. Carlos Sanchez A Coru�a, Spain Oness Project http://oness.sourceforge.net > -----Mensaje original----- > De: Flesner, Dan [mailto:[EMAIL PROTECTED] > Enviado el: martes, 27 de abril de 2004 21:21 > Para: Maven Users List > Asunto: snapshot dependencies > > i'm confused by snapshot dependencies. when i do an > install-snapshot to build the local dependencies i get the > following in my local repository: > > -rw-r--r-- 1 dflesner dev 12728 Apr 27 12:03 > smc-impl-20040427.190310.jar > -rw-r--r-- 1 dflesner dev 12728 Apr 27 12:16 > smc-impl-20040427.191611.jar > -rw-r--r-- 1 dflesner dev 12728 Apr 27 12:16 > smc-impl-SNAPSHOT.jar > > it appears that the -SNAPSHOT came from the remote repository > and the -2004XXX came from the local install-snapshot. which > jar is used locally to compile with by other dependencies? > why not just update the local -SNAPSHOT and not the -2004XXX > files? are the -2004XX files ever used anywhere? now i have > to periodically clean out my local repository of all the > -2004XXX versions when i run out of disk space. > > what is the best practices for using install/deploy snapshot, > am i missing something here? > > thanks, > dan > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
