Package org.apache.maven.api.services
Interface ArtifactFactory
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultArtifactFactory
Service used to create
Artifact
objects.- Since:
- 4.0
-
Method Details
-
create
Creates an artifact.- Parameters:
request
- the request holding artifact creation parameters- Returns:
- an
Artifact
, nevernull
- Throws:
IllegalArgumentException
- ifrequest
is null orrequest.session
is null or invalid
-
create
-
create
-