Skip to content

Commit

Permalink
jaxrs module using arquillian
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph committed Feb 23, 2023
1 parent 5246400 commit 732c21e
Show file tree
Hide file tree
Showing 84 changed files with 2,524 additions and 1,728 deletions.
1 change: 1 addition & 0 deletions glassfish-runner/jaxrs-platform-tck/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
17 changes: 17 additions & 0 deletions glassfish-runner/jaxrs-platform-tck/j2ee.pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

#
# Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.
#
# 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
#
AS_ADMIN_USERPASSWORD=j2ee
16 changes: 16 additions & 0 deletions glassfish-runner/jaxrs-platform-tck/javajoe.pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.
#
# 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
#
AS_ADMIN_USERPASSWORD=javajoe
387 changes: 387 additions & 0 deletions glassfish-runner/jaxrs-platform-tck/pom.xml

Large diffs are not rendered by default.

95 changes: 90 additions & 5 deletions jaxrs/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021 Contributors to the Eclipse Foundation
Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation
All rights reserved.
This program and the accompanying materials are made available under the
Expand All @@ -27,28 +27,42 @@
<version>10.0.0-SNAPSHOT</version>
</parent>

<artifactId>jaxrs</artifactId>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<junit.jupiter.version>[5.7.2, 5.8-A00)</junit.jupiter.version>
</properties>


<artifactId>jaxrs-platform-tck</artifactId>
<packaging>jar</packaging>

<name>JAXRS</name>
<description>JAXRS</description>
<name>JAXRS Tests</name>
<description>JAXRS Tests for Jakarta EE Platform</description>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>ejb30</artifactId>
<artifactId>runtime</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</dependency>
<dependency>
<groupId>javatest</groupId>
<artifactId>javatest</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/../lib/javatest.jar</systemPath>
</dependency>
<dependency>
<groupId>jakarta.ejb</groupId>
Expand Down Expand Up @@ -90,5 +104,76 @@
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
</dependency>

<dependency>
<groupId>jakartatck</groupId>
<artifactId>libutil</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit5</groupId>
<artifactId>arquillian-junit5-container</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-core</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
</dependency>

<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.7.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>[2.2, 2.3-A00)</version>
</dependency>

<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.0</version>
</dependency>

<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>2.1.0</version>
</dependency>

</dependencies>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
</build>
</project>
46 changes: 0 additions & 46 deletions jaxrs/src/main/java/com/sun/ts/tests/jaxrs/build.xml

This file was deleted.

Loading

0 comments on commit 732c21e

Please sign in to comment.