org.mevenide.environment
Interface IMutableLocationFinder

All Superinterfaces:
ILocationFinder
All Known Implementing Classes:
CustomLocationFinder

public interface IMutableLocationFinder
extends ILocationFinder

A variant of ILocationFinder that permits setting the locations.


Field Summary
 
Fields inherited from interface org.mevenide.environment.ILocationFinder
FOREHEAD_CONF_FILE, JAVA_HOME, MAVEN_HOME, MAVEN_HOME_LOCAL, MAVEN_PLUGIN_DIR, MAVEN_PLUGIN_UNPACKED_DIR, MAVEN_PLUGIN_USER_DIR, MAVEN_REPO_LOCAL, USER_HOME
 
Method Summary
 void setJavaHome(java.lang.String value)
          The directory on the local machine that contains the JDK.
 void setMavenHome(java.lang.String value)
          The directory on the local machine that contains Maven.
 void setMavenLocalHome(java.lang.String value)
          The directory on the local machine Maven uses to write user specific details to, such as expanded plugins and cache data.
 void setMavenLocalRepository(java.lang.String value)
          The repository on the local machine Maven should use to store downloaded artifacts (jars etc).
 void setMavenPluginsDir(java.lang.String value)
          Where Maven expands installed plugins for processing.
 void setPluginJarsDir(java.lang.String value)
          Where Maven can find it's plugins.
 void setUserHome(java.lang.String value)
          The user's home directory on the local machine.
 void setUserPluginsDir(java.lang.String value)
          Where Maven can find plugins for this user only.
 
Methods inherited from interface org.mevenide.environment.ILocationFinder
getConfigurationFileLocation, getJavaHome, getMavenHome, getMavenLocalHome, getMavenLocalRepository, getMavenPluginsDir, getPluginJarsDir, getUserHome, getUserPluginsDir
 

Method Detail

setMavenHome

void setMavenHome(java.lang.String value)
The directory on the local machine that contains Maven.

This is equivalent to setting the maven.home system property.

Defaults to ${env.MAVEN_HOME}


setJavaHome

void setJavaHome(java.lang.String value)
The directory on the local machine that contains the JDK. Note that a JRE alone is not sufficient to execute Maven.

This is equivalent to setting the java.home system property.

Defaults to ${env.JAVA_HOME}


setMavenLocalHome

void setMavenLocalHome(java.lang.String value)
The directory on the local machine Maven uses to write user specific details to, such as expanded plugins and cache data.

This is equivalent to setting the maven.home.local system property.

Defaults to ${user.home}/.maven


setMavenLocalRepository

void setMavenLocalRepository(java.lang.String value)
The repository on the local machine Maven should use to store downloaded artifacts (jars etc).

This is equivalent to setting the maven.repo.local system property.

Defaults to ${maven.home.local}/repository


setMavenPluginsDir

void setMavenPluginsDir(java.lang.String value)
Where Maven expands installed plugins for processing.

This is equivalent to setting the maven.plugin.unpacked.dir system property.

Defaults to ${maven.home.local}/cache


setUserPluginsDir

void setUserPluginsDir(java.lang.String value)
Where Maven can find plugins for this user only.

This is equivalent to setting the maven.plugin.user.dir system property.

Defaults to ${maven.home.local}/plugins


setPluginJarsDir

void setPluginJarsDir(java.lang.String value)
Where Maven can find it's plugins.

This is equivalent to setting the maven.plugin.dir system property.

Defaults to ${maven.home}/plugins


setUserHome

void setUserHome(java.lang.String value)
The user's home directory on the local machine.

This is equivalent to setting the user.home system property.

Defaults to ${env.HOME}



Copyright © 2003-2006 The Codehaus. All Rights Reserved.