The following comment has been added to this issue:
Author: Felipe Leme
Created: Sun, 1 Aug 2004 9:32 PM
Body:
Brett,
That's something our company also needs and I should be working on in the next
days/weeks.
What I have thought so far is that we should create an interface responsible for
generating Strings representing POM versions (release, snapshot and timestamp).
Something like this:
public interface VersionManager {
// I don't remember why right now, but we need to pass some
// initialization properties to this class
void init( Map properties );
String getReleaseVersion( Project pom );
String getTimestampVersion( Project pom );
String getSnapshotVersion( Project pom );
}
Then we would need a property to set this object, which in turn should be available at
MAVEN_HOME/lib/endorsed. Of course, by default we would use an implementation that
returns the current values.
If you think the idea doable, I can start working in the patches.
Regards,
Felipe
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_22600
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPARTIFACT-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPARTIFACT-18
Summary: Need a property to specify what value should be used for a snapshot
deploy.
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-artifact-plugin
Assignee:
Reporter: Jason Chaffee
Created: Tue, 22 Jun 2004 9:02 PM
Updated: Sun, 1 Aug 2004 9:32 PM
Description:
We would like to have the ability to override the value used for snapshots. In some
cases we would like to use a timestamp, while in others we would like to use a build
number. Currently, all snapshots have are create with a timestamp intead of the
current version, I would like to see this become configurable with a property that
defaults to using timestamps.
---------------------------------------------------------------------
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]