|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo
org.ops4j.pax.construct.archetype.OSGiWrapperArchetypeMojo
public class OSGiWrapperArchetypeMojo
Create a new wrapper project inside an existing Pax-Construct OSGi project
or create a standalone version which doesn't require an existing project
mvn pax:wrap-jar [-DgroupId=...] -DartifactId=... [-Dversion=...]
cd some-empty-folder
mvn org.ops4j:maven-pax-plugin:wrap-jar ...etc...
| Field Summary |
|---|
| Fields inherited from class org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo |
|---|
PAX_CONSTRUCT_GROUP_ID |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
OSGiWrapperArchetypeMojo()
|
|
| Method Summary | |
|---|---|
protected boolean |
createMoreArtifacts()
|
java.lang.String |
getBundleSymbolicName()
Provide Velocity template with customized Bundle-SymbolicName |
java.lang.String |
getBundleVersion()
Provide Velocity template with customized bundle version |
protected java.lang.String |
getParentId()
|
java.lang.String |
getWrappedArtifactId()
Provide Velocity template with wrappee's artifactId |
java.lang.String |
getWrappedGroupId()
Provide Velocity template with wrappee's groupId |
protected void |
postProcess(PomUtils.Pom pom,
BndUtils.Bnd bnd)
Sub-class specific post-processing, which runs *after* custom archetypes are added |
protected void |
updateExtensionFields()
Set the remaining fields in the archetype mojo |
| Methods inherited from class org.ops4j.pax.construct.archetype.AbstractPaxArchetypeMojo |
|---|
addTempFiles, cacheOriginalFiles, execute, getArchetypeProperty, getCompoundId, getFactory, getFinalFilenames, getInternalGroupId, getLocalRepo, getPluginVersion, getRemoteRepos, getResolver, getSource, hasCustomContent, saveBndInstructions, saveProjectModel, scheduleArchetype, setArchetypeProperty, setMainArchetype |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiWrapperArchetypeMojo()
| Method Detail |
|---|
protected java.lang.String getParentId()
getParentId in class AbstractPaxArchetypeMojo
protected void updateExtensionFields()
throws org.apache.maven.plugin.MojoExecutionException
updateExtensionFields in class AbstractPaxArchetypeMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic java.lang.String getBundleSymbolicName()
public java.lang.String getBundleVersion()
public java.lang.String getWrappedGroupId()
public java.lang.String getWrappedArtifactId()
protected void postProcess(PomUtils.Pom pom,
BndUtils.Bnd bnd)
throws org.apache.maven.plugin.MojoExecutionException
postProcess in class AbstractPaxArchetypeMojopom - working copy of Maven POMbnd - working copy of Bnd instructions
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean createMoreArtifacts()
createMoreArtifacts in class AbstractPaxArchetypeMojo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||