public class CoordinateConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
artifactId
The artifact id of the project containing the plugin type or
null if the current project's artifact id should be used. |
protected String |
groupId
The group id of the project containing the plugin type or
null if the current project's group id should be used. |
protected String |
packaging
The version of the project containing the plugin type or
null if the current project's packaging should be used. |
protected String |
version
The version of the project containing the plugin type or
null if the current project's version should be used. |
Constructor and Description |
---|
CoordinateConfiguration() |
Modifier and Type | Method and Description |
---|---|
MavenCoordinate |
asCoordinate(String groupId,
String artifactId,
String version,
String packaging)
Resolves this transformation to a Maven coordinate.
|
protected String |
getArtifactId(String artifactId)
Returns the artifact id to use.
|
protected String |
getGroupId(String groupId)
Returns the group id to use.
|
protected String |
getPackaging(String packaging)
Returns the version to use.
|
protected String |
getVersion(String version)
Returns the version to use.
|
protected String groupId
null
if the current project's group id should be used.protected String artifactId
null
if the current project's artifact id should be used.protected String version
null
if the current project's version should be used.protected String packaging
null
if the current project's packaging should be used.protected String getGroupId(String groupId)
groupId
- The current project's group id.protected String getArtifactId(String artifactId)
artifactId
- The current project's artifact id.protected String getVersion(String version)
version
- The current project's version.protected String getPackaging(String packaging)
packaging
- The current project's packaging.public MavenCoordinate asCoordinate(String groupId, String artifactId, String version, String packaging)
groupId
- The current project's build id.artifactId
- The current project's artifact id.version
- The current project's version.packaging
- The current project's packagingCopyright © 2014–2024. All rights reserved.