You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/23 03:03:17 UTC

[jira] Created: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Tue, 22 Jun 2004 9:02 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Wed, 8 Sep 2004 12:07 PM
       Body:
Hi Chad,

Actually, the name of the properties and classes is the lesser of my concerns - I'm more worried with the solution as a whole and if it's going to be aplied in the maven 1.x releases. As Brett mentioned in the list (http://nagoya.apache.org/eyebrowse/ReadMsg?listName=dev@maven.apache.org&msgNo=22968),
, this might be solved by M2 and/or maven-wagon.

Anyway, I'm still biased to apply it for 1.0.1 even if M2 addopts a different approach.

-- Felipe

PS: here is a link for 2 threads about the subject.

devs-list:
http://nagoya.apache.org/eyebrowse/BrowseList?listName=dev@maven.apache.org&by=thread&from=877620

users-list:  http://nagoya.apache.org/eyebrowse/BrowseList?listName=users@maven.apache.org&by=thread&from=876379

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_23914

---------------------------------------------------------------------
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: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin

   Assignee: Felipe Leme
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Wed, 8 Sep 2004 12:07 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by "Chad Woolley (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_30436 ]
     
Chad Woolley commented on MPARTIFACT-18:
----------------------------------------

Something strange just happened.  This morning, all the comments on this were gone (I got an update email), and the only action was a reassign to nobody.  I even commented asking where everything went.  Now, all the comments and patches are back.  Backup restore???

Anyway, what's up with this?  I see a newer 1.5-SNAPSHOT patch that looks more extensive than the simple one I submitted.  When will this be released?  Can we get patch applied and the snapshot on Ibiblio?  If not, what's holding it up (not being impatient, just wondering)...

Thanks,
Chad

> Need a property to specify what value should be used for a snapshot deploy.
> ---------------------------------------------------------------------------
>
>          Key: MPARTIFACT-18
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-18
>      Project: maven-artifact-plugin
>         Type: Bug
>     Reporter: Jason Chaffee
>     Assignee: Felipe Leme
>      Fix For: 1.5
>  Attachments: MPARTIFACT-18, maven-artifact-plugin-patch.txt
>
>
> 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.

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Chad Woolley
    Created: Thu, 3 Mar 2005 12:25 PM
       Body:
Did some of the comments on this get lost?  I could swear I commented on this, and even attached a patch I had.  Maybe it's a different issue somewhere else, but I couldn't find it...
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_30440

---------------------------------------------------------------------
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
   Fix Fors:
             1.5

   Assignee: 
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Thu, 3 Mar 2005 12:25 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Wed, 23 Jun 2004 9:54 AM
       Body:
that's somewhat hardwird in at the moment - it will take a while to make this a possibility.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_20934

---------------------------------------------------------------------
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: Wed, 23 Jun 2004 9:54 AM

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-18?page=all ]
     
Brett Porter closed MPARTIFACT-18:
----------------------------------

    Fix Version:     (was: 1.5)
     Resolution: Won't Fix

marking won't fix. in m2, the format is fixed, and we need to parse it back again. If there is some particular reason you need a certain format, and the information extends beyond timestamp + build # (which is in m2), then please take the discussion to the dev list to consider it in future.

> Need a property to specify what value should be used for a snapshot deploy.
> ---------------------------------------------------------------------------
>
>          Key: MPARTIFACT-18
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-18
>      Project: maven-artifact-plugin
>         Type: Bug
>     Reporter: Jason Chaffee
>  Attachments: MPARTIFACT-18, maven-artifact-plugin-patch.txt
>
>
> 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.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by "Chad Woolley (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_30437 ]
     
Chad Woolley commented on MPARTIFACT-18:
----------------------------------------

Heh, I knew I wasn't crazy, my comment made it on the dev list:

     Author: Chad Woolley
    Created: Thu, 3 Mar 2005 12:25 PM
       Body:
Did some of the comments on this get lost?  I could swear I commented on this, and even attached a patch I had.  Maybe it's a different issue somewhere else, but I couldn't find it...

