This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch maven-resolver-1.6.x
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/maven-resolver-1.6.x by this 
push:
     new e4d6d64  [MRESOLVER-195] Deprecate Redisson sync context
e4d6d64 is described below

commit e4d6d6416bac16caa466a39b8ef4c0c7508136e5
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Aug 29 01:52:14 2021 +0200

    [MRESOLVER-195] Deprecate Redisson sync context
---
 .../org/eclipse/aether/synccontext/RedissonSyncContextFactory.java    | 4 +++-
 maven-resolver-synccontext-redisson/src/site/markdown/index.md.vm     | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/maven-resolver-synccontext-redisson/src/main/java/org/eclipse/aether/synccontext/RedissonSyncContextFactory.java
 
b/maven-resolver-synccontext-redisson/src/main/java/org/eclipse/aether/synccontext/RedissonSyncContextFactory.java
index 4bdcf75..3e7ff80 100644
--- 
a/maven-resolver-synccontext-redisson/src/main/java/org/eclipse/aether/synccontext/RedissonSyncContextFactory.java
+++ 
b/maven-resolver-synccontext-redisson/src/main/java/org/eclipse/aether/synccontext/RedissonSyncContextFactory.java
@@ -61,7 +61,8 @@ import org.slf4j.LoggerFactory;
  * A singleton factory to create synchronization contexts using Redisson's 
{@link RReadWriteLock}.
  * It locks fine-grained with groupId, artifactId and version if required.
  * <p>
- * <strong>Note: This component is still considered to be experimental, use 
with caution!</strong>
+ * <strong>Note: This component has been deprecated and superseded in 1.7.0 
with the named lock
+ * factories {@code rwlock-redisson} and {@code semaphore-redisson}.</strong>
  * <h2>Configuration</h2>
  * You can configure various aspects of this factory.
  *
@@ -104,6 +105,7 @@ import org.slf4j.LoggerFactory;
 @Named
 @Priority( Integer.MAX_VALUE )
 @Singleton
+@Deprecated
 public class RedissonSyncContextFactory
     implements SyncContextFactory
 {
diff --git a/maven-resolver-synccontext-redisson/src/site/markdown/index.md.vm 
b/maven-resolver-synccontext-redisson/src/site/markdown/index.md.vm
index 7e2a0a7..e03fac7 100644
--- a/maven-resolver-synccontext-redisson/src/site/markdown/index.md.vm
+++ b/maven-resolver-synccontext-redisson/src/site/markdown/index.md.vm
@@ -19,7 +19,7 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-<span style="color: red; font-size: 16pt">***Note***: *This component is still 
considered to be experimental, use with caution!*</span>
+<span style="color: red; font-size: 16pt">***Note***: *This component has been 
deprecated and superseded in 1.7.0 with the named lock factories 
`rwlock-redisson` and `semaphore-redisson`.*</span>
 
 The Redisson Sync Context Factory is a Redisson-based distributed locks 
factory for Maven Resolver
 on top of Redis to provide a fast, concurrent-safe access from one or multiple 
Maven instances to the

Reply via email to