public class MavenBuildSettings extends BuildSettings
BuildSettings
.Modifier and Type | Class and Description |
---|---|
static class |
MavenBuildSettings.Builder
Builder for
BuildSettings . |
Modifier | Constructor and Description |
---|---|
protected |
MavenBuildSettings(MavenBuildSettings.Builder builder) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultGoal()
Return the default goal or phase to execute if none is given.
|
String |
getDescription()
Return a human readable description of the project.
|
List<MavenDeveloper> |
getDevelopers()
Return the developers associated with the project.
|
String |
getFinalName()
Return the final name of the artifact.
|
List<MavenLicense> |
getLicenses()
Return the licenses associated with the project.
|
String |
getName()
Return a simple name for the project.
|
String |
getPackaging()
Return the
packaging to use or null to use the default jar
packaging. |
MavenParent |
getParent()
Return the
MavenParent to use or null if this project has no
parent. |
MavenScm |
getScm()
Return the version control section of the project.
|
String |
getSourceDirectory()
Return the location of main source code.
|
String |
getTestSourceDirectory()
Return the location of test source code.
|
getArtifact, getGroup, getVersion
protected MavenBuildSettings(MavenBuildSettings.Builder builder)
public MavenParent getParent()
MavenParent
to use or null
if this project has no
parent.null
public String getPackaging()
packaging
to use or null
to use the default jar
packaging.public String getName()
null
public String getDescription()
null
public List<MavenLicense> getLicenses()
public List<MavenDeveloper> getDevelopers()
public MavenScm getScm()
public String getDefaultGoal()
null
to use the defaultpublic String getFinalName()
null
to use the defaultpublic String getSourceDirectory()
${basedir}
.null
to use the defaultpublic String getTestSourceDirectory()
${basedir}
.null
to use the defaultCopyright © 2022 Pivotal Software, Inc.. All rights reserved.