Skip to content

Commit

Permalink
Scope fixes for the Spring extension (#53)
Browse files Browse the repository at this point in the history
* Remove dependency on Hibernate and use Spring's utilities to integrate with spring transactions.

* Move the check for an active transaction. Remove an unnecessary try-catch.

* Switch spring dependencies to "provided" scope and test dependencies to "test" scope.

* Remove duplicate jdbc dependency.

* Remove duplicated test scope directives

Co-authored-by: Graham Crockford <[email protected]>
  • Loading branch information
tsg21 and badgerwithagun authored Mar 2, 2021
1 parent f1e0411 commit f16f1b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions transactionoutbox-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
Expand All @@ -47,6 +49,7 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>

<!-- Compile -->
Expand Down

0 comments on commit f16f1b2

Please sign in to comment.