82 Commits

Author SHA1 Message Date
Stephane Nicoll
042711e4b9 Remove Maven warnings
This commit removes the warnings that Maven emits when building the
effective model of the project. This boils down to locking down plugin
versions.

Because there is no version for javaformat, Maven could decide to use
the latest, which requires extra care to build with Java 8. This commit
upgrades explicitly to the latest and configure it to be compatible
with Java 8
2022-02-22 14:59:38 -05:00
Stéphane Nicoll
0b802a60d9 Do not apply Javaformat by default
* Do not apply javaformat by default

This commit removes the invocation of spring-javaformat:apply by
default. Doing so makes the validate goal irrelevant as apply is
going to reformat the code if necessary.

The idea of the plugin is that it should prevent you from pushing
something that has formatting violations. Running the build, run the
apply goal manually, and amending the commit is the idiomatic way of
using this plugin.

* Apply formatting
2022-02-22 14:29:20 -05:00
Stephane Nicoll
79a0eea1ee Specify file source encoding 2022-02-22 14:28:16 -05:00
Gary Russell
060a99ad86 Switch to Log4j2 for Tests 2022-01-24 11:38:15 -05:00
Dave Syer
ebc720045f Make annotation API explicitly optional 2021-06-14 14:43:01 +01:00
dependabot[bot]
e7352441c9 Bump spring-framework-bom from 4.3.22.RELEASE to 4.3.29.RELEASE
Bumps [spring-framework-bom](https://github.com/spring-projects/spring-framework) from 4.3.22.RELEASE to 4.3.29.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v4.3.22.RELEASE...v4.3.29.RELEASE)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 16:29:16 -04:00
Dave Syer
c452ec3237 Revert to snapshots 2021-01-08 17:43:43 +00:00
Dave Syer
2e048d7621 Bump for 1.3.1 2021-01-08 17:42:35 +00:00
Dave Syer
c0f66e9f59 Make spring-core optional
It isn't really optional, but no-one uses Spring Retry without it
and some older build systems (Gradle old versions) don't like finding
multiple versions of thw same library.
2021-01-08 17:31:20 +00:00
dependabot[bot]
e747fdb9c1 Bump junit from 4.12 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 09:47:25 +00:00
Dave Syer
d36bd6d3bd Revert to snapshot 2020-05-19 11:23:33 +01:00
Dave Syer
fee59a15ed Bump to 1.3.0.RELEASE 2020-05-19 11:23:09 +01:00
Dave Syer
baba3fa658 Attempt to build on Java 11 (failed) 2019-06-07 12:38:13 +01:00
Marius Grama
7cf90bff00 Removed reference to hamcrest-all test library, and modified the tests from RetryOperationsInterceptorTests to use vanilla junit assertions. 2019-04-23 08:23:21 +01:00
Marius Grama
b599c23404 Expose the MethodInvocation in the MethodInvocationRetryCallback in order to permit to concrete RetryListener implementations to inspect in detail the method called as well as its arguments. This information can be used in the retry listener for either detailed logging or monitoring for the proxied method invocations. 2019-04-23 08:23:21 +01:00
Dave Syer
7d3ad70fa1 Update to 1.3 snapshots 2019-03-20 17:15:41 +00:00
Dave Syer
84e906fbe6 Apply format plugin 2019-03-20 17:12:07 +00:00
Spring Operator
6673b6214a URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://www.springframework.org/schema/aop/spring-aop-2.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/aop/spring-aop-2.0.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-2.0.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans-2.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans-2.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-2.0.xsd) result 200).
* http://www.springframework.org/schema/tx/spring-tx-2.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tx/spring-tx-2.0.xsd ([https](https://www.springframework.org/schema/tx/spring-tx-2.0.xsd) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.springframework.org/schema/aop with 2 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/p with 1 occurrences
* http://www.springframework.org/schema/tx with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-03-20 16:51:18 +00:00
Spring Operator
f400fe7fbe URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://github.com/spring-projects/spring-retry migrated to:
  https://github.com/spring-projects/spring-retry ([https](https://github.com/spring-projects/spring-retry) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.txt migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://www.springsource.com migrated to:
  https://www.springsource.com ([https](https://www.springsource.com) result 301).
* http://www.springsource.org migrated to:
  https://www.springsource.org ([https](https://www.springsource.org) result 301).
* http://www.springsource.com/download/community migrated to:
  https://www.springsource.com/download/community ([https](https://www.springsource.com/download/community) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/maven-v4_0_0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-06 02:29:27 -05:00
Dave Syer
0753e4ee45 Revert to snapshots 2019-01-16 08:03:15 +00:00
Dave Syer
ff0f33b142 Revert to Spring 4.3
See gh-114
2019-01-16 08:01:55 +00:00
Dave Syer
976abd4d2b Revert to snapshots 2019-01-11 11:52:17 +00:00
Dave Syer
a3593c7e7f Update to 1.2.3 2019-01-11 11:49:14 +00:00
Dave Syer
d12b2035f6 Fix surefire version 2018-12-20 12:47:03 +00:00
Fabien MIFSUD
243eefec90 Upgrade Spring version to 5.0.7 2018-11-07 08:18:47 +00:00
f.mifsud
8b5a22baae Upgrade Spring to version 5.0.5 2018-11-07 08:18:47 +00:00
wujun8
dba760b3ad remove aspectjrt
Since aspectjrt is included by aspectjweaver, if there's already aspectjweaver then aspectjrt becomes unnecessary.
2018-11-07 08:18:25 +00:00
Dave Syer
ef2a0e0877 Update to snapshots 2017-12-11 07:08:37 -08:00
Dave Syer
d6a69408b7 Update to 1.2.2 for release 2017-12-11 07:08:37 -08:00
Dave Syer
f1121f17ec Move log4j to test scope
Fixes gh-95
2017-12-05 10:34:44 -08:00
Gary Russell
a22ebe7514 Fix @Recover for Prototype Scoped Beans
Previously, if a bean annotated with `@Retryable` and `@Recover` was
scoped "prototype", the `@Recover` method in the first instance was
called instead of the method in the same instance as the failed `@Retryable`
method.

This was because the delegate cache in `AnnotationAwareRetryOperationsInterceptor`
was keyed only on the `Method` object.

Change the cache to cache at the `targetObject.method` level.

Also fixes `backoff` javadocs.

Fixes https://github.com/spring-projects/spring-retry/issues/93
2017-12-05 08:13:39 -08:00
Dave Syer
9c5c9aafd9 Revert to snapshots 2017-06-16 12:37:32 +01:00
Dave Syer
4fcf009056 Update for 1.2.1.RELEASE 2017-06-16 11:18:27 +01:00
Dave Syer
59a4fbd10d Add CI pipeline 2017-06-16 11:06:16 +01:00
Dave Syer
c032143b5c Revert to snapshots 2017-01-13 13:34:33 -05:00
Dave Syer
bc78c5f2a8 Update to 1.2.0.RELEASE 2017-01-13 13:34:33 -05:00
Dave Syer
cc5263969d Add lint ignorer for java 8 2016-11-29 13:34:57 +00:00
Dave Syer
6973f65da0 Revert to snapshots 2016-10-14 10:07:20 +01:00
Dave Syer
3deab8c45a Update to 1.2.0.RC1 2016-10-14 10:07:15 +01:00
Gary Russell
2e293c33c3 Set RetryState Key to null if Necessary
See 9a95da2b70

If the key generator returns null, we need to set the key to null so the
state is not stored.
2016-09-26 10:05:31 +01:00
Dave Syer
2d821f46de Update to 1.2.0 2016-06-21 12:28:28 +01:00
Dave Syer
c2c3acbf6b Add javadocs report 2014-11-11 22:09:18 +00:00
Dave Syer
162c4167ce Add wagon provider for ssh 2014-11-11 22:09:13 +00:00
Dave Syer
ea9011643c [maven-release-plugin] prepare for next development iteration 2014-09-30 13:17:32 +01:00
Dave Syer
80871bce11 [maven-release-plugin] prepare release 1.1.2 2014-09-30 13:17:25 +01:00
Dave Syer
b866155ffb Tidy up dependencies (spring-context is now optional) 2014-09-19 09:33:40 +01:00
Dave Syer
155ea0c2df [maven-release-plugin] prepare for next development iteration 2014-08-28 13:51:11 +01:00
Dave Syer
d85cb5dac7 [maven-release-plugin] prepare release 1.1.1.RELEASE 2014-08-28 13:51:06 +01:00
Dave Syer
bc52a70dbc Bump release plugin 2014-08-28 13:50:50 +01:00
Dave Syer
3e638ef52f Use Spring BOM for dependencies 2014-05-15 08:21:36 +01:00