-
InterfaceDescriptionAvoid use of this type, if you need access to local repository use repository system classes instead.Avoid use of this type, if you need access to local repository use repository system session instead.use
META-INF/maven/extension.xml
to define artifacts exported by Maven core extensions.UseRuntimeInformation
instead.instead useSource
useProjectBuilder
insteaduseProjectBuildingRequest
insteadAs of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such, but should have been.instead useSource
-
ClassDescriptionAvoid use of this type, if you need access to local repository use repository system session instead.As of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such, but should have been.instead use
StringSource
instead useUrlSource
replaced by StringVisitorModelInterpolator (MNG-6697)As of 3.0, use a specific implementation instead, e.g.NearestConflictResolver
instead useFileSource
instead useStringSource
instead useUrlSource
instead useDefaultToolchainsBuilder
clients that do not require compatibility with Maven 3.2.3 and earlier should link toJavaToolchainImpl
instead.
-
ExceptionsDescription
-
FieldDescription
-
MethodDescriptionto be removed before 2.0 after the install/deploy plugins use the alternate methodwe want to use the artifact method only, and ensure artifact.file is set correctly.to be removed before 2.0 after the install/deploy plugins use the alternate methodwe want to use the artifact method only, and ensure artifact.file is set correctly.VersionRange is immutable, cloning is not useful and even more an issue against the cacheuse
META-INF/maven/extension.xml
to define artifacts exported by Maven core and plugin extensions.useMETA-INF/maven/extension.xml
to define artifacts exported by Maven core and plugin extensions.UseClassRealmRequest.getParentImports()
instead.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 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
).instead useFileSource.getFile()
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.org.apache.maven.project.interpolation.ModelInterpolator.interpolate(Model, Map<String, ?>, boolean) Please useMavenProjectHelper
Use MavenProjectHelper.attachArtifact(..) instead.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.This method is deprecated along withDefaultServiceLocator
(since Maven Resolver 1.7.0).org.apache.maven.repository.MetadataResolutionRequest.setRemoteRepostories(List<ArtifactRepository>) instead useFileSource.getFile()
instead useStringSource.getContent()
instead useUrlSource.getUrl()
-
ConstructorDescriptionShould not be used in Java code.Use
ModelBuildingException(ModelBuildingResult)
instead.without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded environments.useFile
constructor for pomLocationorg.apache.maven.project.InvalidProjectModelException(String, String, String, ModelValidationResult) useFile
constructor for pomLocation