jakartaee / authentication

Jakarta Authentication
https://eclipse.org/ee4j/jaspic
Other
24 stars 33 forks source link

TCK is build is using +ShowCodeDetailsInExceptionMessages in surefire plugin config #152

Closed starksm64 closed 2 years ago

starksm64 commented 2 years ago

The current tck/pom.xml file has the following maven-surefire-plugin configuration:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.0.0-M5</version>
                <configuration>
                    <trimStackTrace>false</trimStackTrace>
                    <argLine>-XX:+ShowCodeDetailsInExceptionMessages</argLine>
                </configuration>
            </plugin>

This requires Java SE 14+ to build as this option was introduced in SE 14. The build should only require Java SE 11.

arjantijms commented 2 years ago

Good point, that one should be removed (or the not fail an unknown options added, but removing is easier).