Deprecated API


Contents
Deprecated Interfaces
org.apache.maven.artifact.resolver.ArtifactCollector
           
org.apache.maven.artifact.factory.ArtifactFactory
           
org.apache.maven.artifact.metadata.ArtifactMetadata
           
org.apache.maven.artifact.metadata.ArtifactMetadataSource
           
org.apache.maven.monitor.event.EventDispatcher
           
org.apache.maven.monitor.event.EventMonitor
           
org.apache.maven.repository.legacy.resolver.LegacyArtifactCollector
           
org.apache.maven.profiles.MavenProfilesBuilder
           
org.apache.maven.project.MavenProjectBuilder
          use ProjectBuilder instead 
org.apache.maven.settings.MavenSettingsBuilder
           
org.apache.maven.project.inheritance.ModelInheritanceAssembler
            
org.apache.maven.project.interpolation.ModelInterpolator
           
org.apache.maven.project.validation.ModelValidator
           
org.apache.maven.project.path.PathTranslator
           
org.apache.maven.plugin.PluginManager
           
org.apache.maven.profiles.activation.ProfileActivator
           
org.apache.maven.profiles.ProfileManager
           
org.apache.maven.project.ProjectBuilderConfiguration
          use ProjectBuildingRequest instead 
org.apache.maven.artifact.repository.RepositoryCache
           
org.apache.maven.artifact.resolver.ResolutionListenerForDepMgmt
           
org.apache.maven.execution.RuntimeInformation
          Use RuntimeInformation instead. 
org.apache.maven.artifact.manager.WagonManager
           
 

Deprecated Classes
org.apache.maven.artifact.metadata.AbstractArtifactMetadata
           
org.apache.maven.project.interpolation.AbstractStringBasedModelInterpolator
           
org.apache.maven.project.artifact.ActiveProjectArtifact
           
org.apache.maven.project.artifact.AttachedArtifact
           
org.apache.maven.project.interpolation.BuildTimestampValueSource
           
org.apache.maven.plugin.DebugConfigurationListener
           
org.apache.maven.artifact.resolver.DefaultArtifactCollector
           
org.apache.maven.artifact.repository.DefaultArtifactRepository
           
org.apache.maven.repository.legacy.resolver.conflict.DefaultConflictResolver
          As of 3.0, use a specific implementation instead, e.g. NearestConflictResolver 
org.apache.maven.profiles.DefaultMavenProfilesBuilder
           
org.apache.maven.project.DefaultMavenProjectBuilder
           
org.apache.maven.project.validation.DefaultModelValidator
           
org.apache.maven.project.path.DefaultPathTranslator
           
org.apache.maven.profiles.DefaultProfileManager
           
org.apache.maven.project.DefaultProjectBuilderConfiguration
           
org.apache.maven.execution.DefaultRuntimeInformation
           
org.apache.maven.repository.DelegatingLocalArtifactRepository
           
org.apache.maven.profiles.activation.DetectedProfileActivator
           
org.apache.maven.profiles.activation.FileProfileActivator
           
org.apache.maven.profiles.activation.JdkPrefixProfileActivator
           
org.apache.maven.artifact.versioning.ManagedVersionMap
           
org.apache.maven.project.ModelUtils
            
org.apache.maven.profiles.activation.OperatingSystemProfileActivator
           
org.apache.maven.project.interpolation.PathTranslatingPostProcessor
           
org.apache.maven.profiles.ProfilesConversionUtils
           
org.apache.maven.project.ProjectUtils
           
org.apache.maven.execution.ReactorManager
           
org.apache.maven.project.interpolation.RegexBasedModelInterpolator
           
org.apache.maven.artifact.metadata.ResolutionGroup
           
org.apache.maven.settings.RuntimeInfo
           
org.apache.maven.project.interpolation.StringSearchModelInterpolator
           
org.apache.maven.profiles.activation.SystemPropertyProfileActivator
           
 

Deprecated Exceptions
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
           
org.apache.maven.project.InvalidProjectModelException
           
org.apache.maven.project.interpolation.ModelInterpolationException
           
org.apache.maven.profiles.activation.ProfileActivationException
           
org.apache.maven.artifact.manager.WagonConfigurationException
           
 

Deprecated Fields
org.apache.maven.artifact.resolver.ResolutionListener.MANAGE_ARTIFACT
           
