Skip to content

Commit

Permalink
make folders generic without glassfish version.
Browse files Browse the repository at this point in the history
  • Loading branch information
gurunrao committed Apr 12, 2022
1 parent 5e8293b commit 27597de
Show file tree
Hide file tree
Showing 35 changed files with 54 additions and 44 deletions.
6 changes: 3 additions & 3 deletions glassfish-common/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<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>
<artifactId>arquillian-parent-glassfish6</artifactId>
<artifactId>arquillian-parent-glassfish7</artifactId>
<groupId>org.jboss.arquillian.container</groupId>
<version>1.0.0.Final-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>arquillian-glassfish6-common</artifactId>
<name>Arquillian Container GlassFish 6+ Common Services</name>
<artifactId>arquillian-glassfish7-common</artifactId>
<name>Arquillian Container GlassFish 7+ Common Services</name>

<dependencies>

Expand Down

This file was deleted.

25 changes: 18 additions & 7 deletions glassfish-managed-6/pom.xml → glassfish-managed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@

<parent>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-parent-glassfish6</artifactId>
<artifactId>arquillian-parent-glassfish7</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>arquillian-glassfish-managed-6</artifactId>
<name>Arquillian Container GlassFish Managed 6</name>
<description>GlassFish 6 Managed Container integration for the Arquillian Project</description>
<artifactId>arquillian-glassfish-managed</artifactId>
<name>Arquillian Container GlassFish Managed 7</name>
<description>GlassFish 7 Managed Container integration for the Arquillian Project</description>

<!-- Properties -->
<properties>
<version.arquillian_core>1.7.0.Alpha10</version.arquillian_core>
</properties>

<dependencies>

Expand All @@ -26,42 +31,49 @@

<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish6-common</artifactId>
<artifactId>arquillian-glassfish7-common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-container-spi</artifactId>
<version>${version.arquillian_core}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-container-test-spi</artifactId>
<version>${version.arquillian_core}</version>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet-jakarta</artifactId>
<version>${version.arquillian_core}</version>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-cdi-jakarta</artifactId>
<version>${version.arquillian_core}</version>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-ejb-jakarta</artifactId>
<version>${version.arquillian_core}</version>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-resource-jakarta</artifactId>
<version>${version.arquillian_core}</version>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-initialcontext</artifactId>
<version>${version.arquillian_core}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -148,8 +160,7 @@
<properties>
<groupId>org.glassfish.main.distributions</groupId>
<artifactId>glassfish</artifactId>
<version.glassfish>${version.glassfish6}</version.glassfish>
<glassfish.home>glassfish6</glassfish.home>
<glassfish.home>glassfish7</glassfish.home>
<enableDerby>false</enableDerby>
</properties>
</profile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.glassfish.CommonGlassFishConfiguration;
import org.jboss.arquillian.container.glassfish.clientutils.GlassFishClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
import org.jboss.arquillian.core.spi.LoadableExtension;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.glassfish.CommonGlassFishManager;
import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.spi.client.container.LifecycleException;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.jboss.arquillian.container.glassfish.managed.GlassFishManagedContainerExtension
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import org.jboss.arquillian.test.api.ArquillianResource;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import jakarta.ejb.Stateless;
import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import jakarta.ejb.EJB;
import jakarta.servlet.ServletException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import jakarta.annotation.Resource;
import jakarta.ejb.EJB;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

public class SimpleBean {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jboss.arquillian.container.glassfish.managed_6;
package org.jboss.arquillian.container.glassfish.managed;

import java.io.BufferedReader;
import java.io.InputStreamReader;
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions glassfish-remote-6/pom.xml → glassfish-remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

<parent>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-parent-glassfish6</artifactId>
<artifactId>arquillian-parent-glassfish7</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>arquillian-glassfish-remote-6</artifactId>
<name>Arquillian Container GlassFish Remote 6.x</name>
<description>GlassFish 6.x Remote Container integration for the Arquillian Project</description>
<artifactId>arquillian-glassfish-remote</artifactId>
<name>Arquillian Container GlassFish Remote 7.x</name>
<description>GlassFish 7.x Remote Container integration for the Arquillian Project</description>

<dependencies>
<dependency>
Expand All @@ -26,7 +26,7 @@

<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish6-common</artifactId>
<artifactId>arquillian-glassfish7-common</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.arquillian.container.glassfish.remote_6;
package org.jboss.arquillian.container.glassfish.remote;

import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
import org.jboss.arquillian.core.spi.LoadableExtension;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* @author <a href="http://community.jboss.org/people/LightGuard">Jason Porter</a>
*/
package org.jboss.arquillian.container.glassfish.remote_6;
package org.jboss.arquillian.container.glassfish.remote;

import org.jboss.arquillian.container.glassfish.CommonGlassFishConfiguration;
import org.jboss.arquillian.container.glassfish.CommonGlassFishManager;
Expand Down
23 changes: 11 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

<!-- Artifact Configuration -->
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-parent-glassfish6</artifactId>
<artifactId>arquillian-parent-glassfish7</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Arquillian Container Parent GlassFish 6+</name>
<description>GlassFish 6.x and Later Container integrations for the Arquillian Project</description>
<name>Arquillian Container Parent GlassFish 7+</name>
<description>GlassFish 7.x and Later Container integrations for the Arquillian Project</description>

<scm>
<connection>scm:git:git://[email protected]:arquillian/arquillian-container-glassfish6.git</connection>
Expand All @@ -29,15 +29,15 @@

<!-- Properties -->
<properties>
<version.arquillian_core>1.7.0.Alpha2</version.arquillian_core>
<version.glassfish6>6.2.3</version.glassfish6>
<version.arquillian_core>1.7.0.Alpha10</version.arquillian_core>
<version.glassfish>7.0.0-M4</version.glassfish>
<!-- The Jakarta EE 10 based release version -->
<version.jersey>3.1.0-M1</version.jersey>
<version.jersey>3.1.0-M5</version.jersey>
<jakarta.cdi.version>4.0.0</jakarta.cdi.version>
<jakarta.el.version>4.0.0</jakarta.el.version>
<jakarta.interceptor.version>2.0.0</jakarta.interceptor.version>
<jakarta.el.version>5.0.0</jakarta.el.version>
<jakarta.interceptor.version>2.1.0</jakarta.interceptor.version>
<jakarta.ejb.version>4.0.0</jakarta.ejb.version>
<jakarta.annotation.version>2.0.0</jakarta.annotation.version>
<jakarta.annotation.version>2.1.0</jakarta.annotation.version>
<jakarta.servlet.version>6.0.0</jakarta.servlet.version>
<jakarta.jaxb.version>4.0.0</jakarta.jaxb.version>
</properties>
Expand Down Expand Up @@ -71,7 +71,6 @@
<version>${jakarta.ejb.version}</version>
<scope>test</scope>
</dependency>

<!-- JAX-RS implementation -->
<dependency>
<groupId>org.glassfish.jersey</groupId>
Expand Down Expand Up @@ -129,8 +128,8 @@

<modules>
<module>glassfish-common</module>
<module>glassfish-managed-6</module>
<module>glassfish-remote-6</module>
<module>glassfish-managed</module>
<module>glassfish-remote</module>
<!--
TODO:
<module>glassfish-embedded-6</module>
Expand Down

0 comments on commit 27597de

Please sign in to comment.