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()
|
public boolean isSnapshot()
|
||||||
{
|
{
|
||||||
return Artifact.VERSION_FILE_PATTERN.matcher( version ).matches()
|
return Artifact.VERSION_FILE_PATTERN.matcher( getVersion() ).matches()
|
||||||
|| version.endsWith( Artifact.SNAPSHOT_VERSION );
|
|| getVersion().endsWith( Artifact.SNAPSHOT_VERSION );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue