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

surefire does not respect or implement useSystemClassLoader from configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.14.1
    • None
    • classloading
    • None

    Description

      <plugin>
      <groupId>org.apache.maven.surefire</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <version>2.9</version>
      <configuration>
      <useSystemClassLoader>true</useSystemClassLoader>
      </configuration>
      </plugin>
      useSystemClassLoader does not appear in properties

      mvn -e -X -o -Dsurefire.useSystemClassLoader=true

      ..-XX:MaxPermSize=3192m, surefire.useSystemClassLoader=true, env.PGPORT=5432,

      Caused by: org.apache.maven.plugin.PluginContainerException:
      Unable to load the mojo 'test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin:2.9'. A required class is missing: org/apache/maven/plugin/surefire/AbstractSurefireMojo

      Surefire classloaders do not respect or implement useSystemClassLoader

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgainty Martin Gainty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: