jbi:jbi-shared-library

A Mojo used to build the jbi shared library zip file

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: runtime
  • Automatically executes within the lifecycle phase: package

Required Parameters

Name Type Description
jarName String The name of the generated war.
jbiSourceDirectory File Single directory for extra files to include in the JBI component.
outputDirectory File The directory for the generated JBI component.
sharedLibraryName String The name of the generated war.
workDirectory File Directory that resources are copied to during the build.

Optional Parameters

Name Type Description
archive MavenArchiveConfiguration The maven archive configuration to use.
artifactMetadataSource ArtifactMetadataSource No description.
factory ArtifactFactory No description.
localRepo ArtifactRepository No description. Default value is ${localRepository}.
projectBuilder MavenProjectBuilder No description.
projectHelper MavenProjectHelper Maven ProjectHelper
remoteRepos List No description. Default value is ${project.remoteArtifactRepositories}.
resolver ArtifactResolver No description.

Parameter Details

archive The maven archive configuration to use.
  • Type: org.apache.maven.archiver.MavenArchiveConfiguration
  • Required: No

artifactMetadataSource No Description.
  • Type: org.apache.maven.artifact.metadata.ArtifactMetadataSource
  • Required: No

factory No Description.
  • Type: org.apache.maven.artifact.factory.ArtifactFactory
  • Required: No

jarName The name of the generated war.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.artifactId}-${project.version}.jar

jbiSourceDirectory Single directory for extra files to include in the JBI component.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/src/main/jbi

localRepo No Description.
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Default: ${localRepository}

outputDirectory The directory for the generated JBI component.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}

projectBuilder No Description.
  • Type: org.apache.maven.project.MavenProjectBuilder
  • Required: No

projectHelper Maven ProjectHelper
  • Type: org.apache.maven.project.MavenProjectHelper
  • Required: No

remoteRepos No Description.
  • Type: java.util.List
  • Required: No
  • Default: ${project.remoteArtifactRepositories}

resolver No Description.
  • Type: org.apache.maven.artifact.resolver.ArtifactResolver
  • Required: No

sharedLibraryName The name of the generated war.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.artifactId}-${project.version}.zip

workDirectory Directory that resources are copied to during the build.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/${project.artifactId}-${project.version}-installer