Package org.apache.maven.api
Interface Project
- All Known Implementing Classes:
DefaultProject
Interface representing a Maven project.
Projects can be built using the
ProjectBuilder
service.- Since:
- 4.0
-
Method Details
-
getGroupId
-
getArtifactId
-
getVersion
-
getPackaging
-
getArtifact
-
getModel
-
getBuild
-
getPomPath
Returns the path to the pom file for this project. A project is usually read from the file system and this will point to the file. In some cases, a transient project can be created which will not point to an actual pom file.- Returns:
- the path of the pom
-
getBasedir
-
getDependencies
-
getManagedDependencies
-
getId
-
isExecutionRoot
boolean isExecutionRoot() -
getParent
-
getRemoteProjectRepositories
-
getRemotePluginRepositories
-