maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven-surefire] Tibor17 commented on issue #222: [SUREFIRE-1647] Delay load testClass, but to use myown classLoader
Date Tue, 16 Apr 2019 11:14:21 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message