Skip to content

Commit

Permalink
update persistence platform runner (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph authored Feb 5, 2025
1 parent f8e8789 commit 19c326e
Show file tree
Hide file tree
Showing 22 changed files with 704 additions and 485 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021, 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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
<version>1.0.9</version>
<relativePath />
</parent>

<artifactId>persistence-platform-tck-install</artifactId>
<packaging>pom</packaging>

<name>TCK: Install Jakarta persistence Platform Tests</name>

<properties>
<tck.test.persistence.file>jakartaeetck-${tck.test.persistence.version}.zip</tck.test.persistence.file>
<tck.test.persistence.url>https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/${tck.test.persistence.file}</tck.test.persistence.url>
<tck.test.persistence.version>11.0.0-SNAPSHOT</tck.test.persistence.version>
</properties>

<build>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<url>${tck.test.persistence.url}</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
<executions>
<execution>
<id>download-persistence-tck</id>
<goals>
<goal>wget</goal>
</goals>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>

<!-- Persistence Platform TCK Common -->

<execution>
<id>install-persistence-platform-tck-common-jar</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<file>${project.build.directory}/jakartaeetck/artifacts/persistence-platform-tck-common-${tck.test.persistence.version}.jar</file>
<groupId>jakarta.tck</groupId>
<artifactId>persistence-platform-tck-common</artifactId>
<version>${tck.test.persistence.version}</version>
<sources>${project.build.directory}/jakartaeetck/artifacts/persistence-platform-tck-common-${tck.test.persistence.version}-sources.jar</sources>
<packaging>jar</packaging>
</configuration>
</execution>


<!-- Persistence Platform TCK Spec tests -->

<execution>
<id>install-persistence-platform-tck-spec-tests-jar</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<file>${project.build.directory}/jakartaeetck/artifacts/persistence-platform-tck-spec-tests-${tck.test.persistence.version}.jar</file>
<groupId>jakarta.tck</groupId>
<artifactId>persistence-platform-tck-spec-tests</artifactId>
<version>${tck.test.persistence.version}</version>
<sources>${project.build.directory}/jakartaeetck/artifacts/persistence-platform-tck-spec-tests-${tck.test.persistence.version}-sources.jar</sources>
<packaging>jar</packaging>
</configuration>
</execution>

<!-- Persistence Platform TCK tests -->

<execution>
<id>install-persistence-platform-tck-tests-jar</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<file>${project.build.directory}/jakartaeetck/artifacts/persistence-platform-tck-tests-${tck.test.persistence.version}.jar</file>
<groupId>jakarta.tck</groupId>
<artifactId>persistence-platform-tck-tests</artifactId>
<version>${tck.test.persistence.version}</version>
<sources>${project.build.directory}/jakartaeetck/artifacts/persistence-platform-tck-tests-${tck.test.persistence.version}-sources.jar</sources>
<packaging>jar</packaging>
</configuration>
</execution>

</executions>
</plugin>

</plugins>
</build>
</project>
Loading

0 comments on commit 19c326e

Please sign in to comment.