public abstract class AbstractPublishMojo extends AbstractP2Mojo
Modifier and Type | Field and Description |
---|---|
private EquinoxServiceFactory |
osgiServices |
private RepositoryReferenceTool |
repositoryReferenceTool |
Constructor and Description |
---|
AbstractPublishMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private void |
postPublishedIUs(java.util.Collection<DependencySeed> units)
Adds the just published installable units into a shared list.
|
protected abstract java.util.Collection<DependencySeed> |
publishContent(PublisherServiceFactory publisherFactory)
Publishes source files with the help of the given publisher service.
|
getBuildContext, getBuildDirectory, getEclipseRepositoryProject, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
@Component private RepositoryReferenceTool repositoryReferenceTool
@Component private EquinoxServiceFactory osgiServices
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract java.util.Collection<DependencySeed> publishContent(PublisherServiceFactory publisherFactory) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
private void postPublishedIUs(java.util.Collection<DependencySeed> units)