Skip to content

Commit

Permalink
use classpath for jakarta api libraries.
Browse files Browse the repository at this point in the history
Signed-off-by: Gurunandan Rao <gurunandan.rao@oracle.com>
  • Loading branch information
gurunrao authored and lukasj committed Dec 30, 2023
1 parent 357e30a commit 05d3a9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 28 deletions.
23 changes: 4 additions & 19 deletions tck/tck-dist-eftl/src/main/bin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,36 @@
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">

<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.7</version>
<relativePath/>
</parent>

<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-tck-impl</artifactId>
<version>${project.version}</version>
<packaging>pom</packaging>

<properties>
<!-- Vendor Implementation (VI) -->
<jsonp-api.groupId>jakarta.json</jsonp-api.groupId>
<jsonp-api.artifactId>jakarta.json-api</jsonp-api.artifactId>
<jsonp-api.version>2.1.0</jsonp-api.version>

<!-- Compatible Implementation (CI) -->
<jsonp-impl.groupId>org.eclipse.parsson</jsonp-impl.groupId>
<jsonp-impl.artifactId>parsson</jsonp-impl.artifactId>
<jsonp-impl.version>1.1.0</jsonp-impl.version>

<!-- TCK -->
<jakarta.json-tck.version>${project.version}</jakarta.json-tck.version>

<!-- properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jimage.dir>\${project.build.directory}/jdk-bundle</jimage.dir>

<!-- !!! DO NOT EDIT !!! -->
<jakarta.json-api.version>2.1.0</jakarta.json-api.version>
<impl.alltests>true</impl.alltests>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
Expand All @@ -68,12 +57,10 @@
</dependency>
</dependencies>
</dependencyManagement>

<modules>
<module>tck-tests</module>
<module>tck-tests-pluggability</module>
</modules>

<dependencies>
<dependency>
<groupId>\${jsonp-api.groupId}</groupId>
Expand All @@ -92,7 +79,6 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<defaultGoal>verify</defaultGoal>
<pluginManagement>
Expand Down Expand Up @@ -120,22 +106,21 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<useModulePath>false</useModulePath>
<trimStackTrace>false</trimStackTrace>
<failIfNoTests>\${impl.alltests}</failIfNoTests>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<systemPropertyVariables>
<jimage.dir>\${jimage.dir}</jimage.dir>
<signature.sigTestClasspath>
\${project.build.directory}/signaturedirectory/jakarta.json-api.jar:\${jimage.dir}/java.base:\${jimage.dir}/java.rmi:\${jimage.dir}/java.sql:\${jimage.dir}/java.naming
<signature.sigTestClasspath>\${project.build.directory}/signaturedirectory/jakarta.json-api.jar:\${jimage.dir}/java.base:\${jimage.dir}/java.rmi:\${jimage.dir}/java.sql:\${jimage.dir}/java.naming
</signature.sigTestClasspath>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>single-test</id>
Expand All @@ -149,4 +134,4 @@
</properties>
</profile>
</profiles>
</project>
</project>
12 changes: 3 additions & 9 deletions tck/tck-dist-eftl/src/main/bin/tck-tests-pluggability/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,22 @@
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">

<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>jakarta.json</groupId>
<artifactId>jakarta.json-tck-impl</artifactId>
<version>${project.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>tck-tests-pluggability</artifactId>

<dependencies>
<dependency>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-tck-tests-pluggability</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand All @@ -48,8 +41,9 @@
<dependenciesToScan>
<dependency>jakarta.json:jakarta.json-tck-tests-pluggability</dependency>
</dependenciesToScan>
<useModulePath>false</useModulePath>
</configuration>
</plugin>
</plugins>
</build>
</project>
</project>

0 comments on commit 05d3a9a

Please sign in to comment.