Deprecated API


Contents
Deprecated Interfaces
org.apache.maven.artifact.factory.ArtifactFactory
           
org.apache.maven.artifact.metadata.ArtifactMetadataSource
           
org.apache.maven.monitor.event.EventDispatcher
           
org.apache.maven.monitor.event.EventMonitor
           
org.apache.maven.settings.MavenSettingsBuilder
           
org.apache.maven.project.path.PathTranslator
           
org.apache.maven.plugin.PluginManager
           
org.apache.maven.artifact.repository.RepositoryCache
           
 

Deprecated Classes
org.apache.maven.artifact.metadata.AbstractArtifactMetadata
           
org.apache.maven.project.artifact.ActiveProjectArtifact
           
org.apache.maven.project.artifact.AttachedArtifact
           
org.apache.maven.plugin.DebugConfigurationListener
           
org.apache.maven.repository.DelegatingLocalArtifactRepository
           
org.apache.maven.execution.ReactorManager
           
org.apache.maven.artifact.metadata.ResolutionGroup
           
 

Deprecated Exceptions
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
           
 

Deprecated Fields
org.apache.maven.artifact.resolver.ResolutionListener.MANAGE_ARTIFACT
           
org.apache.maven.Maven.POMv4
           
org.apache.maven.lifecycle.LifecycleExecutor.ROLE
           
org.apache.maven.lifecycle.mapping.LifecycleMapping.ROLE
           
org.apache.maven.artifact.factory.ArtifactFactory.ROLE
           
org.apache.maven.toolchain.ToolchainManager.ROLE
           
 

Deprecated Methods
org.apache.maven.artifact.handler.manager.ArtifactHandlerManager.addHandlers(Map)
           
org.apache.maven.project.MavenProject.attachArtifact(String, String, File)
          Use MavenProjectHelper.attachArtifact(..) instead. 
org.apache.maven.project.artifact.MavenMetadataSource.createArtifacts(ArtifactFactory, List, String, ArtifactFilter, MavenProject)
           
org.apache.maven.project.MavenProject.createArtifacts(ArtifactFactory, String, ArtifactFilter)
           
org.apache.maven.DefaultArtifactFilterManager.createStandardFilter()
          Use this class as a component instead, and then use getArtifactFilter(). 
org.apache.maven.project.MavenProject.getCompileArtifacts()
           
org.apache.maven.project.MavenProject.getCompileDependencies()
           
org.apache.maven.execution.MavenSession.getContainer()
           
org.apache.maven.execution.MavenSession.getEventDispatcher()
           
org.apache.maven.execution.MavenSession.getExecutionProperties()
          Use either MavenSession.getUserProperties() or MavenSession.getSystemProperties(). 
org.apache.maven.lifecycle.MavenExecutionPlan.getExecutions()
           
org.apache.maven.artifact.handler.manager.DefaultArtifactHandlerManager.getHandlerTypes()
           
org.apache.maven.classrealm.ClassRealmRequest.getImports()
          Use ClassRealmRequest.getParentImports() instead. 
org.apache.maven.lifecycle.mapping.LifecycleMapping.getOptionalMojos(String)
           
org.apache.maven.lifecycle.mapping.LifecycleMapping.getPhases(String)
           
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getPhaseToLifecycleMap()
           
org.apache.maven.project.ProjectBuildingException.getPomLocation()
          use ProjectBuildingException.getPomFile() 
org.apache.maven.project.MavenProject.getReportArtifactMap()
           
org.apache.maven.project.MavenProject.getReportArtifacts()
           
org.apache.maven.project.MavenProject.getReportConfiguration(String, String, String)
           
org.apache.maven.project.MavenProject.getReporting()
           
org.apache.maven.project.MavenProject.getReportPlugins()
           
org.apache.maven.execution.MavenSession.getRepositoryCache()
           
org.apache.maven.project.MavenProject.getRuntimeArtifacts()
           
org.apache.maven.project.MavenProject.getRuntimeDependencies()
           
org.apache.maven.execution.MavenSession.getSortedProjects()
           
org.apache.maven.project.MavenProject.getSystemArtifacts()
           
org.apache.maven.project.MavenProject.getSystemDependencies()
           
org.apache.maven.project.MavenProject.getTestArtifacts()
           
org.apache.maven.project.MavenProject.getTestDependencies()
           
org.apache.maven.execution.MavenSession.lookup(String)
           
org.apache.maven.execution.MavenSession.lookup(String, String)
           
org.apache.maven.execution.MavenSession.lookupList(String)
           
org.apache.maven.execution.MavenSession.lookupMap(String)
           
org.apache.maven.artifact.resolver.ResolutionListener.manageArtifact(Artifact, Artifact)
           
org.apache.maven.project.MavenProject.replaceWithActiveArtifact(Artifact)
           
org.apache.maven.execution.DefaultMavenExecutionRequest.setPomFile(String)
          use DefaultMavenExecutionRequest.setPom(File) 
org.apache.maven.project.MavenProject.setReportArtifacts(Set)
           
org.apache.maven.project.MavenProject.setReporting(Reporting)
           
org.apache.maven.project.MavenProject.writeModel(Writer)
          Use ModelWriter. 
org.apache.maven.project.MavenProject.writeOriginalModel(Writer)
          Use ModelWriter. 
 

Deprecated Constructors
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException(String)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException(String)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException(String, Throwable)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException(String, Throwable)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException(Throwable)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException(Throwable)
          use ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact) 
org.apache.maven.project.DuplicateProjectException(String)
          use DuplicateProjectException.DuplicateProjectException(String, File, File, String) 
org.apache.maven.project.DuplicateProjectException(String, Exception)
          use DuplicateProjectException.DuplicateProjectException(String, File, File, String) 
org.apache.maven.artifact.InvalidRepositoryException(String, Throwable)
           
org.apache.maven.project.MavenProject(MavenProject)
          use MavenProject.clone() so subclasses can provide a copy of the same class 
org.apache.maven.project.MavenProject(Model, RepositorySystem)
           
org.apache.maven.execution.MavenSession(PlexusContainer, MavenExecutionRequest, MavenExecutionResult, List)
           
org.apache.maven.execution.MavenSession(PlexusContainer, MavenExecutionRequest, MavenExecutionResult, MavenProject)
           
org.apache.maven.execution.MavenSession(PlexusContainer, Settings, ArtifactRepository, EventDispatcher, ReactorManager, List, String, Properties, Date)
           
org.apache.maven.execution.MavenSession(PlexusContainer, Settings, ArtifactRepository, EventDispatcher, ReactorManager, List, String, Properties, Properties, Date)
           
org.apache.maven.plugin.PluginParameterExpressionEvaluator(MavenSession, MojoExecution, PathTranslator, Logger, MavenProject, Properties)
           
 



Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.