|
ShrinkWrap Resolver Maven Archive SPI 2.0.0-cr-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ARCHIVETYPE - Resulting archive typepublic interface PackagingProcessor<ARCHIVETYPE extends org.jboss.shrinkwrap.api.Archive<ARCHIVETYPE>>
Packaging procesor which is able to build an archive using data available in the Maven Working Session
| Method Summary | |
|---|---|
PackagingProcessor<ARCHIVETYPE> |
configure(org.jboss.shrinkwrap.api.Archive<?> originalArchive,
MavenWorkingSession session)
Configures packaging processor by passing Maven working session and original archive |
ARCHIVETYPE |
getResultingArchive()
Returns archive as a ShrinkWrap archive |
boolean |
handles(PackagingType packagingType)
Check that packagingType is supported by this packaging processor |
PackagingProcessor<ARCHIVETYPE> |
importBuildOutput(MavenResolutionStrategy strategy)
Compiles, packages and resolve dependencies for the project. |
| Method Detail |
|---|
boolean handles(PackagingType packagingType)
packagingType is supported by this packaging processor
packagingType -
PackagingProcessor<ARCHIVETYPE> configure(org.jboss.shrinkwrap.api.Archive<?> originalArchive,
MavenWorkingSession session)
originalArchive - Original archive holdersession - Current Maven working session
PackagingProcessor<ARCHIVETYPE> importBuildOutput(MavenResolutionStrategy strategy)
throws IllegalArgumentException,
org.jboss.shrinkwrap.resolver.api.ResolutionException
strategy to define what dependencies will be
packaged into project.
strategy - The strategy defining objects to be packaged
IllegalArgumentException - If strategy is null
org.jboss.shrinkwrap.resolver.api.ResolutionException - If a dependency of the project could not be resolvedARCHIVETYPE getResultingArchive()
|
ShrinkWrap Resolver Maven Archive SPI 2.0.0-cr-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||