o don't need settings in here anymore, as we'll move toward session and request level configuration and eventually have a single source passing through

the core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2007-02-28 01:24:26 +00:00
parent 7bdf0a8d5d
commit f17c4fefe4
2 changed files with 8 additions and 24 deletions

View File

@ -138,11 +138,6 @@ public class ExecutionBuildContext
return request.getSettings();
}
public String getSettingsFile()
{
return request.getSettingsFile();
}
public Date getStartTime()
{
return request.getStartTime();

View File

@ -16,12 +16,11 @@ package org.apache.maven.execution;
* limitations under the License.
*/
import org.apache.maven.monitor.event.EventMonitor;
import org.apache.maven.settings.Settings;
import org.apache.maven.settings.SettingsBuilderAdvice;
import org.apache.maven.wagon.events.TransferListener;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
import org.apache.maven.monitor.event.EventMonitor;
import org.apache.maven.wagon.events.TransferListener;
import org.apache.maven.settings.Settings;
import org.codehaus.plexus.logging.Logger;
import java.io.File;
@ -77,10 +76,6 @@ public interface MavenExecutionRequest
MavenExecutionRequest setBaseDirectory( File basedir );
String getBaseDirectory();
// Settings
MavenExecutionRequest setSettings( Settings settings );
Settings getSettings();
// Timing (remove this)
MavenExecutionRequest setStartTime( Date start );
Date getStartTime();
@ -135,14 +130,6 @@ public interface MavenExecutionRequest
MavenExecutionRequest setGlobalChecksumPolicy( String globalChecksumPolicy );
String getGlobalChecksumPolicy();
// ----------------------------------------------------------------------------
// Settings equivalents
// ----------------------------------------------------------------------------
// Settings
MavenExecutionRequest setSettingsFile( String settingsFile );
String getSettingsFile();
// Local repository
MavenExecutionRequest setLocalRepositoryPath( String localRepository );
MavenExecutionRequest setLocalRepositoryPath( File localRepository );
@ -185,13 +172,15 @@ public interface MavenExecutionRequest
List getPluginGroups();
MavenExecutionRequest setPluginGroups( List pluginGroups );
//PLXAPI: should go away
// Plugin registry
boolean isUsePluginRegistry();
MavenExecutionRequest setUsePluginRegistry( boolean usePluginRegistry );
boolean isUsePluginUpdateOverride();
MavenExecutionRequest setUsePluginUpdateOverride( boolean usePluginUpdateOverride );
SettingsBuilderAdvice getSettingsBuilderAdvice();
MavenExecutionRequest setSettingsBuilderAdvice( SettingsBuilderAdvice advice );
// Setting
Settings getSettings();
MavenExecutionRequest setSettings( Settings settings );
}