What kind of "source of information" do I need?
There's no hint to that in the docs (maven user guide).
I thought the plugin would determine the latest timestamped version in the central and/or local repository and thus convert the snapshot to the corresponding timestamp tag.
This is the situation: I have a timestamped version in the central repository (created with jar:deploy-snapshot), so I thought that would be the "source of information". I also tried to install a timestamped version in the local repo (jar:install-snapshot), but still invoking the plugin does not have any effect.
I also looked at the jelly script, but as it just calls a custom tag I could not determine the way the plugin is supposed to work.
This is exactly what I have:
In component A:
<dependency>
<artifactId>errormanager</artifactId>
<groupId>errormanager</groupId>
<version>SNAPSHOT</version>
</dependency>
In central repo (linux):
errormanager-SNAPSHOT.jar (which is a link to the timestamped version)
errormanager-20031208.173720.jar
Or more verbose:
rw-rw-r- 1 oliver.n develope 40834 Dez 8 18:37 errormanager-20031208.173720.jar
lrwxrwxrwx 1 oliver.n develope 32 Dez 8 18:37 errormanager-SNAPSHOT.jar -> errormanager-20031208.173720.jar
rw-rr- 1 oliver.n develope 16 Dez 8 18:37 errormanager-snapshot-version
In local repo (win2k) similar situation, but not a -SNAPSHOT link but a regular file I think.
Well, and what I expected was that the SNAPSHOT in component A's POM would be replaced with the timestamp version when I invoke "convert-snapshots-auto" in that components project base dir.
Okay, I think this is all relevant information I can give you.
If there is something more to take care of (another source of information), please document it! Maven really rocks, but the documentation is the biggest drawback at the moment and possibly causes a bit of frustration sometimes...)
(another question: it took me a few minutes to find out in which plugin this functionality is implemented. Shouldn't the goal be preceded with "release:"? How do I find out which plugin is responsible for a goal if I just have the goal name?)
(sorry, just one more: on the plugin site doc of release plugin, there is no description of what the goals convert-snapshots(-auto) do... I think this plugin documentation is extremely useful and should at least give a hint at what the goal does)
Sorry, but I'm really trying to be helpful...
If you need any more information let me know.
You realize you must have a source of information for the version to convert the snapshot to, yes?
What are you trying to convert exactly?
Please do not post some that says "it doesn't work" as that's not at all helpful.