DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| No Format |
|---|
dependencies ::= clause ( ',' clause ) * clause ::= MATCH ( ';' attr '=' MATCH | ';inline=true' inline ) attr ::= 'groupId' | 'artifactId' | 'version' | 'scope' | 'type' | 'classifier' inline ::= 'true' | 'false' | PATH ( '|' PATH ) * MATCH ::= <globbed regular expressions>expression> PATH ::= <Ant-style path expression> |
The plugin uses the <Embed-Dependency> instruction to transform the project dependencies into <Include-Resource> and <Bundle-ClassPath> clauses, which are then appended to the current set of instructions and passed onto BND. If you want the embedded dependencies to be at the start or middle of <Include-Resource> or <Bundle-ClassPath> then you can use {maven-dependencies}, which will automatically expand to the relevant clauses.
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
<!-- embed all compile and runtime scope dependencies -->
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<!-- embed any dependencies with artifactId junit and scope test -->
<Embed-Dependency>junit;scope=test</Embed-Dependency>
<!-- inline all dependencies, except those with scope test -->
<Embed-Dependency>*;scope=!test;inline=true</Embed-Dependency>
<!-- embed all compile and runtime scope dependencies, except those with artifactIds in the given list -->
<Embed-Dependency>*;scope=compile|runtime;inline=false;artifactId=!cli|lang|runtime|tidy|jsch</Embed-Dependency>
<!-- inline contents of selected folders from all dependencies -->
<Embed-Dependency>*;inline=images/**|icons/**</Embed-Dependency>
|
examples of using {maven-dependencies}:
...