Deprecated API


Contents
Deprecated Interfaces
org.apache.maven.artifact.resolver.ResolutionListenerForDepMgmt
            
 

Deprecated Fields
org.apache.maven.artifact.resolver.ResolutionListener.MANAGE_ARTIFACT
            
org.apache.maven.cli.MavenCli.OS_ARCH
          use Os.OS_ARCH 
org.apache.maven.cli.MavenCli.OS_NAME
          use Os.OS_NAME 
org.apache.maven.cli.MavenCli.OS_VERSION
          use Os.OS_VERSION 
 

Deprecated Methods
org.apache.maven.project.MavenProject.attachArtifact(String, String, File)
          Use MavenProjectHelper.attachArtifact(..) instead. 
org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject(ArtifactRepository)
          Use MavenProjectBuilder.buildStandaloneSuperProject(ProjectBuilderConfiguration) instead. 
org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject(ArtifactRepository, ProfileManager)
          Use MavenProjectBuilder.buildStandaloneSuperProject(ProjectBuilderConfiguration) instead. 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(String, String, Artifact, ArtifactRepository, ArtifactRepository)
          we want to use the artifact method only, and ensure artifact.file is set correctly. 
org.apache.maven.artifact.deployer.ArtifactDeployer.deploy(String, String, Artifact, ArtifactRepository, ArtifactRepository)
          to be removed before 2.0 after the instlal/deploy plugins use the alternate method 
org.apache.maven.settings.Settings.getMirrorOf(String)
           
org.apache.maven.DefaultMaven.getProject(File, ArtifactRepository, Settings, Properties, ProfileManager)
          Use DefaultMaven.getProject(File, MavenExecutionRequest) instead. 
org.apache.maven.artifact.manager.WagonManager.getWagon(String)
          prone to errors. use WagonManager.getWagon(Repository) instead. 
org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(String, String, Artifact, ArtifactRepository)
          we want to use the artifact method only, and ensure artifact.file is set correctly. 
org.apache.maven.artifact.installer.ArtifactInstaller.install(String, String, Artifact, ArtifactRepository)
          to be removed before 2.0 after the instlal/deploy plugins use the alternate method 
org.apache.maven.project.interpolation.ModelInterpolator.interpolate(Model, Map)
          Use ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead. 
org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator.interpolate(Model, Map, boolean)
          Use ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead. 
org.apache.maven.project.interpolation.ModelInterpolator.interpolate(Model, Map, boolean)
          Use ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean) instead. 
org.apache.maven.cli.MavenCli.main(String[])
          Use Main#main(String[]) instead. 
org.apache.maven.artifact.resolver.ResolutionListener.manageArtifact(Artifact, Artifact)
            
org.apache.maven.plugin.PluginManager.verifyPlugin(Plugin, MavenProject, Settings, ArtifactRepository)
          Use PluginManager.loadPluginDescriptor(Plugin, MavenProject, MavenSession) instead. 
 

Deprecated Constructors
org.apache.maven.script.ant.AntPropertyHelper(ExpressionEvaluator, Log)
          use AntPropertyHelper.AntPropertyHelper(ExpressionEvaluator, Set, Log) to resolve maven.dependency.* properties 
org.apache.maven.script.ant.AntPropertyHelper(MavenProject, Log)
          use the other constructor 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException(String)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException(String, Throwable)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException(Throwable)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.profiles.DefaultProfileManager(PlexusContainer)
          without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded envirnments. 
org.apache.maven.profiles.DefaultProfileManager(PlexusContainer, Settings)
          without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded envirnments. 
org.apache.maven.project.MavenProject(MavenProject)
          use MavenProject.clone() so subclasses can provide a copy of the same class 
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException(Artifact, List, List)
          use MultipleArtifactsNotFoundException.MultipleArtifactsNotFoundException(Artifact, List, List, List) 
 



Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.