Skip to content

Commit

Permalink
add_cdi_tck_signature (#3950)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjantijms authored Sep 11, 2024
1 parent f9b7939 commit 0825231
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 253 deletions.
151 changes: 0 additions & 151 deletions external/tck/coreprofile/cdi/cdi-model/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions external/tck/coreprofile/cdi/runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<modules>
<module>core</module>
<module>signature</module>
<module>model</module>
</modules>
</project>
109 changes: 109 additions & 0 deletions external/tck/coreprofile/cdi/runner/signature/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2024 Contributors to the Eclipse Foundation.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>cdi-signature</artifactId>
<version>1-SNAPSHOT</version>

<name>Piranha Core Profile - Jakarta CDI TCK - Runner - Model</name>
<description>Aggregates dependencies and runs the CDI Signature TCK on Piranha</description>

<properties>
<piranha.version>24.9.0-SNAPSHOT</piranha.version>
<piranha.root>${project.build.directory}/piranha</piranha.root>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-cdi-sigtest</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<!-- Signature test file for CDI -->
<artifactItem>
<groupId>jakarta.enterprise</groupId>
<artifactId>cdi-tck-core-impl</artifactId>
<version>4.0.13</version>
<type>sig</type>
<classifier>sigtest-jdk11</classifier>
<outputDirectory>${project.build.directory}/sigtest</outputDirectory>
</artifactItem>
</artifactItems>
<stripVersion>true</stripVersion>
<overWriteReleases>true</overWriteReleases>
</configuration>
</execution>

<execution>
<id>unpack-piranha</id>
<phase>process-test-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<markersDirectory>${piranha.root}/dependency-maven-plugin-markers</markersDirectory>
<artifactItems>
<artifactItem>
<groupId>cloud.piranha.dist</groupId>
<artifactId>piranha-dist-coreprofile</artifactId>
<version>${piranha.version}</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>target/cdi-sigtest-classes</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>jakarta.tck</groupId>
<artifactId>sigtest-maven-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>sigtest</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<sigfile>target/sigtest/cdi-tck-core-impl-sigtest-jdk11.sig</sigfile>
<packages>jakarta.decorator,jakarta.enterprise.**,jakarta.interceptor</packages>
<classes>target/cdi-sigtest-classes</classes>
<report>target/cdi-sig-report.txt</report>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 0825231

Please sign in to comment.