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. |
void |
setOtherLocation(Object key,
InputLocation location) |
public Prerequisites clone()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- 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)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- 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–2022 The Apache Software Foundation. All rights reserved.