> Need a property to specify what value should be used for a snapshot deploy.
> ---------------------------------------------------------------------------
>
>          Key: MPARTIFACT-18
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-18
>      Project: maven-artifact-plugin
>         Type: Bug
>     Reporter: Jason Chaffee
>     Assignee: Felipe Leme
>      Fix For: 1.5
>  Attachments: MPARTIFACT-18, maven-artifact-plugin-patch.txt
>
>
> 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.

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Updated: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by Brett Porter <br...@apache.org>.
Felipe,

Just changed the fix for because it needs to be addressed in the next release -
whether it takes on wagon or not. The resolution may well be won't fix.

To be honest, I don't have the bandwidth to discuss these things at the moment.
I'm flat out.

- Brett

Quoting Felipe Leme <ma...@felipeal.net>:

> Hi Brett,
> 
> You changed the 'Fix Version' for this bug, but it's being pretty much
> dormant since I proposed the fix:
> 
> 
>
http://nagoya.apache.org/eyebrowse/BrowseList?listName=dev@maven.apache.org&by=thread&from=877620
> 
> So, what's up? Should we continue the thread above and then finalize the
> bug (fixing it or marking it as invalid)?
> 
> -- Felipe
> 
> 
> On Fri, 2004-10-15 at 21:34, jira@codehaus.org wrote:
> > The following issue has been updated:
> > 
> >     Updater: Brett Porter (mailto:brett@codehaus.org)
> >        Date: Fri, 15 Oct 2004 8:33 PM
> >     Changes:
> >              Fix Version changed to 1.5
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Updated: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by Felipe Leme <ma...@felipeal.net>.
Hi Brett,

You changed the 'Fix Version' for this bug, but it's being pretty much
dormant since I proposed the fix:


http://nagoya.apache.org/eyebrowse/BrowseList?listName=dev@maven.apache.org&by=thread&from=877620

So, what's up? Should we continue the thread above and then finalize the
bug (fixing it or marking it as invalid)?

-- Felipe


On Fri, 2004-10-15 at 21:34, jira@codehaus.org wrote:
> The following issue has been updated:
> 
>     Updater: Brett Porter (mailto:brett@codehaus.org)
>        Date: Fri, 15 Oct 2004 8:33 PM
>     Changes:
>              Fix Version changed to 1.5



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Fri, 15 Oct 2004 8:33 PM
    Changes:
             Fix Version changed to 1.5
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPARTIFACT-18?page=history

---------------------------------------------------------------------
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: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Fix Fors:
             1.5

   Assignee: Felipe Leme
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Fri, 15 Oct 2004 8:33 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Mon, 6 Sep 2004 1:07 PM
    Comment:
Here is the patch I mentioned. Instead of simply defining a property for the timestamp version, it creates a new API (org.apache.maven.artifact.versioning) responsible for the task, with an interface (SignaturesManager), 4 basic implementations, a helper and a Jelly tag. 

Here is how it works:

