mirror of https://github.com/apache/maven.git
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:
parent
7bdf0a8d5d
commit
f17c4fefe4
|
@ -138,11 +138,6 @@ public class ExecutionBuildContext
|
||||||
return request.getSettings();
|
return request.getSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getSettingsFile()
|
|
||||||
{
|
|
||||||
return request.getSettingsFile();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getStartTime()
|
public Date getStartTime()
|
||||||
{
|
{
|
||||||
return request.getStartTime();
|
return request.getStartTime();
|
||||||
|
|
|
@ -16,12 +16,11 @@ package org.apache.maven.execution;
|
||||||
* limitations under the License.
|
* 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.ArtifactRepository;
|
||||||
import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
|
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 org.codehaus.plexus.logging.Logger;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@ -77,10 +76,6 @@ public interface MavenExecutionRequest
|
||||||
MavenExecutionRequest setBaseDirectory( File basedir );
|
MavenExecutionRequest setBaseDirectory( File basedir );
|
||||||
String getBaseDirectory();
|
String getBaseDirectory();
|
||||||
|
|
||||||
// Settings
|
|
||||||
MavenExecutionRequest setSettings( Settings settings );
|
|
||||||
Settings getSettings();
|
|
||||||
|
|
||||||
// Timing (remove this)
|
// Timing (remove this)
|
||||||
MavenExecutionRequest setStartTime( Date start );
|
MavenExecutionRequest setStartTime( Date start );
|
||||||
Date getStartTime();
|
Date getStartTime();
|
||||||
|
@ -135,14 +130,6 @@ public interface MavenExecutionRequest
|
||||||
MavenExecutionRequest setGlobalChecksumPolicy( String globalChecksumPolicy );
|
MavenExecutionRequest setGlobalChecksumPolicy( String globalChecksumPolicy );
|
||||||
String getGlobalChecksumPolicy();
|
String getGlobalChecksumPolicy();
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// Settings equivalents
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// Settings
|
|
||||||
MavenExecutionRequest setSettingsFile( String settingsFile );
|
|
||||||
String getSettingsFile();
|
|
||||||
|
|
||||||
// Local repository
|
// Local repository
|
||||||
MavenExecutionRequest setLocalRepositoryPath( String localRepository );
|
MavenExecutionRequest setLocalRepositoryPath( String localRepository );
|
||||||
MavenExecutionRequest setLocalRepositoryPath( File localRepository );
|
MavenExecutionRequest setLocalRepositoryPath( File localRepository );
|
||||||
|
@ -185,13 +172,15 @@ public interface MavenExecutionRequest
|
||||||
List getPluginGroups();
|
List getPluginGroups();
|
||||||
MavenExecutionRequest setPluginGroups( List pluginGroups );
|
MavenExecutionRequest setPluginGroups( List pluginGroups );
|
||||||
|
|
||||||
|
//PLXAPI: should go away
|
||||||
// Plugin registry
|
// Plugin registry
|
||||||
boolean isUsePluginRegistry();
|
boolean isUsePluginRegistry();
|
||||||
MavenExecutionRequest setUsePluginRegistry( boolean usePluginRegistry );
|
MavenExecutionRequest setUsePluginRegistry( boolean usePluginRegistry );
|
||||||
|
|
||||||
boolean isUsePluginUpdateOverride();
|
boolean isUsePluginUpdateOverride();
|
||||||
MavenExecutionRequest setUsePluginUpdateOverride( boolean usePluginUpdateOverride );
|
MavenExecutionRequest setUsePluginUpdateOverride( boolean usePluginUpdateOverride );
|
||||||
|
|
||||||
SettingsBuilderAdvice getSettingsBuilderAdvice();
|
// Setting
|
||||||
MavenExecutionRequest setSettingsBuilderAdvice( SettingsBuilderAdvice advice );
|
Settings getSettings();
|
||||||
|
MavenExecutionRequest setSettings( Settings settings );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue