The following comment has been added to this issue:
Author: Oliver Noelle
Created: Tue, 9 Dec 2003 2:07 AM
Body:
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-r--r-- 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.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPRELEASE-2
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPRELEASE-2
Summary: convert-snapshots does not change pom
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-release-plugin
Assignee: Jason van Zyl
Reporter: Oliver Noelle
Created: Mon, 8 Dec 2003 12:03 PM
Updated: Tue, 9 Dec 2003 2:07 AM
Environment: maven-rc1, win2k
Description:
Invoking convert-snapshots-auto seems to touch my project.xml and creates a
project.xml.backup, but the SNAPSHOT within the version tag remains the same.
Invoking convert-snapshots interactively correctly identifies the SNAPSHOT versions
and asks for updating it, but as with -auto does not change anything in the end...
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]