@Mojo(name="publish-ee-profile", defaultPhase=PREPARE_PACKAGE) public final class PublishEEProfileMojo extends AbstractPublishMojo
Publishes a custom execution environment profile.
Modifier and Type | Field and Description |
---|---|
private java.io.File |
profileFile
The profile file containing the execution environment definition.
|
Constructor and Description |
---|
PublishEEProfileMojo() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<DependencySeed> |
publishContent(PublisherServiceFactory publisherServiceFactory)
Publishes source files with the help of the given publisher service.
|
execute
getBuildContext, getBuildDirectory, getEclipseRepositoryProject, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
@Parameter(required=true) private java.io.File profileFile
The profile file containing the execution environment definition.
protected java.util.Collection<DependencySeed> publishContent(PublisherServiceFactory publisherServiceFactory) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
AbstractPublishMojo
publishContent
in class AbstractPublishMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException