Skip to content

Commit

Permalink
Add Payara Micro
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Rahman committed Apr 11, 2021
1 parent 47f7183 commit ea5af96
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ bin/
*.log-*
data
.DS_Store
cargo-tracker-test-data
cargo-tracker-test-data
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<system>github</system>
<url>https://github.com/eclipse-ee4j/cargotracker/issues</url>
</issueManagement>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.report.sourceEncoding>UTF-8</project.report.sourceEncoding>
Expand All @@ -39,8 +39,6 @@
<junit.version>4.13.1</junit.version>
<hamcrest.version>2.2</hamcrest.version>
<assertj.version>3.18.1</assertj.version>

<skipTests>true</skipTests>

<!-- Application properties -->
<webapp.graphTraversalUrl>
Expand Down Expand Up @@ -200,19 +198,21 @@
</dependency>
<dependency>
<groupId>fish.payara.arquillian</groupId>
<artifactId>arquillian-payara-server-embedded</artifactId>
<artifactId>arquillian-payara-micro-managed</artifactId>
<version>2.4.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>fish.payara.extras</groupId>
<artifactId>payara-embedded-all</artifactId>
<version>5.2021.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<PAYARA_MICRO_JAR>${project.basedir}/src/test/payara/payara-micro-5.2021.2.jar</PAYARA_MICRO_JAR>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
Expand Down
Binary file added src/test/payara/payara-micro-5.2021.2.jar
Binary file not shown.
5 changes: 4 additions & 1 deletion src/test/resources/arquillian.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@

<container qualifier="payara" default="true">
<configuration>
<property name="bindHttpPort">8181</property>
<property name="microJar">${PAYARA_MICRO_JAR}</property>
<property name="randomHttpPort">false</property>
<property name="autoBindHttp">false</property>
<property name="extraMicroOptions">--port 8181 --contextroot cargo-tracker-test</property>
</configuration>
</container>
</arquillian>

0 comments on commit ea5af96

Please sign in to comment.