Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17583

Exclude groovy-test-junit5 from groovy-all dependency in wildfly-ejb3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 28.0.0.Beta1, 28.0.0.Final
    • None
    • EJB
    • None

      In wildfly-ejb3 pom, the following dependency, groovy-all, brings in unwanted junit 5, which confuses surefire with the junit 4 in use. As a result, surefire is not able to find ejb3 unit tests to run.

              <dependency>
                  <groupId>org.apache.groovy</groupId>
                  <artifactId>groovy-all</artifactId>
                  <type>pom</type>
                  <scope>test</scope>
               
              </dependency>
      

      So we should exclude junit 5 from groovy-all:

                  <exclusions>
                      <exclusion>
                          <groupId>org.apache.groovy</groupId>
                          <artifactId>groovy-test-junit5</artifactId>
                      </exclusion>
                  </exclusions>
      

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: