o fixed isSnapshot() due to r607510

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@629759 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2008-02-21 11:48:54 +00:00
parent 623ab836c9
commit 45fc0f4362
1 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
/**