Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4048 - Update dependencies #4054

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,20 @@
<angus.mail.version>2.0.3</angus.mail.version>
<arquillian.version>1.8.0.Final</arquillian.version>
<bcel.version>6.10.0</bcel.version>
<checkstyle.version>10.18.1</checkstyle.version>
<commons-compress.version>1.26.2</commons-compress.version>
<checkstyle.version>10.18.2</checkstyle.version>
<commons-compress.version>1.27.1</commons-compress.version>
<commons-fileupload2-jakarta-servlet6.version>2.0.0-M2</commons-fileupload2-jakarta-servlet6.version>
<crac.version>0.1.3</crac.version>
<eclipselink.version>4.0.4</eclipselink.version>
<epicyro.version>3.0.0</epicyro.version>
<!-- kept at 2.1.1 as 2.1.2 has module-info issues -->
<exousia.version>2.1.1</exousia.version>
<expressly.version>5.0.0</expressly.version>
<free-port-finder.version>1.1.1</free-port-finder.version>
<glassfish-client-ee10.version>1.6</glassfish-client-ee10.version>
<grizzly.version>4.0.2</grizzly.version>
<grizzly-npn-api.version>2.0.0</grizzly-npn-api.version>
<guava.version>32.0.0-jre</guava.version>
<guava.version>33.3.1-jre</guava.version>
<h2.version>2.3.232</h2.version>
<!-- kept at 5.4.0 because 5.5.0 adds remote repositories -->
<hazelcast.version>5.4.0</hazelcast.version>
Expand All @@ -101,18 +102,18 @@
<jboss-classfilewriter.version>1.3.1.Final</jboss-classfilewriter.version>
<jersey.version>3.1.8</jersey.version>
<jstl.version>3.0.1</jstl.version>
<junit-pioneer.version>2.2.0</junit-pioneer.version>
<junit-platform-launcher.version>1.11.0</junit-platform-launcher.version>
<junit.version>5.11.0</junit.version>
<junit-pioneer.version>2.3.0</junit-pioneer.version>
<junit-platform-launcher.version>1.11.2</junit-platform-launcher.version>
<junit.version>5.11.2</junit.version>
<maven-plugin-annotations.version>3.15.0</maven-plugin-annotations.version>
<maven-plugin-api.version>3.9.9</maven-plugin-api.version>
<maven-plugin-tools-annotations.version>3.15.0</maven-plugin-tools-annotations.version>
<microprofile-config-api.version>3.1</microprofile-config-api.version>
<microprofile-jwt-auth-api.version>2.1</microprofile-jwt-auth-api.version>
<microprofile-jwt-auth.version>2.0.2</microprofile-jwt-auth.version>
<mojarra.version>4.0.7</mojarra.version>
<nimbus-jose-jwt.version>9.40</nimbus-jose-jwt.version>
<netty.version>4.1.112.Final</netty.version>
<mojarra.version>4.0.8</mojarra.version>
<netty.version>4.1.114.Final</netty.version>
<nimbus-jose-jwt.version>9.41.2</nimbus-jose-jwt.version>
<omni-mp-config.version>3.0.0</omni-mp-config.version>
<omnibeans.version>0.3</omnibeans.version>
<omniservices.version>0.4</omniservices.version>
Expand All @@ -122,7 +123,7 @@
<shrinkwrap-descriptors-api-base.version>2.0.0</shrinkwrap-descriptors-api-base.version>
<shrinkwrap-resolver.version>3.3.0</shrinkwrap-resolver.version>
<soteria.version>3.0.3</soteria.version>
<spring-boot.version>3.3.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<transact-cdi-beans.version>1.0.1</transact-cdi-beans.version>
<tyrus.version>2.1.5</tyrus.version>
<undertow.version>2.3.17.Final</undertow.version>
Expand Down
4 changes: 2 additions & 2 deletions test/micro/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<properties>
<!-- dependencies -->
<jakarta.jakartaee-web-api.version>10.0.0</jakarta.jakartaee-web-api.version>
<junit.version>5.9.1</junit.version>
<junit.version>5.11.2</junit.version>
<!-- other -->
<java.version>21</java.version>
<piranha.distribution>micro</piranha.distribution>
Expand All @@ -40,7 +40,7 @@
<!-- plugins -->
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-failsafe-plugin.version>3.5.0</maven-failsafe-plugin.version>
<maven-failsafe-plugin.version>3.5.1</maven-failsafe-plugin.version>
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
</properties>
<build>
Expand Down
2 changes: 1 addition & 1 deletion test/server/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<name>Piranha - Test - Server - Hello World application</name>
<properties>
<!-- dependencies -->
<junit.version>5.11.0</junit.version>
<junit.version>5.11.2</junit.version>
<!-- other -->
<java.version>21</java.version>
<piranha.distribution>server</piranha.distribution>
Expand Down
4 changes: 2 additions & 2 deletions test/servlet/faces/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<name>Piranha - Test - Servlet - Jakarta Faces application</name>
<properties>
<!-- dependencies -->
<junit.version>5.11.0</junit.version>
<mojarra.version>4.0.7</mojarra.version>
<junit.version>5.11.2</junit.version>
<mojarra.version>4.0.8</mojarra.version>
<weld.version>5.1.3.Final</weld.version>
<!-- other -->
<java.version>21</java.version>
Expand Down
27 changes: 26 additions & 1 deletion test/servlet/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<name>Piranha - Test - Servlet - HelloWorld web application</name>
<properties>
<java.version>21</java.version>
<junit.version>5.11.1</junit.version>
<junit.version>5.11.2</junit.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-failsafe-plugin.version>3.5.1</maven-failsafe-plugin.version>
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
Expand Down Expand Up @@ -82,6 +82,7 @@
</executions>
<configuration>
<distribution>${piranha.distribution}</distribution>
<httpPort>${httpPort}</httpPort>
</configuration>
</plugin>
<plugin>
Expand All @@ -104,6 +105,11 @@
</goals>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<httpPort>${httpPort}</httpPort>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -113,6 +119,25 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>reserve-network-port</id>
<goals>
<goal>reserve-network-port</goal>
</goals>
<phase>validate</phase>
<configuration>
<portNames>
<portName>httpPort</portName>
</portNames>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
import org.junit.jupiter.api.Test;

class HelloWorldIT {

@Test
void testHelloWorldHtml() throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest
.newBuilder(new URI("http://localhost:8080/helloworld/helloworld.html"))
.newBuilder(new URI("http://localhost:"
+ Integer.valueOf(System.getProperty("httpPort"))
+ "/helloworld/helloworld.html"))
.build();
HttpResponse<String> response = client.send(request, BodyHandlers.ofString());
assertTrue(response.body().contains("Hello World!"));
Expand Down
6 changes: 3 additions & 3 deletions test/servlet/pages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<name>Piranha - Test - Servlet - Jakarta Pages application</name>
<properties>
<!-- dependencies -->
<junit.version>5.10.2</junit.version>
<piranha.version>24.4.0</piranha.version>
<junit.version>5.11.2</junit.version>
<piranha.version>${project.version}</piranha.version>
<!-- other -->
<java.version>21</java.version>
<piranha.distribution>servlet</piranha.distribution>
Expand Down Expand Up @@ -65,7 +65,7 @@
<finalName>pages</finalName>
<plugins>
<plugin>
<groupId>cloud.piranha.maven.plugins</groupId>
<groupId>cloud.piranha.maven</groupId>
<artifactId>piranha-maven-plugin</artifactId>
<version>${piranha.version}</version>
<executions>
Expand Down
Loading