Package org.apache.maven.api.services
Interface DependencyCoordinatesFactory
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultDependencyCoordinatesFactory
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newDependencyCoordinates
object from the request.default DependencyCoordinates
create
(Session session, ArtifactCoordinates coordinates) default DependencyCoordinates
create
(Session session, Dependency dependency) default DependencyCoordinates
create
(Session session, Dependency dependency) default DependencyCoordinates
default DependencyCoordinates
create
(Session session, ReportPlugin reportPlugin)
-
Method Details
-
create
Creates a newDependencyCoordinates
object from the request.- Parameters:
request
- the request containing the various data- Returns:
- a new
DependencyCoordinates
object - Throws:
IllegalArgumentException
- ifrequest
is null or ifrequest.getSession()
is null or invalid
-
create
@Nonnull default DependencyCoordinates create(@Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) -
create
@Nonnull default DependencyCoordinates create(@Nonnull Session session, @Nonnull Dependency dependency) -
create
-
create
-
create
-