Constructor and Description |
---|
DefaultProject(AbstractSession session,
MavenProject project) |
Modifier and Type | Method and Description |
---|---|
Artifact |
getArtifact() |
String |
getArtifactId() |
List<DependencyCoordinate> |
getDependencies() |
String |
getGroupId() |
List<DependencyCoordinate> |
getManagedDependencies() |
org.apache.maven.api.model.Model |
getModel() |
String |
getPackaging() |
Optional<Project> |
getParent() |
Optional<Path> |
getPomPath() |
MavenProject |
getProject() |
List<RemoteRepository> |
getRemotePluginRepositories() |
List<RemoteRepository> |
getRemoteProjectRepositories() |
AbstractSession |
getSession() |
String |
getVersion() |
boolean |
isExecutionRoot() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasedir, getBuild, getId
public DefaultProject(AbstractSession session, MavenProject project)
public AbstractSession getSession()
public MavenProject getProject()
@Nonnull public String getGroupId()
getGroupId
in interface Project
@Nonnull public String getArtifactId()
getArtifactId
in interface Project
@Nonnull public String getVersion()
getVersion
in interface Project
@Nonnull public Artifact getArtifact()
getArtifact
in interface Project
@Nonnull public String getPackaging()
getPackaging
in interface Project
@Nonnull public org.apache.maven.api.model.Model getModel()
@Nonnull public Optional<Path> getPomPath()
getPomPath
in interface Project
@Nonnull public List<DependencyCoordinate> getDependencies()
getDependencies
in interface Project
@Nonnull public List<DependencyCoordinate> getManagedDependencies()
getManagedDependencies
in interface Project
public boolean isExecutionRoot()
isExecutionRoot
in interface Project
public List<RemoteRepository> getRemoteProjectRepositories()
getRemoteProjectRepositories
in interface Project
public List<RemoteRepository> getRemotePluginRepositories()
getRemotePluginRepositories
in interface Project
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.