osgiframework:stop

Full name:

org.ow2.util.maven.osgi:osgiframework-maven-plugin:2.0.0:stop

Description:

Stop an OSGi framework.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 2.0.0.
  • Binds by default to the lifecycle phase: post-integration-test.

Optional Parameters

Name Type Since Description
buildDirectory File 2.0.0 Path of the build directory.
Default value is: ${project.build.directory}.
bundleConfigurationFile File 2.0.0 Bundle configuration file (define bootstrap bundles).
bundleDirectories File[] 2.0.0 List of directories that contains bundles.
configurationFile File 2.0.0 Configuration file.
configurationsFiles File[] 2.0.0 An ordered list of Properties files containing elements of the configuration. They will be merged and resolved together to obtain the final configuration.
debug Debug 2.0.0 Debug the forked JVM for the start of the framework ? (default is false)
excludedBundles String[] 2.0.0 List of bundles to ignore (by their symbolic name).
fork boolean 2.0.0 Fork the JVM for the start of the framework ? (default is false)
Default value is: false.
frameworkDependencies Dependency[] 2.0.0 List of artifacts used as dependencies for the launcher.
jvmProperties Properties 2.0.0 JVM Properties (System properties to set).
modules Module[] 2.0.0 List of Modules that needs to be installed/started.
stopOrderBundles String[] 2.0.0 List of bundles to stop in the given order (by their symbolic name).
userClasspath String[] 2.0.0 List of path for the user Classpath.
waitAfterStop long 2.0.0 Waiting value after the stop.
Default value is: 0.

Parameter Details

buildDirectory:

Path of the build directory.
  • Type: java.io.File
  • Since: 2.0.0
  • Required: No
  • Default: ${project.build.directory}

bundleConfigurationFile:

Bundle configuration file (define bootstrap bundles).
  • Type: java.io.File
  • Since: 2.0.0
  • Required: No

bundleDirectories:

List of directories that contains bundles.
  • Type: java.io.File[]
  • Since: 2.0.0
  • Required: No

configurationFile:

Configuration file.
  • Type: java.io.File
  • Since: 2.0.0
  • Required: No

configurationsFiles:

An ordered list of Properties files containing elements of the configuration. They will be merged and resolved together to obtain the final configuration.
  • Type: java.io.File[]
  • Since: 2.0.0
  • Required: No

debug:

Debug the forked JVM for the start of the framework ? (default is false)
  • Type: org.ow2.util.maven.osgi.launcher.core.Debug
  • Since: 2.0.0
  • Required: No

excludedBundles:

List of bundles to ignore (by their symbolic name).
  • Type: java.lang.String[]
  • Since: 2.0.0
  • Required: No

fork:

Fork the JVM for the start of the framework ? (default is false)
  • Type: boolean
  • Since: 2.0.0
  • Required: No
  • Default: false

frameworkDependencies:

List of artifacts used as dependencies for the launcher.
  • Type: org.ow2.util.maven.osgi.launcher.core.Dependency[]
  • Since: 2.0.0
  • Required: No

jvmProperties:

JVM Properties (System properties to set).
  • Type: java.util.Properties
  • Since: 2.0.0
  • Required: No

modules:

List of Modules that needs to be installed/started.
  • Type: org.ow2.util.maven.osgi.launcher.core.Module[]
  • Since: 2.0.0
  • Required: No

stopOrderBundles:

List of bundles to stop in the given order (by their symbolic name).
  • Type: java.lang.String[]
  • Since: 2.0.0
  • Required: No

userClasspath:

List of path for the user Classpath.
  • Type: java.lang.String[]
  • Since: 2.0.0
  • Required: No

waitAfterStop:

Waiting value after the stop.
  • Type: long
  • Since: 2.0.0
  • Required: No
  • Default: 0