public class MavenProjectProperties extends Object implements Serializable
More specifically, this object holds a project's group id, artifact id and version. This information is typically
generated by Maven and stored within the file
META-INF/maven/<groupId>/<artifactId>/pom.properties
in the packaged project.
Constructor and Description |
---|
MavenProjectProperties(String groupId,
String artifactId,
String version)
Creates a new
MavenProjectProperties with the specified Maven project group id, artifact id and version
properties. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getArtifactId()
Gets the artifact id for these Maven project properties.
|
String |
getGroupId()
Gets the group id for these Maven project properties.
|
String |
getVersion()
Gets the version for these Maven project properties.
|
int |
hashCode() |
String |
toString() |
public MavenProjectProperties(String groupId, String artifactId, String version)
MavenProjectProperties
with the specified Maven project group id, artifact id and version
properties.groupId
- the group id, not nullartifactId
- the artifact id, not nullversion
- the version, not nullpublic String getGroupId()
public String getArtifactId()
public String getVersion()
Copyright © 2002-2019 The Apache Software Foundation. All Rights Reserved.