public class Dependency extends Object implements Serializable
Constructor and Description |
---|
Dependency() |
Modifier and Type | Method and Description |
---|---|
String |
getExplicitValue()
Get the plugin tries to resolve the correct module name and
module specification/implementation version by examining the
dependency jar's manifest.
|
String |
getId()
Get groupId:artifactId of the dependency defined in the POM
(or a transitive dependency).
|
String |
getType()
Get type of module dependency.
|
void |
setExplicitValue(String explicitValue)
Set the plugin tries to resolve the correct module name and
module specification/implementation version by examining the
dependency jar's manifest.
|
void |
setId(String id)
Set groupId:artifactId of the dependency defined in the POM
(or a transitive dependency).
|
void |
setType(String type)
Set type of module dependency.
|
public String getExplicitValue()
public String getId()
public String getType()
spec - specification dependency, module can only use public APIs in public packages. Works with the version defined and any later version.
impl - implementation dependency, module can use any class in the dependency module, but works with just the one version of the module.
loose - similar to spec, but isa very loose connection, no version is required, just the module presence.
public void setExplicitValue(String explicitValue)
explicitValue
- public void setId(String id)
id
- public void setType(String type)
spec - specification dependency, module can only use public APIs in public packages. Works with the version defined and any later version.
impl - implementation dependency, module can use any class in the dependency module, but works with just the one version of the module.
loose - similar to spec, but isa very loose connection, no version is required, just the module presence.
type
- Copyright © 2005-2015 Codehaus. All Rights Reserved.