public class MavenProjectProperties
extends java.lang.Object
implements java.io.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(java.lang.String groupId,
java.lang.String artifactId,
java.lang.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(java.lang.Object object) |
java.lang.String |
getArtifactId()
Gets the artifact id for these Maven project properties.
|
java.lang.String |
getGroupId()
Gets the group id for these Maven project properties.
|
java.lang.String |
getVersion()
Gets the version for these Maven project properties.
|
int |
hashCode() |
java.lang.String |
toString() |
public MavenProjectProperties(java.lang.String groupId,
java.lang.String artifactId,
java.lang.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 java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.