[
https://issues.apache.org/jira/browse/MNG-7713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694975#comment-17694975
]
ASF GitHub Bot commented on MNG-7713:
-------------------------------------
michael-o commented on code in PR #1020:
URL: https://github.com/apache/maven/pull/1020#discussion_r1121456848
##########
maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java:
##########
@@ -443,12 +443,20 @@ public interface MavenExecutionRequest {
/**
* @since 3.1
+ * @deprecated Since 3.9 there is no direct Maven2 interop offered at LRM
level. See
+ * <a href="https://maven.apache.org/resolver/configuration.html">Resolver
Configuration</a> page option
+ * {@code aether.artifactResolver.simpleLrmInterop} that provides similar
semantics.
*/
+ @Deprecated
boolean isUseLegacyLocalRepository();
/**
* @since 3.1
+ * @deprecated Since 3.9 there is no direct Maven2 interop offered at LRM
level. See
+ * <a href="https://maven.apache.org/resolver/configuration.html">Resolver
Configuration</a> page option
+ * {@code aether.artifactResolver.simpleLrmInterop} that provides similar
semantics.
*/
+ @Deprecated
MavenExecutionRequest setUseLegacyLocalRepository(boolean
useLegacyLocalRepository);
Review Comment:
Those commens should say that those are noop or *always* `false`
> Drop option legacy-local-repository
> -----------------------------------
>
> Key: MNG-7713
> URL: https://issues.apache.org/jira/browse/MNG-7713
> Project: Maven
> Issue Type: Task
> Components: Core
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0, 4.0.0-alpha-5, 3.9.1
>
>
> The option offers several ways to make Maven 3 use Maven 2 legacy local
> repository, the option help text states: "Use Maven 2 Legacy Local Repository
> behaviour, ie no use of _remote.repositories. Can also be activated by using
> -Dmaven.legacyLocalRepo=true".
> Let's drop this option, as there is no need to make Maven 3.9 support Maven 2
> local repository, that is (should be) transient anyway. Also, if really
> needed, there IS a resolver configuration that offers somewhat similar
> semantics, but Maven CLI should NOT advertise Maven 2 backward compatibility
> anymore.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)