| Package | Description |
|---|---|
| org.springframework.roo.project | |
| org.springframework.roo.project.maven |
| Modifier and Type | Method and Description |
|---|---|
DependencyScope |
Dependency.getScope() |
static DependencyScope |
DependencyScope.getScope(Element dependency)
Parses the scope of the given dependency XML element
|
static DependencyScope |
DependencyScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyScope[] |
DependencyScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Dependency |
ProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope)
Allows addition of a JAR dependency to the POM.
|
Dependency |
AbstractProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope) |
void |
MavenCommands.addDependency(String groupId,
String artifactId,
String version,
String classifier,
DependencyScope scope) |
Dependency |
ProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope,
boolean addToDependencyManagement)
Allows addition of a JAR dependency to the POM.
|
Dependency |
AbstractProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope,
boolean addToDependencyManagement) |
Dependency |
ProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope,
String classifier)
Allows addition of a JAR dependency to the POM.
|
Dependency |
AbstractProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope,
String classifier) |
Dependency |
ProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope,
String classifier,
boolean addToDependencyManagement)
Allows addition of a JAR dependency to the POM.
|
Dependency |
AbstractProjectOperations.addDependency(String moduleName,
String groupId,
String artifactId,
String version,
DependencyScope scope,
String classifier,
boolean addToDependencyManagement) |
void |
ProjectMetadataProvider.updateDependencyScope(Dependency dependency,
DependencyScope dependencyScope)
Attempts to update the scope of the specified dependency.
|
void |
ProjectOperations.updateDependencyScope(String moduleName,
Dependency dependency,
DependencyScope dependencyScope)
Attempts to update the scope of the specified dependency.
|
void |
AbstractProjectOperations.updateDependencyScope(String moduleName,
Dependency dependency,
DependencyScope dependencyScope) |
| Constructor and Description |
|---|
Dependency(GAV gav,
DependencyType type,
DependencyScope scope)
Constructor for a dependency with the given attributes.
|
Dependency(String groupId,
String artifactId,
String version,
DependencyType type,
DependencyScope scope)
Constructs a dependency with the given type and scope.
|
Dependency(String groupId,
String artifactId,
String version,
DependencyType type,
DependencyScope scope,
String classifier)
Creates an immutable
Dependency. |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
Pom.asDependency(DependencyScope scope)
Returns this module as a Dependency with the given scope
|
Dependency |
Pom.asDependency(DependencyScope scope,
DependencyType type)
Returns this module as a Dependency with the given scope and type
|
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.