Re: Artifact.isSnapshot definition

2012-02-28 Thread Brian Fox
The second one looks right to me, this is what I've always used as reference[1] [1] http://www.sonatype.com/people/2008/05/maven-code-how-to-detect-if-you-have-a-snapshot-version/ On Mon, Feb 27, 2012 at 6:41 PM, Robert Scholte wrote: > A couple of issues of the release-plugin have to do with S

Artifact.isSnapshot definition

2012-02-27 Thread Robert Scholte
A couple of issues of the release-plugin have to do with SNAPSHOTs, because it uses its own definition, borrowed from (an old) DefaultArtifact. However, it seems like there are 2 definitions: In DefaultArtifact: public boolean isSnapshot() { return getBaseVersion() != null