Class ProjectRef
java.lang.Object
org.commonjava.maven.plugins.execroot.ProjectRef
The Class ProjectRef.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the artifact id.Gets the group id.booleanmatches(org.apache.maven.project.MavenProject project) Matches.voidsetArtifactId(String artifactId) Sets the artifact id.voidsetGroupId(String groupId) Sets the group id.toString()voidvalidate()Validate.
-
Constructor Details
-
ProjectRef
public ProjectRef()
-
-
Method Details
-
getGroupId
Gets the group id.- Returns:
- the group id
-
setGroupId
Sets the group id.- Parameters:
groupId- the new group id
-
getArtifactId
Gets the artifact id.- Returns:
- the artifact id
-
setArtifactId
Sets the artifact id.- Parameters:
artifactId- the new artifact id
-
validate
public void validate() throws org.apache.maven.plugin.MojoExecutionExceptionValidate.- Throws:
org.apache.maven.plugin.MojoExecutionException- the mojo execution exception
-
matches
public boolean matches(org.apache.maven.project.MavenProject project) Matches.- Parameters:
project- the project- Returns:
- true, if successful
-
toString
-