o fixed isSnapshot() due to r607510
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629759 13f79535-47bb-0310-9956-ffa450edef68master
parent
623ab836c9
commit
45fc0f4362
|
|
@ -341,8 +341,8 @@ public class ArtifactStub
|
|||
*/
|
||||
public boolean isSnapshot()
|
||||
{
|
||||
return Artifact.VERSION_FILE_PATTERN.matcher( version ).matches()
|
||||
|| version.endsWith( Artifact.SNAPSHOT_VERSION );
|
||||
return Artifact.VERSION_FILE_PATTERN.matcher( getVersion() ).matches()
|
||||
|| getVersion().endsWith( Artifact.SNAPSHOT_VERSION );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue