Package org.apache.maven.api.services
Interface DependencyCoordinateFactory
- All Superinterfaces:
Service
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DependencyCoordinateFactoryRequest request) Creates a newDependencyCoordinate
object from the request.default DependencyCoordinate
create
(Session session, ArtifactCoordinate coordinate) default DependencyCoordinate
create
(Session session, Dependency dependency) default DependencyCoordinate
create
(Session session, Dependency dependency) default DependencyCoordinate
default DependencyCoordinate
create
(Session session, ReportPlugin reportPlugin)
-
Method Details
-
create
Creates a newDependencyCoordinate
object from the request.- Parameters:
request
- the request containing the various data- Returns:
- a new
DependencyCoordinate
object - Throws:
IllegalArgumentException
- ifrequest
is null or ifrequest.getSession()
is null or invalid
-
create
@Nonnull default DependencyCoordinate create(@Nonnull Session session, @Nonnull ArtifactCoordinate coordinate) -
create
@Nonnull default DependencyCoordinate create(@Nonnull Session session, @Nonnull Dependency dependency) -
create
-
create
-
create
-