Package org.apache.maven.internal.impl
Class DefaultProject
java.lang.Object
org.apache.maven.internal.impl.DefaultProject
- All Implemented Interfaces:
Project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Returns the path to the pom file for this project.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.Project
getBasedir, getBuild, getId
-
Constructor Details
-
DefaultProject
-
-
Method Details
-
getSession
-
getProject
-
getGroupId
- Specified by:
getGroupId
in interfaceProject
-
getArtifactId
- Specified by:
getArtifactId
in interfaceProject
-
getVersion
- Specified by:
getVersion
in interfaceProject
-
getArtifact
- Specified by:
getArtifact
in interfaceProject
-
getPackaging
- Specified by:
getPackaging
in interfaceProject
-
getModel
-
getPomPath
Description copied from interface:Project
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.- Specified by:
getPomPath
in interfaceProject
- Returns:
- the path of the pom
-
getDependencies
- Specified by:
getDependencies
in interfaceProject
-
getManagedDependencies
- Specified by:
getManagedDependencies
in interfaceProject
-
isExecutionRoot
public boolean isExecutionRoot()- Specified by:
isExecutionRoot
in interfaceProject
-
getParent
-
getRemoteProjectRepositories
- Specified by:
getRemoteProjectRepositories
in interfaceProject
-
getRemotePluginRepositories
- Specified by:
getRemotePluginRepositories
in interfaceProject
-