- java.lang.Object
-
- io.helidon.build.util.Maven.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mavenbuild()Builds theMaveninstance.Maven.BuilderglobalSettingsFile(Path globalSettingsFile)Sets the path to the globalsettings.xmlfile.Maven.BuilderlocalRepositoryDir(Path localRepositoryDir)Sets the path to the local repository.Maven.BuildermavenHome(Path mavenHome)Sets the path to the maven install directory.Maven.Builderoffline(boolean offline)Sets offline mode.Maven.BuilderuserSettingsFile(Path userSettingsFile)Sets the path to the usersettings.xmlfile.
-
-
-
Method Detail
-
mavenHome
public Maven.Builder mavenHome(Path mavenHome)
Sets the path to the maven install directory.- Parameters:
mavenHome- The path.- Returns:
- This instance.
-
globalSettingsFile
public Maven.Builder globalSettingsFile(Path globalSettingsFile)
Sets the path to the globalsettings.xmlfile.- Parameters:
globalSettingsFile- The path.- Returns:
- This instance.
-
userSettingsFile
public Maven.Builder userSettingsFile(Path userSettingsFile)
Sets the path to the usersettings.xmlfile.- Parameters:
userSettingsFile- The path.- Returns:
- This instance.
-
localRepositoryDir
public Maven.Builder localRepositoryDir(Path localRepositoryDir)
Sets the path to the local repository.- Parameters:
localRepositoryDir- The path.- Returns:
- This instance.
-
offline
public Maven.Builder offline(boolean offline)
Sets offline mode.- Parameters:
offline-trueif offline.- Returns:
- This instance.
-
-