org.apache.maven.plugin.eclipse
Class AddMavenRepoMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.eclipse.AddMavenRepoMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class AddMavenRepoMojo
- extends org.apache.maven.plugin.AbstractMojo
Adds the classpath variable MAVEN_REPO to Eclipse.
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIR_ECLIPSE_PLUGINS_METADATA
public static final java.lang.String DIR_ECLIPSE_PLUGINS_METADATA
- Path under Eclipse workspace where Eclipse Plugin metadata/config is
stored.
- See Also:
- Constant Field Values
DIR_ECLIPSE_CORE_RUNTIME_SETTINGS
public static final java.lang.String DIR_ECLIPSE_CORE_RUNTIME_SETTINGS
- Path under folder where Eclipse
Workspace Runtime settings are stored.
- See Also:
- Constant Field Values
FILE_ECLIPSE_JDT_CORE_PREFS
public static final java.lang.String FILE_ECLIPSE_JDT_CORE_PREFS
- File that stores the Eclipse JDT Core preferences.
- See Also:
- Constant Field Values
CLASSPATH_VARIABLE_M2_REPO
public static final java.lang.String CLASSPATH_VARIABLE_M2_REPO
- Property constant under which Variable 'M2_REPO' is setup.
- See Also:
- Constant Field Values
AddMavenRepoMojo
public AddMavenRepoMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getLocalRepository
public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
setLocalRepository
public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
getWorkspace
public java.lang.String getWorkspace()
setWorkspace
public void setWorkspace(java.lang.String workspace)
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.