osgi-deployment:package

Full name:

net.sourceforge.mvn-dp-plugin:osgi-deployment-maven-plugin:0.1.3:package

Description:

Create an OSGi deployment package from Maven project.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
basedir File - The directory for the pom.
buildDirectory String - The directory for the generated JAR.
deploymentPackage DeploymentPackageInfo - The infos for the deployment-package.
localRepository ArtifactRepository - The local repository used to resolve artifacts.
ouputDirectory File - The directory for the generated bundles.
remoteRepositories List - The remote repositories used to resolve artifacts.
supportedProjectTypes List - Project types which this plugin supports.
writeExtraData boolean - Flag that indicates if the manifest of the resulting deployment-package should contain extra data like "Created-By, Creation-Date, ...".

Optional Parameters

Name Type Since Description
manifestLocation File - Directory where the manifest will be written. Default value is: ${project.build.outputDirectory}/META-INF.

Parameter Details

basedir :

The directory for the pom.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}

buildDirectory :

The directory for the generated JAR.

  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.build.directory}

deploymentPackage :

The infos for the deployment-package.

  • Type: net.sourceforge.osgi.deployment.maven.container.DeploymentPackageInfo
  • Required: Yes

localRepository :

The local repository used to resolve artifacts.

  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: Yes
  • Expression: ${localRepository}

manifestLocation :

Directory where the manifest will be written.

  • Type: java.io.File
  • Required: No
  • Expression: ${manifestLocation}
  • Default: ${project.build.outputDirectory}/META-INF

ouputDirectory :

The directory for the generated bundles.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.outputDirectory}

remoteRepositories :

The remote repositories used to resolve artifacts.

  • Type: java.util.List
  • Required: Yes
  • Expression: ${project.remoteArtifactRepositories}

supportedProjectTypes :

Project types which this plugin supports.

  • Type: java.util.List
  • Required: Yes

writeExtraData :

Flag that indicates if the manifest of the resulting deployment-package should contain extra data like "Created-By, Creation-Date, ...".

  • Type: boolean
  • Required: Yes