You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jonathan DELAIRE (JIRA)" <ji...@apache.org> on 2015/03/04 11:12:04 UTC
[jira] [Created] (FELIX-4823) Filtering snapshots is failing if
version qualifier contains more than "SNAPSHOT".
Jonathan DELAIRE created FELIX-4823:
---------------------------------------
Summary: Filtering snapshots is failing if version qualifier contains more than "SNAPSHOT".
Key: FELIX-4823
URL: https://issues.apache.org/jira/browse/FELIX-4823
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-2.5.3
Reporter: Jonathan DELAIRE
AbstractBaselinePlugin.java#519
private void filterSnapshots( List<ArtifactVersion> versions )
{
for ( Iterator<ArtifactVersion> versionIterator = versions.iterator(); versionIterator.hasNext(); )
{
ArtifactVersion version = versionIterator.next();
if ( "SNAPSHOT".equals( version.getQualifier() ) )
versionIterator.remove();
}
}
}
endWith should be used instead of equals.
if ( version.getQualifier().endWith("SNAPSHOT") )
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)