-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionIf you use this method and your code is not in Maven Core, stop doing this.Since Maven 4: use
MavenExecutionRequest.getProfileActivation()
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.useMavenExecutionRequest.getTopDirectory()
insteadSince Maven 4: useMavenExecutionRequest.getProjectActivation()
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.useMavenExecutionRequest.getRootDirectory()
insteadSince Maven 4: useMavenExecutionRequest.getProjectActivation()
.Since 3.9 there is no direct Maven2 interop offered at LRM level. See Resolver Configuration page optionaether.artifactResolver.simpleLrmInterop
that provides similar semantics. This method should be never invoked, and always returnsfalse
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.useMavenExecutionRequest.setTopDirectory(Path)
insteadSince Maven 4: useMavenExecutionRequest.getProjectActivation()
.Since Maven 4: useMavenExecutionRequest.getProfileActivation()
.useMavenExecutionRequest.setRootDirectory(Path)
insteadSince Maven 4: useMavenExecutionRequest.getProjectActivation()
.Since 3.9 there is no direct Maven2 interop offered at LRM level. See Resolver Configuration page optionaether.artifactResolver.simpleLrmInterop
that provides similar semantics. This method should be never invoked, and ignores parameter (value remains alwaysfalse
).useMavenSession.getTopDirectory()
()}This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.Please useMavenProjectHelper
Replaced byaddSourceRoot(ProjectScope.MAIN, Language.JAVA_FAMILY, path)
.Resource
is replaced bySourceRoot
.Replaced byaddSourceRoot(ProjectScope.TEST, Language.JAVA_FAMILY, path)
.Resource
is replaced bySourceRoot
.Use MavenProjectHelper.attachArtifact(..) instead.This method is unreliable because it does not consider other dependency properties. SeeJavaPathType
instead for better analysis.Replaced bygetEnabledSourceRoots(ProjectScope.MAIN, Language.JAVA_FAMILY)
.Replaced bygetEnabledSourceRoots(ProjectScope.MAIN, Language.RESOURCES)
.This method is unreliable because it does not consider other dependency properties. SeeJavaPathType
instead for better analysis.This method is unreliable because it does not consider other dependency properties. SeeJavaPathType
instead for better analysis.Replaced bygetEnabledSourceRoots(ProjectScope.TEST, Language.JAVA_FAMILY)
.Replaced bygetEnabledSourceRoots(ProjectScope.TEST, Language.RESOURCES)
.UseModelWriter
.UseModelWriter
.This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.
-
Deprecated ConstructorsConstructorDescriptionThis ctor is present only for Plexus XML defined component compatibility, do not use it.Use
DefaultLifecycles(LifecycleRegistry,Lookup)
insteadDo not use this ctor directly, inject this component instead.Should not be used in Java code.UseDebugConfigurationListener(Logger)
instead.Left for binary compatibility.Left for binary compatibility.Left for binary compatibility.
ClassRealmRequest.getParentImports()
instead.