Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7
-
Fix Version/s: 2.0.8, 3.0-alpha-1
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
calling isSnapshot() actually modifies the baseVersion:
public boolean isSnapshot()
{
if ( version != null || baseVersion != null )
{
Matcher m = VERSION_FILE_PATTERN.matcher( getBaseVersion() );
if ( m.matches() )
else
{ return getBaseVersion().endsWith( SNAPSHOT_VERSION ) || getBaseVersion().equals( LATEST_VERSION ); } }
else
}
Attachments
Issue Links
| This issue relates to: | ||||
| MANTTASKS-18 | filesetId does not contain all dependencies when artifact was not yet locally installed |
|
|
|
| MINVOKER-70 | invoker:install does not properly handle versioned dependencies |
|
|
|
| This issue is related to: | ||||
| MRELEASE-124 | Impossible to depend on a deployed snapshot |
|
|
|
with this patch, baseVersion attribute is only set by its setter setBaseVersion(), which does the -SNAPSHOT conversion