org.apache.maven.Maven.POMv4
           
org.apache.maven.artifact.resolver.ArtifactResolver.ROLE
           
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.artifact.resolver.ArtifactCollector.collect(Set, Artifact, ArtifactRepository, List, ArtifactMetadataSource, ArtifactFilter, List)
           
org.apache.maven.repository.legacy.resolver.LegacyArtifactCollector.collect(Set, Artifact, Map, ArtifactRepository, List, ArtifactMetadataSource, ArtifactFilter, List)
           
org.apache.maven.project.artifact.MavenMetadataSource.createArtifacts(ArtifactFactory, List, String, ArtifactFilter, MavenProject)
           
org.apache.maven.project.MavenProject.createArtifacts(ArtifactFactory, String, ArtifactFilter)
           
org.apache.maven.artifact.repository.ArtifactRepositoryFactory.createDeploymentArtifactRepository(String, String, String, boolean)
           
org.apache.maven.repository.legacy.repository.ArtifactRepositoryFactory.createDeploymentArtifactRepository(String, String, String, boolean)
           
org.apache.maven.DefaultArtifactFilterManager.createStandardFilter()
          Use this class as a component instead, and then use getArtifactFilter(). 
org.apache.maven.artifact.deployer.ArtifactDeployer.deploy(String, String, Artifact, ArtifactRepository, ArtifactRepository)
          to be removed before 2.0 after the install/deploy plugins use the alternate method 
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.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.artifact.repository.ArtifactRepositoryFactory.getLayout(String)
           
org.apache.maven.repository.legacy.repository.ArtifactRepositoryFactory.getLayout(String)
           
org.apache.maven.settings.Settings.getMirrorOf(String)
           
org.apache.maven.artifact.manager.DefaultWagonManager.getMirrorRepository(ArtifactRepository)
           
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.settings.Settings.getRuntimeInfo()
           
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.repository.legacy.WagonManager.getWagon(Repository)
           
org.apache.maven.repository.legacy.DefaultWagonManager.getWagon(Repository)
           
org.apache.maven.repository.legacy.WagonManager.getWagon(String)
           
org.apache.maven.repository.legacy.DefaultWagonManager.getWagon(String)
           
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.ModelInterpolator.interpolate(Model, Map, boolean)
          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.artifact.repository.ArtifactRepository.isBlacklisted()
           
org.apache.maven.plugin.descriptor.MojoDescriptor.isDependencyResolutionRequired()
           
org.apache.maven.artifact.repository.ArtifactRepository.isUniqueVersion()
           
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.artifact.resolver.ArtifactResolver.resolve(Artifact, List, ArtifactRepository)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolve(Artifact, List, ArtifactRepository, TransferListener)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveAlways(Artifact, List, ArtifactRepository)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitively(Set, Artifact, ArtifactRepository, List, ArtifactMetadataSource, ArtifactFilter)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitively(Set, Artifact, List, ArtifactRepository, ArtifactMetadataSource)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitively(Set, Artifact, List, ArtifactRepository, ArtifactMetadataSource, List)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitively(Set, Artifact, Map, ArtifactRepository, List, ArtifactMetadataSource)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitively(Set, Artifact, Map, ArtifactRepository, List, ArtifactMetadataSource, ArtifactFilter)
           
org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitively(Set, Artifact, Map, ArtifactRepository, List, ArtifactMetadataSource, ArtifactFilter, List)
           
org.apache.maven.artifact.repository.ArtifactRepository.setBlacklisted(boolean)
           
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.settings.Settings.setRuntimeInfo(RuntimeInfo)
           
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.profiles.DefaultProfileManager(PlexusContainer)
          without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded envirnments. 
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.project.InvalidProjectModelException(String, String, String)
          use File constructor for pomLocation 
org.apache.maven.project.InvalidProjectModelException(String, String, String, ModelValidationResult)
          use File constructor for pomLocation 
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.model.building.ModelBuildingException(Model, String, List)
          Use ModelBuildingException.ModelBuildingException(ModelBuildingResult) instead. 
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException(Artifact, List, List)
          use MultipleArtifactsNotFoundException.MultipleArtifactsNotFoundException(Artifact, List, List, List) 
org.apache.maven.plugin.PluginParameterExpressionEvaluator(MavenSession, MojoExecution, PathTranslator, Logger, MavenProject, Properties)
           
 



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