1.The DefaultArtifactDeployer relies on a SignaturesManager to get the timestamp signature for a given project (actually, not only the timestamp, but also the snapshot and release signatures)
2.The SignaturesManager is obtained by a Helper/factory (this is important to mantain backward compatibility - the ArtifactDeployer interface has not been changed
3.The SignaturesManager to be used is defined by the property maven.artifact.versioning.type. This property can have pre-definied values (right now: default, singleTimestamp, perProjectTimestamp or userDefinedTimestamp) or be the name of a class implementing the SignaturesManager interface. The meaning of the pre-defined values are:
default - same behavior as the current implementation. I.e., each call has a new timestamp
singleTimestamp - the same timestamp will be used by all calls in any project
perProjectTimestamp - the same timestamp will be useb by all calls of the same project, but different projects will have different timestamps (can be useful in a multi-project invocation)
userDefinedTimestamp - the timestamp must be defined by the property maven.artifact.versioning.userDefinedTimestamp

4.There is also a new goal (artifact:show-signatures) and a new tag (<artifact:version-signatures>) that allow programatic access to this API in Jelly Scripts (and command line)

I think this solution is very flexible and also backwards compatible, so I will propose a vote on the devs list for applying this solution. (and if we approve it, I will write the test cases and better documentation).

Also notice that if this new API get through, we can change the goals that generate manifests to include both an implementation and specification ids (in a release, both values would be SignaturesManager.getReleaseVersion(); both in a snapshot, the implementation id would be SignaturesManager.getTimestampVersion()).

-- Felipe


    Changes:
             Attachment changed to MPARTIFACT-18
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPARTIFACT-18?page=history

---------------------------------------------------------------------
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: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin

   Assignee: Felipe Leme
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Mon, 6 Sep 2004 1:07 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by "Felipe Leme (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_40739 ]
     
Felipe Leme commented on MPARTIFACT-18:
---------------------------------------

Vijay,

The patches are attached in this very issue. See attachments section above or try the following link:

http://jira.codehaus.org/secure/ManageAttachments.jspa?id=15904

There are 2 patches BTW, one provided by Chad and another by myself.

-- Felipe


> Need a property to specify what value should be used for a snapshot deploy.
> ---------------------------------------------------------------------------
>
>          Key: MPARTIFACT-18
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-18
>      Project: maven-artifact-plugin
>         Type: Bug
>     Reporter: Jason Chaffee
>  Attachments: MPARTIFACT-18, maven-artifact-plugin-patch.txt
>
>
> 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.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Chad Woolley
    Created: Wed, 8 Sep 2004 1:56 AM
       Body:
Your solution sounds fine to me, will be fully compatible with my patch if I just change two properties.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_23902

---------------------------------------------------------------------
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: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin

   Assignee: Felipe Leme
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Wed, 8 Sep 2004 1:56 AM

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Chad Woolley (mailto:codehaus@virtualmock.org)
       Date: Mon, 6 Sep 2004 5:33 AM
    Comment:
Here is a patch that I think should address this.  I simply created a property "maven.artifact.snapshotSignature" which, if it is defined, overrides the auto-generated timestamp.

I even put the property name in the xdoc.  Please let me know if there is anything I got wrong.  It would be nice to see this patch in the next release.
    Changes:
             Attachment changed to maven-artifact-plugin-patch.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPARTIFACT-18?page=history

---------------------------------------------------------------------
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: Mon, 6 Sep 2004 5:33 AM

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by "Vijay Khanna (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_40738 ]
     
Vijay Khanna commented on MPARTIFACT-18:
----------------------------------------

Hi Chad,

I have a similar situation in here, where I require to append the build number to the artifact.This would help us to aggregate together artifacts of similar type and perform testing. I am running Maven with CC and wish to append CC build number to the artifact.Theres a way where CC passes certain parameters to Maven/Ant scripts at run time like E.g. ${label}.But then, we define the <currentVersion>xxx-SNAPSHOT-1.0.1</currentVersion> in pom and theres no way to control this !

I wish, it could be something like - [xxx-SNAPSHOT-1.0.1.build-28.jar]

You mentioned you have some patch that works can you please share it with me and other such users.

Thanks 
Vijay

> Need a property to specify what value should be used for a snapshot deploy.
> ---------------------------------------------------------------------------
>
>          Key: MPARTIFACT-18
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-18
>      Project: maven-artifact-plugin
>         Type: Bug
>     Reporter: Jason Chaffee
>  Attachments: MPARTIFACT-18, maven-artifact-plugin-patch.txt
>
>
> 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.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Chad Woolley
    Created: Wed, 8 Sep 2004 1:59 AM
       Body:
One second thought, the one change I would make to yours is to replace the term "Timestamp" with "Signature" in the property names, etc.  The default "signature" can still be a timestamp, for backwards compatibility.  However, in my case, it doesn't make much sense to assign a version number or tag to a property named "...Timestamp".
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_23903

---------------------------------------------------------------------
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: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin

   Assignee: Felipe Leme
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Wed, 8 Sep 2004 1:59 AM

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPARTIFACT-18) Need a property to specify what value should be used for a snapshot deploy.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Mon, 6 Sep 2004 8:01 AM
       Body:
Hi Chad,

That's a good patch, as it solves the issue in the simplest way possible.

I'm also working on a different approach that would be more flexible (and hence more complex, which requires more tests). I might have a first version finished today, so I will post it here as a patch too.

But indenpendently of what solution we use, I agree with you that we should fix it for the next release (I can commit the changes, once we decide what to do).

-- Felipe
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-18?page=comments#action_23837

---------------------------------------------------------------------
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: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin

   Assignee: Felipe Leme
   Reporter: Jason Chaffee

    Created: Tue, 22 Jun 2004 9:02 PM
    Updated: Mon, 6 Sep 2004 8:01 AM

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org