Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • bundle - build an OSGi bundle jar for the current project
    configuration options:
    • manifestLocation defaults to ${project.build.outputDirectory}/META-INF
    • unpackBundle unpack bundle contents to output directory, defaults to false
    • excludeDependencies comma-separated list of dependency artifactIds to exclude from the classpath passed to Bnd (use "true" to exclude everything)
    • classifier attach bundle to the project using the given classifier
    • supportedProjectTypes defaults to "jar","bundle"classifier attach bundle to the project using the given classifier
  • bundleall - build OSGi bundle jars for all transitive dependencies
    configuration options:
    • wrapImportPackage defaults to "*"
    • supportedProjectTypes defaults to "jar","bundle"wrapImportPackage defaults to "*"
  • wrap - as above, but limited to the first level of dependencies
    configuration options:
    • wrapImportPackage defaults to "*"
    • supportedProjectTypes defaults to "jar","bundle"
    • wrapImportPackage defaults to "*"
  • manifest - create an OSGi manifest for the current project
    configuration options:
    • manifestLocation defaults to ${project.build.outputDirectory}/META-INF
    • supportedProjectTypes defaults to "jar","bundle"
  • install - adds the current bundle project to the local OBR
    configuration options:
    • obrRepository path to local OBR, defaults to <local-maven-repository>/repository.xml
    • supportedProjectTypes defaults to "jar","bundle"

More GOALs are available in the 1.4.0 release:

...

  • deploy - adds the current bundle project to a remote OBR
    configuration options:
    • remoteOBR name of remote OBR, defaults to NONE (which means no remote OBR deployment)
    • obrRepository used when the remoteOBR name is blank, defaults to repository.xml
    • prefixUrl optional public URL prefix for the remote repository
    • bundleUrl optional public URL where the bundle has been deployed
    • altDeploymentRepository alternative remote repository, id::layout::url
    • obrDeploymentRepository optional OBR specific deployment repository.
    • ignoreLock ignore remote locking when updating the OBR
    • supportedProjectTypes defaults to "jar","bundle"
  • deploy-file - adds a local bundle file to a remote OBR
    configuration options:
    • remoteOBR name of remote OBR, defaults to an empty string
    • obrRepository used when the remoteOBR name is blank, defaults to repository.xml
    • repositoryId optional repository id, used to lookup authentication settings
    • url remote repository transport URL, like
      No Format
      scpexe://host/path/to/obr
      
    • bundleUrl public URL of deployed bundle, like
      No Format
      http://www.foo.org/bundles/foo.jar
      
    • groupId Maven groupId for the bundle, taken from pomFile if given
    • artifactId Maven artifactId for the bundle, taken from pomFile if given
    • version Maven version for the bundle, taken from pomFile if given
    • packaging Maven packaging type for the bundle, taken from pomFile if given
    • classifier Maven classifier type, defaults to none
    • pomFile optional Pom file describing the bundle
    • file bundle file, defaults to the bundle from the local Maven repository
    • obrXml optional additional properties for the bundle
    • ignoreLock ignore remote locking when updating the OBR
  • clean - cleans the local OBR, removing missing bundles
    configuration options:
    • obrRepository path to local OBR, defaults to <local-maven-repository>/repository.xml
  • remote-clean - cleans a remote OBR, removing missing bundles
    configuration options:
    • remoteOBR name of remote OBR, defaults to NONE (which means no remote cleaning)
    • obrRepository used when the remoteOBR name is blank, defaults to repository.xml
    • prefixUrl optional public URL prefix for the remote repository
    • altDeploymentRepository alternative remote repository, id::layout::url
    • obrDeploymentRepository optional OBR specific deployment repository.
    • ignoreLock ignore remote locking when updating the OBR

There are also new instructions available from the underlying BND tool, which continues to be improved independently; for the latest see BND documentation.

...