Wendy Smoak wrote:
I'm planning to work on the Maven build. Some combination of getting
the version number into the filename (I think right now it should be
tiles-core-0.2-SNAPSHOT) and possibly adding a third piece to the
version number should allow us to publish snapshots that don't get
overwritten.
If someone has already done this with Maven, let me know and save me
some reasearch. :) So far I haven't had occasion to publish/deploy a
build with Maven, we've just been copying the jars into the right
place for the internal repo.
I'm no Maven guru but as far as I understand, SNAPSHOTs are specifically
an unversioned artifact which you build and deploy with variants of
jar:install etc. Maven will automatically ignore the version in
project.xml and use -SNAPSHOT instead in the artifact file names.
I expect that you could include -SNAPSHOT explicitly in project.xml, but
it might confuse people used to the 'Maven way'. Of course you know
Maven far better than me in general; this is just one of those things
that always struck me about Maven. I can't see why I would ever want to
depend on a SNAPSHOT build unless I built it myself (or ever want to see
one in a public repository, for that matter), since there's no telling
where it came from in terms of code history.
Just my humble opinion, but I'd suggest only publishing things with a
version number or date stamp or something and letting people either
build from source or download and locally deploy a nightly if they want
something different...
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]