jbi:embeddedServicemix

Starts a ServiceMix JBI container in embedded mode using the servicemix.xml

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: runtime
  • Invokes the execution of the lifecycle phase compile prior to executing itself.

Required Parameters

Name Type Description
workDirectory File Directory that resources are copied to during the build.

Optional Parameters

Name Type Description
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.
servicemixConfig File No description. Default value is ${basedir}/src/main/resources/servicemix.xml.

Parameter Details

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

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

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

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

servicemixConfig No Description.
  • Type: java.io.File
  • Required: No
  • Default: ${basedir}/src/main/resources/servicemix.xml

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