Package com.tibco.ep.buildmavenplugin
Class PackageLiveViewFragmentMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.tibco.ep.buildmavenplugin.PackageLiveViewFragmentMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="package-liveview-fragment",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class PackageLiveViewFragmentMojo
extends org.apache.maven.plugin.AbstractMojo
Build a LiveView fragment
The packaging rules are as follows :-
- A mainifest file is created at /META-INF/MANIFEST.MF containing :-
- Archiver-Version: Plexus Archiver
- Built-By: build user
- Build-Jdk: jdk version
- Package-Title: project groupId and name
- Package-Version: project version and buildNumber
- Package-Vendor: project organization name (if set)
- TIBCO-EP-Build-Product-Version: product version
- pom.xml copied to /META-INF/maven/groupId/artifactId/pom.xml
- pom.properties created in /META-INF/maven/groupId/artifactId/pom.properties
- The project's files are copied into /
- The project's java classes and jar dependencies are copied into /java-resources
- The project's resources files are copied into /
The plexus archiver is used to create the archive via the maven assembly plugin.
Native archives (nar) are included - in this case a mapping is included from the nar AOL values (http://maven-nar.github.io/aol.html) to internal values.
The generated filename is <artifactId>-<version>-ep-liveview-fragment.zip
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static StringApplication packaging and typestatic final Stringstatic final Stringprotected static StringEventFlow packaging and typeprotected static StringDirectory used to import other Eventflow fragmentsprotected static StringJava packaging and typeprotected static StringLiveView packaging and typeprotected static Stringsystem property for reportsprotected static StringStreaming Web flow packaging and typeprotected static Stringmaven property to use to skip start/stop/tests if no tests existFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
DEFAULT_SRC_MAIN_EVENTFLOW
- See Also:
-
DEFAULT_SRC_TEST_EVENTFLOW
- See Also:
-
TESTCASESFOUND_PROPERTY
maven property to use to skip start/stop/tests if no tests exist -
APPLICATION_TYPE
Application packaging and type -
JAVA_TYPE
Java packaging and type -
EVENTFLOW_TYPE
EventFlow packaging and type -
LIVEVIEW_TYPE
LiveView packaging and type -
TCS_TYPE
Streaming Web flow packaging and type -
REPORTS_DIRECTORY
system property for reports -
IMPORT_DIRECTORY
Directory used to import other Eventflow fragments
-
-
Constructor Details
-
PackageLiveViewFragmentMojo
public PackageLiveViewFragmentMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getAdminService
- Returns:
- The administration service
-
getBuildService
- Returns:
- The build service
-
getContext
- Returns:
- The Runtime Administration context
-
prechecks
public void prechecks()Check environment before running mojo
-