Skip to content

Commit

Permalink
Post merge adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <[email protected]>
  • Loading branch information
senivam committed May 3, 2024
1 parent 085496a commit 58185a0
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 14 deletions.
5 changes: 5 additions & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,11 @@
<artifactId>jersey-test-framework-provider-jetty</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-netty</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework</groupId>
<artifactId>jersey-test-framework-util</artifactId>
Expand Down
8 changes: 7 additions & 1 deletion etc/scripts/validation/dependency-convergence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ sed -e "/${VALIDATION_DEPENDENCIES_MATCH}/ {" -e "r ${CURRENT_LOCATION}/${TEMP_F
#run validation
mvn ${MVN_ARGS} ${MVN_CLI} -f ${CURRENT_LOCATION}/${VALIDATION_POM} -Djersey.version=${JERSEY_VERSION}

#save exit status
export MAVEN_BUILD_RESULT=$?

#clean the mess
rm ${CURRENT_LOCATION}/${TEMP_FILE}
rm ${CURRENT_LOCATION}/${TEMP_FILE}

#exit with saved exit stateus
exit $MAVEN_BUILD_RESULT
10 changes: 10 additions & 0 deletions ext/mvc-thymeleaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
<version>${thymeleaf.version}</version>
</dependency>
</dependencies>
Expand Down
12 changes: 12 additions & 0 deletions ext/spring6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
</exclusion>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
</exclusion>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
</exclusion>
<exclusion>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
<testExcludes>
<testExclude>org/glassfish/jersey/tests/e2e/container/Jersey2462Test.java</testExclude>
<testExclude>org/glassfish/jersey/tests/e2e/container/JettyEmptyHeaderParamTest.java</testExclude>
<testExclude>org/glassfish/jersey/tests/e2e/inject/SingleRequestScopeInjectionTest.java</testExclude>
</testExcludes>
</configuration>
</plugin>
Expand Down
29 changes: 24 additions & 5 deletions tests/integration/tracing-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,32 @@
</build>
<profiles>
<profile>
<id>jdk11</id>
<id>jdk11+</id>
<activation>
<jdk>[11,21)</jdk>
<jdk>[11,)</jdk>
</activation>
<properties>
<jetty.version>${jetty.tracing.version}</jetty.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!--
Since Jetty 11 for some reason is not possibly to properly set responseHeaderSize property
which should be jetty.response.header.size with adjusted value 16192. The property however
is never recognized by the plugin so resulting in the
org.eclipse.jetty.http.BadMessageException: 500: Response header too large
exception. For this reason the test is being excluded.
-->
<testExcludes>
<testExclude>
org/glassfish/jersey/tests/integration/tracing/AllTracingSupportITCase.java
</testExclude>
</testExcludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
import org.glassfish.jersey.server.TracingConfig;
import org.glassfish.jersey.server.internal.ServerTraceEvent;
import org.glassfish.jersey.test.JerseyTest;
import org.glassfish.jersey.test.external.ExternalTestContainerFactory;
import org.glassfish.jersey.test.spi.TestContainerException;
import org.glassfish.jersey.test.spi.TestContainerFactory;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -55,11 +52,6 @@ public String echo(String entity) {
}
}

@Override
protected TestContainerFactory getTestContainerFactory() throws TestContainerException {
return new ExternalTestContainerFactory();
}

@Override
protected Application configure() {
return new ResourceConfig(TracingMatchResourceMethodResource.class)
Expand Down

0 comments on commit 58185a0

Please sign in to comment.