You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/08/29 20:46:45 UTC

[maven-resolver] branch maven-4-vs-maven-3 created (now 2df5b36)

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

michaelo pushed a change to branch maven-4-vs-maven-3
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git.


      at 2df5b36  Describe compatibility between Maven 3 and Maven 4 with resolver

This branch includes the following new commits:

     new 2df5b36  Describe compatibility between Maven 3 and Maven 4 with resolver

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven-resolver] 01/01: Describe compatibility between Maven 3 and Maven 4 with resolver

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2df5b36e5caa6ff1501522e393c3aba2b112e56a
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Aug 29 22:46:38 2021 +0200

    Describe compatibility between Maven 3 and Maven 4 with resolver
---
 src/site/markdown/maven-3.8.x.md | 27 +++++++++++++++++++++++++++
 src/site/site.xml                |  1 +
 src/site/xdoc/index.xml          |  5 ++---
 3 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/src/site/markdown/maven-3.8.x.md b/src/site/markdown/maven-3.8.x.md
new file mode 100644
index 0000000..9d70bb1
--- /dev/null
+++ b/src/site/markdown/maven-3.8.x.md
@@ -0,0 +1,27 @@
+# Using with Maven 3.8.x
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+Since version 1.7.0 Maven Resolver requires Java 8 to run and a brand new default sync context
+factory has been implemented. Both are not compatible with Maven 3.8.x anymore which still requires
+Java 7 to run. Maven 3.8.x will continue to use version 1.6.x which you will find
+[here](/resolver-archives/resolver-1.6.3/).
+This also means that you cannot make use of the features provided by version 1.7.0 and later.
+If you require the changes in this version, but must use Maven 3.8.x, you can build an adapted version
+of Maven from the branch [`maven-3.8.x-maven-resolver-1.7.x`](https://github.com/apache/maven/tree/maven-3.8.x-maven-resolver-1.7.x) and use as if you would use Maven 4.
diff --git a/src/site/site.xml b/src/site/site.xml
index ab59345..a18b855 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -27,6 +27,7 @@ under the License.
     <menu name="Overview">
       <item name="Introduction" href="index.html"/>
       <item name="Configuration" href="configuration.html"/>
+      <item name="Maven 3.8.x" href="maven-3.8.x.html"/>
       <item name="JavaDocs" href="apidocs/index.html"/>
       <item name="Source Xref" href="xref/index.html"/>
       <!--item name="FAQ" href="faq.html"/-->
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 394ef65..00ca44b 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -29,10 +29,9 @@
   <body>
 
     <section name="Apache Maven Artifact Resolver">
-
+      <p style="font-size: 14pt; font-style: bold">Since version 1.7.0 Maven Resolver requires Maven 4.0.0-alpha-1 or newer to run. For a Maven 3.8.x compatible version read <a href="./maven-3.8.x.html">here</a>.</p>
       <p>Apache Maven Artifact Resolver is a library for working with artifact repositories and dependency resolution.</p>
-      <p>Maven Artifact Resolver deals with the specification of local repository, remote repository, developer workspaces, artifact transports, and artifact resolution.</p>
-      <p>It is expected to be extended by a concrete repository implementation, such as
+      <p>Maven Artifact Resolver deals with the specification of local repository, remote repository, developer workspaces, artifact transports, and artifact resolution. It is expected to be extended by a concrete repository implementation, such as
         <a href="/ref/current/maven-resolver-provider/">Maven Artifact Resolver Provider</a> for Maven repositories
         or any other provider for other repository formats.
       </p>