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 |
---|---|
protected 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.
|
@MaybeNull protected String groupId
null
if the current project's group id should be used.@MaybeNull protected String artifactId
null
if the current project's artifact id should be used.@MaybeNull protected String version
null
if the current project's version should be used.@MaybeNull 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.protected 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–2023. All rights reserved.