Just use the "artifact" deployment mechanism (ie, maven.repo.*, not maven.repo.central).
A recent version of the artifact plugin (1.5.2 added to Maven 1.0.2, or the version included with Maven 1.1 beta-2+) is highly recommended. If your version includes SNAPSHOT, it will be replaced with the timestamp when you do "jar:deploy". Dependencies with that timestamp will work, and dependencies with SNAPSHOT will use the latest. Hope this helps. Cheers, Brett On 12/2/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > We have a codebase that's going to be somewhat unstable for a while. > We want to publish "snapshots" but not the sort where Maven will > automatically bring in the latest version. > > Date and timestamped snapshots were suggested. I've seen artifacts > named project-x.x-YYYYMMDD.n.jar, where I think n is a timestamp. Can > Maven 1 be told to do this? > > Is this a matter of changing project.xml and building/deploying the > .jar, or is there a special command/plugin that will datestamp the > jar automatically? > > Thanks, > -- > Wendy > > --------------------------------------------------------------------- > 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]
