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/28 11:51:27 UTC

[jira] Commented: (MPARTIFACT-13) plugin doesn't handle SNAPSHOT versions correctly

The following comment has been added to this issue:

     Author: Michal Maczka
    Created: Mon, 28 Jun 2004 5:50 AM
       Body:
If it helps you can use <currrentVersion>1.0-SNAPHOT</currentVersion>
and jar:deploy goal.
Only drawback at the moment is that snapshot-version files won't be deployed to remote repository. If you can live without them this might be a solution until this problem is fixed.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPARTIFACT-13?page=comments#action_21103

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-13

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-13
    Summary: plugin doesn't handle SNAPSHOT versions correctly
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin
   Versions:
             1.0
             1.1

   Assignee: 
   Reporter: Matthias Kerkhoff

    Created: Wed, 28 Apr 2004 3:44 PM
    Updated: Mon, 28 Jun 2004 5:50 AM

Description:
If the current version is something different than
"SNAPSHOT", the artifact plugin will fail to correctly
deploy or install snapshot artifacts.

Let's assume a <currentVersion>1.2-SNAPSHOT</currentVersion>.
Try it for yourself -- the artifact plugin will replace the
1.2-SNAPSHOT with SNAPSHOT.

This is quite ugly in projects which may have multiple SNAPSHOTs.
(Typically this happens in projects with concurrently developed
branches. In such projects, SNAPSHOT versions have to be further
qualified, usually with their version number as in my example.)

We have a working solution, which we may attach to this issue,
if you like.


---------------------------------------------------------------------
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