Message: The following issue has been closed.
Resolver: Brett Porter Date: Sat, 4 Dec 2004 2:05 AM applied, though as an indexOf for consistency (even though in this case it is redundant). --------------------------------------------------------------------- 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: Closed Priority: Minor Resolution: FIXED 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: Brett Porter Reporter: Jon Strayer Created: Fri, 19 Nov 2004 4:25 PM Updated: Sat, 4 Dec 2004 2:05 AM 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]