Skip to content

Commit

Permalink
spring revlock notes
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Feb 27, 2024
1 parent c406a60 commit 912adfe
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions brave/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring5.version}</version>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -95,7 +95,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring5.version}</version>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 2 additions & 0 deletions instrumentation/benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<!-- TODO: brave-instrumentation-spring-web is revlocked to spring5 -->
<version>${spring5.version}</version>
</dependency>

Expand Down Expand Up @@ -127,6 +128,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<!-- TODO: brave-instrumentation-spring-webmvc is revlocked to spring5 -->
<version>${spring5.version}</version>
</dependency>

Expand Down
6 changes: 3 additions & 3 deletions instrumentation/spring-rabbit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring5.version}</version>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>

<!-- Spring 5 has GenericApplicationContext.registerBean which makes tests easier -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring5.version}</version>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>

Expand All @@ -70,7 +70,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring5.version}</version>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion instrumentation/spring-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<!-- TODO: revlocked at spring 5. We may need a new module for v6 -->
<version>${spring5.version}</version>
<scope>provided</scope>
</dependency>
Expand Down Expand Up @@ -109,7 +110,7 @@
<DynamicDependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
<version>${spring3.version}</version>
<repositoryType>MAIN</repositoryType>
<type>jar</type>
</DynamicDependency>
Expand Down
1 change: 1 addition & 0 deletions instrumentation/spring-webmvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<!-- TODO: revlocked at spring 5. We may need a new module for v6 -->
<version>${spring5.version}</version>
<scope>provided</scope>
</dependency>
Expand Down
9 changes: 6 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@
<!-- to test @Inject annotations. Note 7.x is for jakarta annotations! -->
<guice.version>6.0.0</guice.version>

<spring.version>6.1.4</spring.version>
<!-- Ensure older versions of spring still work -->
<spring5.version>5.3.31</spring5.version>
<spring.version>3.2.18.RELEASE</spring.version>
<spring25.version>2.5.6</spring25.version>
<spring3.version>3.2.18.RELEASE</spring3.version>
<spring5.version>5.3.32</spring5.version>

<!-- Apis used, but not in Jetty 7.6* imply duplication in servlet25 test fixtures -->
<jetty.version>9.4.53.v20231009</jetty.version>
Expand All @@ -103,7 +105,8 @@
<kafka.version>3.6.1</kafka.version>
<activemq.version>5.18.3</activemq.version>
<activemq.artemis.version>2.31.2</activemq.artemis.version>
<!-- TODO: reflection drift after this version -->
<!-- TODO: reflection drift after this version. Make changes as necessary
and add an invoker test that 2.3.6 still works. -->
<spring-rabbit.version>2.3.6</spring-rabbit.version>

<!-- TODO: update and fix drift or remove the FinagleContextInteropTest -->
Expand Down
4 changes: 1 addition & 3 deletions spring-beans/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
<module.name>brave.spring.beans</module.name>

<main.basedir>${project.basedir}/..</main.basedir>

<spring25.version>2.5.6</spring25.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -60,7 +58,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
<version>${spring3.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 912adfe

Please sign in to comment.