Skip to content

Commit

Permalink
Upgrade TCK to latest liberty arquillian settings
Browse files Browse the repository at this point in the history
see: #295
  • Loading branch information
erdlet committed Jul 29, 2022
1 parent 30d88c4 commit 77d3c41
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
31 changes: 31 additions & 0 deletions tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,45 @@
<dependenciesToScan>jakarta.mvc.tck:mvc-tck-tests</dependenciesToScan>
<systemPropertyVariables>
<arquillian.launch>liberty</arquillian.launch>
<liberty.home>${project.build.directory}/liberty/wlp</liberty.home>
<jakarta.mvc.tck.api.BaseArchiveProvider>
org.eclipse.krazo.tck.liberty.LibertyArchiveProvider
</jakarta.mvc.tck.api.BaseArchiveProvider>
</systemPropertyVariables>
</configuration>
</plugin>

<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.3.4</version>
<configuration>
<skip>${skipTests}</skip>
<serverName>defaultServer</serverName>
<assemblyArtifact>
<groupId>io.openliberty.beta</groupId>
<artifactId>openliberty-runtime</artifactId>
<version>22.0.0.8-beta</version>
<type>zip</type>
</assemblyArtifact>
</configuration>
<executions>
<execution>
<id>create-server</id>
<phase>process-test-resources</phase>
<configuration>
<serverName>defaultServer</serverName>
<serverXmlFile>src/test/resources/liberty/server.xml</serverXmlFile>
</configuration>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>io.openliberty.arquillian</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tck/src/test/resources/liberty/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- Enable features -->
<featureManager>
<feature>jakartaee-9.0</feature>
<feature>jakartaee-9.1</feature>
<feature>localConnector-1.0</feature>
</featureManager>

Expand Down
6 changes: 3 additions & 3 deletions testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@
<skip>${skipTests}</skip>
<serverName>defaultServer</serverName>
<assemblyArtifact>
<groupId>io.openliberty</groupId>
<artifactId>openliberty-jakartaee9</artifactId>
<version>22.0.0.7</version>
<groupId>io.openliberty.beta</groupId>
<artifactId>openliberty-runtime</artifactId>
<version>22.0.0.8-beta</version>
<type>zip</type>
</assemblyArtifact>
</configuration>
Expand Down

0 comments on commit 77d3c41

Please sign in to comment.