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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment