| Package | Description |
|---|---|
| org.springframework.roo.project | |
| org.springframework.roo.project.maven | |
| org.springframework.roo.project.packaging |
| Modifier and Type | Method and Description |
|---|---|
GAV |
Plugin.getGAV()
Returns the Maven-style coordinates of this plugin
|
static GAV |
GAV.getInstance(String coordinates)
Returns an instance based on the given concatenated Maven coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
int |
GAV.compareTo(GAV other) |
| Constructor and Description |
|---|
Dependency(GAV gav,
DependencyType type,
DependencyScope scope)
Constructor for a dependency with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Pom.isPluginRegistered(GAV gav)
Indicates whether a plugin with the given coordinates is registered
|
| Modifier and Type | Method and Description |
|---|---|
String |
PackagingProvider.createArtifacts(org.springframework.roo.model.JavaPackage topLevelPackage,
String projectName,
String javaVersion,
GAV parentPom,
String moduleName,
ProjectOperations projectOperations)
Creates the initial set of artifacts (files and directories) for a module
with this type of packaging; this includes setting the POM's
/project/packaging element to the desired value. |
String |
BundlePackaging.createArtifacts(org.springframework.roo.model.JavaPackage topLevelPackage,
String nullableProjectName,
String javaVersion,
GAV parentPom,
String module,
ProjectOperations projectOperations) |
String |
AbstractPackagingProvider.createArtifacts(org.springframework.roo.model.JavaPackage topLevelPackage,
String nullableProjectName,
String javaVersion,
GAV parentPom,
String module,
ProjectOperations projectOperations) |
protected String |
AbstractPackagingProvider.createPom(org.springframework.roo.model.JavaPackage topLevelPackage,
String projectName,
String javaVersion,
GAV parentPom,
String module,
ProjectOperations projectOperations)
Creates the Maven POM using the subclass' POM template as follows:
sets the parent POM to the given parent (if any)
sets the groupId to the result of
AbstractPackagingProvider.getGroupId(org.springframework.roo.model.JavaPackage), omitting this
element if it's the same as the parent's groupId (as per Maven best
practice)
sets the artifactId to the result of AbstractPackagingProvider.getArtifactId(java.lang.String, java.lang.String, org.springframework.roo.model.JavaPackage)
sets the packaging to the result of #getName()
sets the project name to the result of AbstractPackagingProvider.getProjectName(java.lang.String, java.lang.String, org.springframework.roo.model.JavaPackage)
replaces all occurrences of AbstractPackagingProvider.JAVA_PRODUCT_VERSION_PLACEHOLDER with
the given Java version
This method makes as few assumptions about the POM template as possible,
to make life easier for anyone writing a PackagingProvider. |
protected String |
JarPackaging.createPom(org.springframework.roo.model.JavaPackage topLevelPackage,
String nullableProjectName,
String javaVersion,
GAV parentPom,
String moduleName,
ProjectOperations projectOperations) |
protected void |
AbstractPackagingProvider.setGroupIdAndParent(String projectGroupId,
GAV parentPom,
Element root,
Document pom)
Sets the Maven groupIds of the parent and/or project as necessary
|
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.