Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4823

Filtering snapshots is failing if version qualifier contains more than "SNAPSHOT".

    XMLWordPrintableJSON

    Details

      Description

      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") )

        Attachments

          Activity

            People

            • Assignee:
              gnodet Guillaume Nodet
              Reporter:
              jdelaire Jonathan DELAIRE
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: