| Package | Description |
|---|---|
| org.springframework.roo.project | |
| org.springframework.roo.project.packaging |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MavenOperations
Provides Maven project operations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProjectOperations
Provides common project operations.
|
class |
MavenOperationsImpl
Implementation of
MavenOperations. |
| Modifier and Type | Method and Description |
|---|---|
ProjectOperations |
MavenOperationsImpl.getProjectOperations() |
ProjectOperations |
MavenCommands.getProjectOperations() |
ProjectOperations |
ProjectCommands.getProjectOperations() |
| 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 void |
PomPackaging.createOtherArtifacts(org.springframework.roo.model.JavaPackage topLevelPackage,
String module,
ProjectOperations projectOperations) |
protected void |
AbstractPackagingProvider.createOtherArtifacts(org.springframework.roo.model.JavaPackage topLevelPackage,
String module,
ProjectOperations projectOperations)
Subclasses can override this method to create any other required files or
directories (apart from the POM, which has previously been generated by
AbstractPackagingProvider.createPom(org.springframework.roo.model.JavaPackage, java.lang.String, java.lang.String, org.springframework.roo.project.GAV, java.lang.String, org.springframework.roo.project.ProjectOperations)). |
protected void |
EsaPackaging.createOtherArtifacts(org.springframework.roo.model.JavaPackage topLevelPackage,
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 String |
AbstractPackagingProvider.getFullyQualifiedModuleName(String moduleName,
ProjectOperations projectOperations)
Returns the fully-qualified name of the given module, relative to the
currently focused module.
|
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.