Deprecated API


Contents
Deprecated Fields
hudson.maven.MavenModuleSet.globalSettingConfigPath
          since 1.484 settings are provided by MavenModuleSet.globalSettings 
hudson.maven.MavenReporters.LIST
          as of 1.286. Use MavenReporterDescriptor#all() for listing reporters, and use Extension for automatic registration. 
hudson.maven.MojoInfo.mojo
          as of 1.427 Maven3 can no longer provide this information, so plugins cannot rely on this value being present. For the time being we are setting a dummy value to avoid NPE. Use MojoInfo.configuration to access configuration values, but otherwise the ability to inject values is lost and there's no viable alternative. 
 

Deprecated Methods
hudson.maven.MavenUtil.createEmbedder(TaskListener, String)
          Use MavenUtil.createEmbedder(TaskListener, File, String, Properties) or other overloaded versions that infers maven home. 
hudson.maven.reporters.MavenArtifactRecord.getAbsoluteUrl()
          This method shall NEVER be used during HTML page rendering, as it's too easy for misconfiguration to break this value, with network set up like Apache reverse proxy. This method is only intended for the remote API clients who cannot resolve relative references. 
hudson.maven.MavenModuleSet.getAlternateSettings()
          as of 1.481 
hudson.maven.MavenModuleSet.getBuildWrappers()
          as of 1.335 Use MavenModuleSet.getBuildWrappersList() to be consistent with other subtypes of AbstractProject. 
hudson.maven.MavenReporter.getProjectAction(MavenModule)
          as of 1.341 Use MavenReporter.getProjectActions(MavenModule) instead. 
hudson.maven.MavenModuleSet.getRootPOM()
          for backward comp only 
hudson.maven.MavenModule.getWorkspaceResource()
          as of 1.319 in AbstractProject. 
hudson.maven.MojoInfo.inject(String, T)
          as of 1.427 See the discussion in MojoInfo.mojo 
hudson.maven.MojoInfo.intercept(String, InvocationInterceptor)
          as of 1.427 See the discussion in MojoInfo.mojo 
hudson.maven.MavenReporterDescriptor.newInstance(StaplerRequest)
           
hudson.maven.MavenUtil.resolveModules(MavenEmbedder, MavenProject, String, Map, BuildListener, boolean)
          MavenEmbedder has now a method to read all projects Recursively resolves module POMs that are referenced from the given MavenProject and parses them into MavenProjects. 
hudson.maven.MavenModuleSet.setAlternateSettings(String)
          as of 1.481 
hudson.maven.MavenModule.setLogRotator(LogRotator)
          Not allowed to configure log rotation per module. 
hudson.maven.MavenModuleSet.setUsePrivateRepository(boolean)
          as of 1.448. Use MavenModuleSet.setLocalRepository(LocalRepositoryLocator) instead 
hudson.maven.MavenModuleSet.usesPrivateRepository()
          as of 1.448 Use MavenModuleSet.getLocalRepository() 
 

Deprecated Constructors
hudson.maven.reporters.MavenArtifactRecord(MavenBuild, MavenArtifact, MavenArtifact, List)
           
hudson.maven.MavenModuleSet(String)
          Use MavenModuleSet.MavenModuleSet(ItemGroup, String) 
hudson.maven.RedeployPublisher.DescriptorImpl(Class)
          as of 1.290 Use the default constructor. 
hudson.maven.RedeployPublisher(String, String, boolean)
           
hudson.maven.RedeployPublisher(String, String, boolean, boolean)
           
 



Copyright © 2004-2013. All Rights Reserved.