Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-385

Clarify usage of scope "provided" for Maven artifacts with group id "org.apache.maven"

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6.2
    • None
    • Plugin Plugin
    • None

    Description

      Since m-plugin-p 3.6.2 (MPLUGIN-370) all dependencies with group id org.apache.maven are supposed to be referenced with scope provided.
      But once turning dependency org.apache.maven:maven-archiver:3.5.1 to scope provided my ITs based on org.apache.maven.shared:maven-verifier:1.7.2 are starting to fail with NCDF errors

      java.lang.NoClassDefFoundError: Lorg/apache/maven/archiver/MavenArchiveConfiguration;
      

      Is that a bug in the classloader with maven-verifier? What if I want to use a newer version than shipped with Maven like "maven-archiver 3.5.1"?
      What about group ids starting with "org.apache.maven" like "org.apache.maven.shared"?

      You can reproduce with https://github.com/apache/jackrabbit-filevault-package-maven-plugin.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            kwin Konrad Windszus

            Dates

              Created:
              Updated:

              Slack

                Issue deployment