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.0
-
Method Details
-
create
Creates an artifact.- Parameters:
request- the request holding artifact creation parameters- Returns:
- an
Artifact, nevernull - Throws:
IllegalArgumentException- ifrequestis null orrequest.sessionis null or invalid
-
create
-
create
-