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/11/20 05:08:07 UTC

[jira] Updated: (MAVEN-1511) Jar override does not work when trying to override to SNAPSHOT

The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Fri, 19 Nov 2004 11:07 PM
    Changes:
             Fix Version changed to 1.0.2
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1511?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1511

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1511
    Summary: Jar override does not work when trying to override to SNAPSHOT
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: 15 minutes
 Time Spent: Unknown
  Remaining: 15 minutes

    Project: maven
 Components: 
             model
   Fix Fors:
             1.0.2
   Versions:
             1.0
             1.0.1

   Assignee: 
   Reporter: Jon Strayer

    Created: Fri, 19 Nov 2004 4:25 PM
    Updated: Fri, 19 Nov 2004 11:07 PM
Environment: All

Description:
The code in ArtifactListBuilder that checks the type of override being performed (version or path) just checks that the value of the first character of mavenJarProperty is a digit.  If you are tyring to override to SNAPSHOT this doesn't work.  If the code was changed from

if ( mavenJarOverride && StringUtils.isNotEmpty(mavenJarProperty) )

to

if ( mavenJarOverride && (StringUtils.isNotEmpty(mavenJarProperty) ||
    "SNAPSHOT".equals(mavenJarProperty)))

then we'd be able to override to SNAPSHOT for integration builds and not have to change all the dependencies before a relase (and then back to SNAPSHOT after).


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