Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-2179

additionalClasspathElements should support Maven coordinates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.2
    • 3.2.0, 3.2.1
    • classloading
    • None

    Description

      Currently the parameter additionalClasspathElements (https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#additionalclasspathelements) only supports file paths. That usually requires to add an additional step to first download the necessary artifact to a temporary folder with another Mojo. In addition additionalClasspathElements only support full paths to JARs but no wildcards which makes configuration very verbose.

      For these reasons there should be an additional parameter supporting Maven coordinates which are then resolved automatically (even transitively) and added to the test execution classpath.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: