-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3849 - Setup Jakarta Core Profile 10.0.3 TCK for Piranha Core …
…Profile (#3850)
- Loading branch information
Showing
6 changed files
with
257 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>tck</groupId> | ||
<artifactId>core-runner</artifactId> | ||
<version>1-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<name>Piranha - External - TCK - CoreProfile - Jakarta CDI TCK - Runner</name> | ||
<properties> | ||
<piranha.version>24.9.0-SNAPSHOT</piranha.version> | ||
</properties> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.jboss.arquillian</groupId> | ||
<artifactId>arquillian-bom</artifactId> | ||
<version>1.8.0.Final</version> | ||
<scope>test</scope> | ||
<type>pom</type> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<profiles> | ||
<profile> | ||
<id>unix</id> | ||
<activation> | ||
<os> | ||
<family>unix</family> | ||
</os> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>cloud.piranha.arquillian</groupId> | ||
<artifactId>piranha-arquillian-jarcontainer</artifactId> | ||
<version>${piranha.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>jakarta.ee.tck.coreprofile</groupId> | ||
<artifactId>core-profile-tck-impl</artifactId> | ||
<version>10.0.3</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.arquillian.protocol</groupId> | ||
<artifactId>arquillian-protocol-servlet-jakarta</artifactId> | ||
<version>1.8.0.Final</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.arquillian.junit5</groupId> | ||
<artifactId>arquillian-junit5-container</artifactId> | ||
<version>1.8.0.Final</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<version>5.11.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<version>5.11.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<version>5.11.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- RESTEasy required dependencies --> | ||
<dependency> | ||
<groupId>org.jboss.resteasy</groupId> | ||
<artifactId>resteasy-core</artifactId> | ||
<version>6.1.0.Beta2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.resteasy</groupId> | ||
<artifactId>resteasy-client</artifactId> | ||
<version>6.1.0.Beta2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.resteasy</groupId> | ||
<artifactId>resteasy-json-binding-provider</artifactId> | ||
<version>6.1.0.Beta2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.resteasy</groupId> | ||
<artifactId>resteasy-jaxb-provider</artifactId> | ||
<version>6.1.0.Beta2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
<version>3.0.0</version> | ||
<executions> | ||
<execution> | ||
<id>verify</id> | ||
<goals> | ||
<goal>integration-test</goal> | ||
<goal>verify</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<dependenciesToScan> | ||
<dependency>jakarta.ee.tck.coreprofile:core-profile-tck-impl</dependency> | ||
</dependenciesToScan> | ||
<forkCount>1</forkCount> | ||
<reuseForks>false</reuseForks> | ||
<systemPropertyVariables> | ||
<arquillian.launch>piranha</arquillian.launch> | ||
</systemPropertyVariables> | ||
<testFailureIgnore>true</testFailureIgnore> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
9 changes: 9 additions & 0 deletions
9
external/tck/coreprofile/coreprofile/core-tck/src/test/resources/arquillian.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<arquillian | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://jboss.org/schema/arquillian" | ||
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> | ||
<defaultProtocol type="Servlet 5.0" /> | ||
<container qualifier="piranha" default="true"/> | ||
</arquillian> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>cloud.piranha.external.tck.coreprofile</groupId> | ||
<artifactId>project</artifactId> | ||
<version>24.9.0-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>piranha-external-tck-coreprofile-jakarta-coreprofile-tck</artifactId> | ||
<packaging>pom</packaging> | ||
<name>Piranha - External - TCK - CoreProfile - Jakarta CoreProfile TCK</name> | ||
<properties> | ||
<ant.home>${project.build.directory}/ant</ant.home> | ||
<signature.home>${project.build.directory}/signature</signature.home> | ||
<tck.home>${project.build.directory}/tck</tck.home> | ||
<test.home>${tck.home}/src/com/sun/ts/tests</test.home> | ||
</properties> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>cloud.piranha</groupId> | ||
<artifactId>bom</artifactId> | ||
<version>${project.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<profiles> | ||
<profile> | ||
<id>unix</id> | ||
<activation> | ||
<os> | ||
<family>unix</family> | ||
</os> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>validate</id> | ||
<phase>validate</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target xmlns:if="ant:if" xmlns:unless="ant:unless"> | ||
<echo>Executing UNIX profile</echo> | ||
|
||
<!-- Download, unzip and rename TCK --> | ||
<get src="https://download.eclipse.org/jakartaee/coreprofile/10.0/jakarta-core-profile-tck-10.0.3.zip" | ||
dest="${project.build.directory}/tck.zip" | ||
skipexisting="true"/> | ||
<unzip src="${project.build.directory}/tck.zip" | ||
dest="${project.build.directory}"/> | ||
<move file="${project.build.directory}/core-profile-tck-10.0.3" | ||
tofile="${project.build.directory}/tck"/> | ||
|
||
<!-- Install the TCK artifacts into local repository --> | ||
<exec dir="${project.build.directory}/tck/artifacts" | ||
executable="mvn"> | ||
<arg value="install"/> | ||
</exec> | ||
</target> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>integration-test</id> | ||
<phase>integration-test</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target> | ||
<!-- Run the tests --> | ||
<exec dir="${project.build.directory}/../core-tck" | ||
executable="mvn"> | ||
<arg value="verify"/> | ||
</exec> | ||
</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters