- 
Deprecated InterfacesInterfaceDescriptionUseRuntimeInformationinstead.instead useSourceUse SLF4J directlyuseProjectBuilderinsteaduseProjectBuildingRequestinsteadAs 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
- 
Deprecated ClassesClassDescriptionAs 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 useStringSourceinstead useUrlSourceUse SLF4J directlyAs of 3.0, use a specific implementation instead, e.g.NearestConflictResolverinstead useFileSourceinstead useStringSourceinstead useUrlSourceinstead useDefaultToolchainsBuilderclients that do not require compatibility with Maven 3.2.3 and earlier should link toJavaToolchainImplinstead.As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, wrap the output fromString.getBytes(String)into aByteArrayInputStream.As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, useByteArrayOutputStream.toString(String).use XmlStreamReader
- 
Deprecated ExceptionsExceptionsDescription
- 
Deprecated FieldsFieldDescriptionUseCommandline.setExecutable(String)instead.UseOsclass instead.UseOsclass instead.use generic getCause() method
- 
Deprecated MethodsMethodDescriptionto 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 cacheuseMETA-INF/maven/extension.xmlto define artifacts exported by Maven core and plugin extensions.useMETA-INF/maven/extension.xmlto define artifacts exported by Maven core and plugin extensions.UseClassRealmRequest.getParentImports()instead.Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProjectActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProjectActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProjectActivation().Since Maven 4: useMavenExecutionRequest.getProfileActivation().Since Maven 4: useMavenExecutionRequest.getProjectActivation().since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4since Maven 4instead useFileSource.getFile()rawModel is never set, instead the fileModel is setsetting the rawModel has no effect, instead the fileModel of phase one will be setUse SLF4J directlyUse SLF4J directlyUse SLF4J directlyUse SLF4J directlyThis 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 useMavenProjectHelperUse 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.org.apache.maven.repository.MetadataResolutionRequest.setRemoteRepostories(List<ArtifactRepository>) instead useFileSource.getFile()instead useStringSource.getContent()instead useUrlSource.getUrl()UseCommandline.createArg()insteadUseCommandline.createArg(boolean)insteadUseCommandLineUtils.quote(String)instead.UseCommandLineUtils.toString(String[])instead.UseCommandLineUtils.translateCommandline(String)instead.instead useDAG.getVertices()usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)Buffering streams is actively harmful! See the class description as to why. UseIOUtil.copy(InputStream, OutputStream)instead.use try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteadUse the genericgetCause()methodUseStringUtils.isEmpty(String)insteadUseStringUtils.isNotEmpty(String)instead
- 
Deprecated ConstructorsConstructorDescriptionThis ctor is present only for Plexus XML defined component compatibility, do not use it.Should not be used in Java code.UseModelBuildingException(ModelBuildingResult)instead.UseMavenBuildTimestamp(Date, Map)or extract the format and pass it toMavenBuildTimestamp(Date, String)instead.without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded environments.useFileconstructor for pomLocationorg.apache.maven.project.InvalidProjectModelException(String, String, String, ModelValidationResult) useFileconstructor for pomLocation
META-INF/maven/extension.xmlto define artifacts exported by Maven core extensions.