Versions Compared

Key

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

...

By default matched dependencies are embedded in the bundle under as groupId/artifactId-version.jar. This behaviour can be modified using the following instructions:

  • <Embed-StripGroup>true<StripVersion>true</Embed-StripGroup>StripVersion> - removes the version from the file (ie. groupId/artifactId.jar)
  • <Embed-StripVersion>true<StripGroup>false</Embed-StripVersion>StripGroup> - removes adds the groupId as a subdirectory (ie. groupId/artifactId-version.jar)
  • <Embed-Directory>directory</Embed-Directory> - adds a subdirectory (ie. directory/groupId/artifactId-version.jar)

Normally the plugin only checks direct dependencies, but this can be changed to include the complete set of transitive dependencies with the following option:

...