Task 20625 (#14164)
* [TASK-20625] Upgraded testing-modules to jdk9-and-above profile * [TASK-20625] Fixed failing modules * [TASK-20625] Removed ninja submodule from build * Update pom.xml --------- Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
This commit is contained in:
parent
dcda0ca769
commit
a66251654d
6
pom.xml
6
pom.xml
|
@ -431,7 +431,6 @@
|
|||
<module>spring-soap</module>
|
||||
<module>spring-static-resources</module>
|
||||
<module>spring-swagger-codegen</module>
|
||||
<module>testing-modules</module>
|
||||
<module>video-tutorials</module>
|
||||
</modules>
|
||||
|
||||
|
@ -605,7 +604,6 @@
|
|||
<module>spring-soap</module>
|
||||
<module>spring-static-resources</module>
|
||||
<module>spring-swagger-codegen</module>
|
||||
<module>testing-modules</module>
|
||||
<module>video-tutorials</module>
|
||||
</modules>
|
||||
|
||||
|
@ -803,7 +801,7 @@
|
|||
<module>quarkus-modules</module>
|
||||
<module>spring-reactive-modules</module>
|
||||
<module>spring-swagger-codegen/custom-validations-opeanpi-codegen</module>
|
||||
<module>testing-modules/testing-assertions</module>
|
||||
<module>testing-modules</module>
|
||||
<module>testing-modules/mockito-simple</module>
|
||||
|
||||
<module>rule-engines-modules</module>
|
||||
|
@ -1065,7 +1063,7 @@
|
|||
<module>quarkus-modules</module>
|
||||
<module>spring-reactive-modules</module>
|
||||
<module>spring-swagger-codegen/custom-validations-opeanpi-codegen</module>
|
||||
<module>testing-modules/testing-assertions</module>
|
||||
<module>testing-modules</module>
|
||||
<module>testing-modules/mockito-simple</module>
|
||||
|
||||
<module>rule-engines-modules</module>
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<argLine>
|
||||
-javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
|
||||
|
@ -70,6 +71,7 @@
|
|||
<jmockit.version>1.49</jmockit.version>
|
||||
<assertj.version>3.24.2</assertj.version>
|
||||
<junit-platform.version>1.9.2</junit-platform.version>
|
||||
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -61,6 +61,17 @@
|
|||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
|
|
|
@ -121,8 +121,13 @@
|
|||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||
<version>${surefire.report.plugin}</version>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
--add-opens java.base/java.time=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -131,7 +136,6 @@
|
|||
<log4j2.version>2.17.1</log4j2.version>
|
||||
<powermock.version>2.0.9</powermock.version>
|
||||
<spring.version>5.0.1.RELEASE</spring.version>
|
||||
<surefire.report.plugin>3.0.0-M3</surefire.report.plugin>
|
||||
<mockito.version>3.3.0</mockito.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import org.junit.platform.suite.api.SelectPackages;
|
|||
import org.junit.platform.suite.api.Suite;
|
||||
|
||||
@Suite
|
||||
@SelectPackages({ "com.baeldung.java.suite.childpackage1", "com.baeldung.java.suite.childpackage2" })
|
||||
@SelectPackages({ "com.baeldung.java.suite.junit4", "com.baeldung.java.suite.junit5" })
|
||||
public class SelectPackagesSuiteUnitTest {
|
||||
|
||||
}
|
||||
|
|
|
@ -43,6 +43,26 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
-javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
|
||||
-Djdk.attach.allowAttachSelf
|
||||
</argLine>
|
||||
<disableXmlReport>true</disableXmlReport>
|
||||
<excludes>
|
||||
<exclude>**/testsuite/**/*UnitTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<javafaker.version>0.15</javafaker.version>
|
||||
<jukito.version>1.5</jukito.version>
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
<module>spring-mockito</module>
|
||||
<module>spring-testing-2</module>
|
||||
<module>spring-testing</module>
|
||||
<module>testing-assertions</module>
|
||||
<module>test-containers</module>
|
||||
<module>testing-libraries-2</module>
|
||||
<module>testing-libraries</module>
|
||||
|
|
|
@ -26,9 +26,23 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<mockito.version>2.21.0</mockito.version>
|
||||
<powermock.version>2.0.7</powermock.version>
|
||||
<powermock.version>2.0.9</powermock.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -93,6 +93,16 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-opens java.base/java.util=ALL-UNNAMED
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<resources>
|
||||
<resource>
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</profiles>
|
||||
|
||||
<properties>
|
||||
<testng.version>7.1.0</testng.version>
|
||||
<testng.version>7.8.0</testng.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -26,7 +26,7 @@
|
|||
<!--<module>jee-7</module>-->
|
||||
<module>jooby</module>
|
||||
<module>linkrest</module>
|
||||
<module>ninja</module>
|
||||
<!-- <module>ninja</module> --> <!-- JAVA-22066 -->
|
||||
<!-- <module>play-modules</module> --> <!-- Not a maven project -->
|
||||
<!-- <module>raml-modules</module> --> <!-- Not a maven project -->
|
||||
<module>ratpack</module>
|
||||
|
@ -49,4 +49,4 @@
|
|||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue