Skip to content

Commit

Permalink
#1092 Modernize GlassFish test container
Browse files Browse the repository at this point in the history
* adjust javadoc
* clean up configurations
  • Loading branch information
oliverlietz committed Oct 17, 2023
1 parent 7be9623 commit 11f4bdf
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
import org.xml.sax.SAXException;

/**
* A {@link TestContainer} for the GlassFish 3.1 Java EE 6 application server.
* A {@link TestContainer} for the GlassFish application server.
* <p>
* This container uses Embedded GlassFish and only Java EE mode, but not OSGi mode. You deploy WAR
* modules via Pax Exam options (but no OSGi bundles).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pax.exam.system = javaee
pax.exam.glassfish.home = /tmp/glassfish-3.1.2.2
pax.exam.glassfish.config.overwrite = true
27 changes: 0 additions & 27 deletions itest/javaee/src/it/regression-javaee-moviefun/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,31 +120,6 @@

<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>generate-test-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.glassfish.main.distributions</groupId>
<artifactId>glassfish</artifactId>
<version>${dependency.glassfish.version}</version>
<type>zip</type>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -157,8 +132,6 @@
</excludes>
</configuration>
</execution>
<!--execution> <id>perclass</id> <configuration> <forkMode>always</forkMode> <includes>
<include>**/perclass/**</include> </includes> </configuration> </execution -->
</executions>
<configuration>
<parallel>none</parallel>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pax.exam.system = javaee
pax.exam.glassfish.home = target/glassfish3
pax.exam.glassfish.config.overwrite = true
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pax.exam.system = javaee
pax.exam.glassfish.home = /tmp/glassfish-3.1.2.2
pax.exam.glassfish.config.overwrite = true
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pax.exam.system = javaee
pax.exam.glassfish.home = /tmp/glassfish-3.1.2.2
pax.exam.glassfish.config.overwrite = true
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pax.exam.system = javaee
pax.exam.glassfish.home = /tmp/glassfish
pax.exam.glassfish.config.overwrite = true

0 comments on commit 11f4bdf

Please sign in to comment.