On Mon, 2003-07-07 at 04:13, Michal Maczka wrote: > I hope to find time today (latest tomorrow) and finish reaming issues of > artifact deployer. > > > I have some issues I want to discuss: > > 1) > When artifacts are big (few MB) frequent deployment of snapshots to > repository (local or remote) results in MB of unused space, > as snapshot == latest version (we don't need older versions of the snapshots > anymore)
Yes we do. You can never know which timestamped version someone might be dependending on. You can't just remove them. > I suppose that in case of snapshot it wouldn't be so bad > if during deployment we will delete an older version of the artifact If you mean the removal of timestamped JARs that have been deployed then most definitely -1. You can't remove them. > To do this we would probably need to fetch some files from repository > (e.g foo-snapshot-version file). > > 2) > I think it will be nice to start using POMs as descriptor of the artifact. Yes, I often use them just not a widely known feature. > E.g I would prefer to retrieve information about artifact URL from the POM > of this artifact rather then do: > > <dependency> > <id>xerces</id> > <version>2.2.1</version> > <url>http://xml.apache.org/xerces2-j/</url> > </dependency> Sorry, not sure what you mean here? You mean looking up the POM to find it's URL and other information about the artifact? In that case, yes, definitely. > What about deploying (installing) also the POM to the repository, every time The POM really only needs to be deployed for releases. I'm not sure it would be wise to start deploying snapshot POMs though I haven't thought about it much. Another feature in the deploy tools would be to make sure that the version you are trying to deploy hasn't already been deployed. To make absolutely certain you aren't overwriting an already released artifact. You definitely would not want to overwrite a POM of a released package. That would definitely lead to serious problems. > we deploy some artifact? > > > > Michal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
