Skip to content

Commit

Permalink
Merge branch 'Coreoz:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-amiaud authored Dec 1, 2022
2 parents 06efa47 + d5f7f08 commit a0169a5
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 27 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Plume Framework require at least Java 11. Its modules contains connectors for
Plume Framework is maintained by [Coreoz](http://coreoz.com/)
and licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).

Upgrade from 3.x to 4.x
-----------------------
See upgrade instructions in the [release details](https://github.com/Coreoz/Plume/releases/tag/4.0.0).

Upgrade from 2.x to 3.x
-----------------------
See upgrade instructions in the [release details](https://github.com/Coreoz/Plume/releases/tag/3.0.0).
Expand All @@ -39,7 +43,7 @@ it is possible to adapt these connectors to work with Spring or CDI.

Demo
----
Sample projects can be found here: <https://github.com/Coreoz/Plume-demo>.
Sample projects can be found here: <https://github.com/Coreoz/Plume-showcase>.

Getting started
---------------
Expand Down
2 changes: 1 addition & 1 deletion plume-conf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-conf</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-db-querydsl-codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-db-querydsl-codegen</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-db-querydsl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-db-querydsl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-db-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-db-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-db</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public <T> T executeAndReturn(Function<Connection, T> toExecuteOnDb) {
Connection connection = null;
Boolean initialAutoCommit = null;
try {
connection = dataSource.getConnection();
connection = dataSource().getConnection();
initialAutoCommit = connection.getAutoCommit();
connection.setAutoCommit(false);
T result = toExecuteOnDb.apply(connection);
Expand All @@ -55,7 +55,11 @@ public <T> T executeAndReturn(Function<Connection, T> toExecuteOnDb) {
connection.rollback();
}
} catch (Throwable e2) {
// never mind if the connection cannot be rolled back
// if the rollback failed, raise an exception about the rollback failure
// and the original error
RuntimeException combinedException = new RuntimeException(e2);
combinedException.addSuppressed(e);
throw combinedException;
}
Throwables.throwIfUnchecked(e);
throw new RuntimeException(e);
Expand Down
26 changes: 12 additions & 14 deletions plume-framework-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-framework-dependencies</artifactId>
Expand All @@ -14,32 +14,31 @@
<description>Gather versions of various libraries used by Plume Framework</description>

<properties>
<wisp.version>2.2.2</wisp.version>
<wisp.version>2.3.0</wisp.version>
<guice.version>5.1.0</guice.version>
<dagger.version>2.41</dagger.version>
<dagger.version>2.43.2</dagger.version>
<guava.version>31.1-jre</guava.version>
<lombok.version>1.18.24</lombok.version>
<logback.version>1.2.11</logback.version>
<slf4j.version>1.7.32</slf4j.version>
<logback.version>1.4.0</logback.version>
<slf4j.version>2.0.0</slf4j.version>
<config.version>1.4.2</config.version>
<simple-java-mail.version>7.1.1</simple-java-mail.version>
<hikaricp.version>5.0.1</hikaricp.version>
<querydsl.version>5.0.0</querydsl.version>
<sql2o.version>1.6.0</sql2o.version>
<flyway.version>8.5.8</flyway.version>
<h2.version>2.1.212</h2.version>
<!-- TODO jackson-databind version should be changed to use ${jackson.version} -->
<jackson.version>2.13.2</jackson.version>
<flyway.version>9.3.0</flyway.version>
<h2.version>2.1.214</h2.version>
<jackson.version>2.14.1</jackson.version>
<jersey.version>2.35</jersey.version>
<swagger.version>2.1.13</swagger.version>
<swagger.version>2.2.2</swagger.version>
<hk2-guice-bridge.version>2.6.1</hk2-guice-bridge.version>
<commons-validator.version>1.7</commons-validator.version>
<javax-activation.version>1.2.0</javax-activation.version>
<javax-annotation.version>1.3.2</javax-annotation.version>
<javax-xml.version>2.3.0</javax-xml.version>

<junit.version>4.13.2</junit.version>
<assertj.version>3.22.0</assertj.version>
<assertj.version>3.23.1</assertj.version>
<guice-runner.version>1.1</guice-runner.version>
</properties>

Expand Down Expand Up @@ -201,8 +200,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<!-- <version>${jackson.version}</version> -->
<version>2.13.2.2</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down Expand Up @@ -257,7 +255,7 @@
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<artifactId>swagger-annotations2</artifactId>
<version>${swagger.version}</version>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion plume-mail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-mail</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-scheduler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-scheduler</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-services</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plume-web-jersey/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</parent>

<artifactId>plume-web-jersey</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.coreoz</groupId>
<artifactId>plume-parent</artifactId>
<version>4.0.1-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Plume Parent</name>
Expand Down

0 comments on commit a0169a5

Please sign in to comment.