ARCHIVETYPE - Resulting archive typepublic interface PackagingProcessor<ARCHIVETYPE extends org.jboss.shrinkwrap.api.Archive<ARCHIVETYPE>>
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean handles(PackagingType packagingType)
packagingType is supported by this packaging processorpackagingType - PackagingProcessor<ARCHIVETYPE> configure(org.jboss.shrinkwrap.api.Archive<?> originalArchive, MavenWorkingSession session)
originalArchive - Original archive holdersession - Current Maven working sessionPackagingProcessor<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 packagedIllegalArgumentException - If strategy is nullorg.jboss.shrinkwrap.resolver.api.ResolutionException - If a dependency of the project could not be resolvedARCHIVETYPE getResultingArchive()
Copyright © 2020 JBoss by Red Hat. All rights reserved.