Java 20625 (#14213)
* [JAVA-20625] Opened packages + disabled karate integration until upgrade * [JAVA-20625] Formatting
This commit is contained in:
parent
b3a5af07c0
commit
237893ed94
@ -94,6 +94,21 @@
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED
|
||||
--add-opens java.base/java.util=ALL-UNNAMED
|
||||
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
||||
--add-opens java.base/java.text=ALL-UNNAMED
|
||||
--add-opens java.desktop/java.awt.font=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
|
@ -2,16 +2,16 @@ package com.baeldung.rest.karate;
|
||||
|
||||
import com.github.tomakehurst.wiremock.WireMockServer;
|
||||
import com.github.tomakehurst.wiremock.core.WireMockConfiguration;
|
||||
import com.intuit.karate.junit4.Karate;
|
||||
import cucumber.api.CucumberOptions;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
|
||||
import static com.github.tomakehurst.wiremock.client.WireMock.*;
|
||||
import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
|
||||
|
||||
@RunWith(Karate.class)
|
||||
//We need to upgrade to latest version of Karate for JDK17 --- JAVA-22250
|
||||
//@RunWith(Karate.class)
|
||||
@CucumberOptions(features = "classpath:karate")
|
||||
public class KarateIntegrationTest {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user