public class Prerequisites extends Object implements Serializable, Cloneable, InputLocationTracker
| Constructor and Description |
|---|
Prerequisites() |
| Modifier and Type | Method and Description |
|---|---|
Prerequisites |
clone()
Method clone.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getMaven()
Get for a plugin project (packaging is
maven-plugin), the minimum version of
Maven required to use the resulting plugin.In Maven 2, this was also specifying the minimum version of Maven required to build a project, but this usage is deprecated in Maven 3 and not checked any more: use the Maven Enforcer Plugin's requireMavenVersion rule
instead. |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setMaven(String maven)
Set for a plugin project (packaging is
maven-plugin), the minimum version of
Maven required to use the resulting plugin.In Maven 2, this was also specifying the minimum version of Maven required to build a project, but this usage is deprecated in Maven 3 and not checked any more: use the Maven Enforcer Plugin's requireMavenVersion rule
instead. |
public Prerequisites clone()
public InputLocation getLocation(Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public String getMaven()
maven-plugin), the minimum version of
Maven required to use the resulting plugin.requireMavenVersion rule
instead.public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setMaven(String maven)
maven-plugin), the minimum version of
Maven required to use the resulting plugin.requireMavenVersion rule
instead.maven - Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.