Skip to content

Commit

Permalink
Fixes #4060 - Add Faces TCK to tck-webprofile workflow (#4066)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Oct 19, 2024
1 parent 34537df commit f638a1b
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions external/webprofile-tck/faces/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?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.webprofiletck</groupId>
<artifactId>project</artifactId>
<version>24.11.0-SNAPSHOT</version>
</parent>
<artifactId>faces-tck</artifactId>
<packaging>pom</packaging>
<name>Piranha Web Profile - Jakarta Faces TCK</name>
<properties>
<faces.tck.version>4.0.3</faces.tck.version>
<mojarra.version>${mojarra.version}</mojarra.version>
<tck.home>${project.build.directory}/tck</tck.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>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>pre-integration-test</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- Download, unzip and rename TCK -->
<get src="https://download.eclipse.org/jakartaee/faces/4.0/jakarta-faces-tck-${faces.tck.version}.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}/faces-tck-${faces.tck.version}"
tofile="${project.build.directory}/tck"/>
</target>
</configuration>
</execution>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- Run the tests -->
<exec dir="${tck.home}/tck"
executable="mvn"
failonerror="true">
<arg value="verify"/>
<arg line="-Dmojarra.version=${mojarra.version}"/>
</exec>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit f638a1b

Please sign in to comment.