Package org.apache.maven.api.services
Interface ArtifactCoordinateFactory
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultArtifactCoordinateFactory
Service used to create
ArtifactCoordinate
objects.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ArtifactCoordinateFactoryRequest request) Creates a coordinate.default ArtifactCoordinate
default ArtifactCoordinate
create
(Session session, String groupId, String artifactId, String version, String classifier, String extension, String type) default ArtifactCoordinate
-
Method Details
-
create
Creates a coordinate.- Parameters:
request
- the request holding coordinate creation parameters- Returns:
- an
Artifact
, nevernull
- Throws:
IllegalArgumentException
- ifrequest
is null orrequest.session
is null or invalid
-
create
-
create
-
create
-