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

Enable excludeDependencies to check groupId, version, etc. rather than only artifactId

    Details

      Description

      At the moment maven-bundle-plugin allow a comma separated list as excludeDependencies, but this list allows the selection of the dependencies to exclude by means of artifacId.
      I'd like to be able to change the behavior of the excludeDependencies in order to accept a list of dependencies URI, so that the dependencies will be excluded only if it matches the whole URI.

      The URI for a dependency is defined as follow:
      <groupId>:<artifactId>:<type>:<version>:<scope>

      The plugin should try to interpret non full qualified URI, in order to match the old behavior and to make the excludeDependecies more user-friendly. For instance, depending on the number of colon:
      0 colon -> <artifactId>
      1 colon -> <groupId>:<artifactId>
      2 colon -> <groupId>:<artifactId>:<version>
      3 colon -> <groupId>:<artifactId>:<type>:<version>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcculls Stuart McCulloch
                Reporter:
                stefano.lenzi Stefano Lenzi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: