|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.shared.runtime.MavenProjectProperties
public class MavenProjectProperties
Encapsulates the unique identifier for a Maven project.
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 Summary | |
|---|---|
MavenProjectProperties(String groupId,
String artifactId,
String version)
Creates a new MavenProjectProperties with the specified Maven project group id, artifact id and version
properties. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 null| Method Detail |
|---|
public String getGroupId()
public String getArtifactId()
public String getVersion()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||