Tibor17 commented on issue #222: [SUREFIRE-1647] Delay load testClass, but to 
use myown classLoader
URL: https://github.com/apache/maven-surefire/pull/222#issuecomment-483616993
 
 
   @cvictory 
   Can you check it out with the latest version `3.0.0-M3`?
   The parameter `classpathDependencyExcludes` works only with test classpath 
and not with provider classpath. But I think this is a clear solution for you 
in `3.0.0-M3`:
   ```
   <plugin>
       <artifactId>maven-surefire-plugin</artifactId>
       <version>3.0.0-M3</version>
       <dependencies>
           <dependency>
               <groupId>org.apache.maven.surefire</groupId>
               <artifactId>surefire-junit-platform</artifactId>
               <version>3.0.0-M3</version>
               <exclusions>
                   <exclusion>
                       <groupId>org.junit.platform</groupId>
                       <artifactId>junit-platform-launcher</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
       </dependencies>
   </plugin>
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to