michael-o commented on PR #737:
URL: https://github.com/apache/maven-surefire/pull/737#issuecomment-2140642939

   > This works:
   > 
   > ```
   > $ git diff
   > diff --git a/surefire-its/src/test/resources/junit-4-5/pom.xml 
b/surefire-its/src/test/resources/junit-4-5/pom.xml
   > index 9a9d69c27..e55fd9b4e 100644
   > --- a/surefire-its/src/test/resources/junit-4-5/pom.xml
   > +++ b/surefire-its/src/test/resources/junit-4-5/pom.xml
   > @@ -139,7 +139,7 @@
   >              <dependencies>
   >                  <dependency>
   >                      <groupId>org.junit.jupiter</groupId>
   > -                    <artifactId>junit-jupiter-api</artifactId>
   > +                    <artifactId>junit-jupiter</artifactId>
   >                      <version>5.9.1</version>
   >                      <scope>test</scope>
   >                  </dependency>
   > @@ -155,18 +155,6 @@
   >                      <plugin>
   >                          <groupId>org.apache.maven.plugins</groupId>
   >                          <artifactId>maven-surefire-plugin</artifactId>
   > -                        <dependencies>
   > -                            <dependency>
   > -                                <groupId>org.junit.jupiter</groupId>
   > -                                
<artifactId>junit-jupiter-engine</artifactId>
   > -                                <version>5.9.1</version>
   > -                            </dependency>
   > -                            <dependency>
   > -                                <groupId>org.junit.platform</groupId>
   > -                                
<artifactId>junit-platform-engine</artifactId>
   > -                                <version>1.9.1</version>
   > -                          </dependency>
   > -                        </dependencies>
   >                      </plugin>
   >                  </plugins>
   >              </build>
   > ```
   > 
   > I'll try that...
   
   Tried, while it works it gives a different classpath, thus different 
results. Profile `select-junit4` does not select 4. I will leave as-is now.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to