blob: feb2e32c919b021039b1b8745c56697f84b7bc75 [file] [log] [blame]
Stuart McCulloch55213332011-07-05 11:48:22 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Stuart McCulloch8f9c4652011-11-28 16:39:12 +00002<!-- Generated by Apache Maven Doxia at Nov 28, 2011 -->
Stuart McCulloch55213332011-07-05 11:48:22 +00003<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Stuart McCulloch55213332011-07-05 11:48:22 +00004 <head>
Stuart McCulloch55213332011-07-05 11:48:22 +00005 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Stuart McCulloch55213332011-07-05 11:48:22 +00006 <title>Maven Bundle Plugin -
7 bundle:bundle</title>
Stuart McCulloch55213332011-07-05 11:48:22 +00008 <style type="text/css" media="all">
Stuart McCulloch55213332011-07-05 11:48:22 +00009 @import url("./css/maven-base.css");
Stuart McCulloch55213332011-07-05 11:48:22 +000010 @import url("./css/maven-theme.css");
Stuart McCulloch55213332011-07-05 11:48:22 +000011 @import url("./css/site.css");
Stuart McCulloch55213332011-07-05 11:48:22 +000012 </style>
Stuart McCulloch55213332011-07-05 11:48:22 +000013 <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
Stuart McCulloch8f9c4652011-11-28 16:39:12 +000014 <meta name="Date-Revision-yyyymmdd" content="20111128" />
Stuart McCulloch55213332011-07-05 11:48:22 +000015 <meta http-equiv="Content-Language" content="en" />
Stuart McCulloch55213332011-07-05 11:48:22 +000016
Stuart McCulloch55213332011-07-05 11:48:22 +000017 </head>
Stuart McCulloch55213332011-07-05 11:48:22 +000018 <body class="composite">
Stuart McCulloch55213332011-07-05 11:48:22 +000019 <div id="banner">
Stuart McCulloch55213332011-07-05 11:48:22 +000020 <div id="bannerLeft">
Stuart McCulloch55213332011-07-05 11:48:22 +000021 Maven Bundle Plugin
Stuart McCulloch55213332011-07-05 11:48:22 +000022 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000023 <div class="clear">
Stuart McCulloch55213332011-07-05 11:48:22 +000024 <hr/>
Stuart McCulloch55213332011-07-05 11:48:22 +000025 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000026 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000027 <div id="breadcrumbs">
Stuart McCulloch55213332011-07-05 11:48:22 +000028
Stuart McCulloch55213332011-07-05 11:48:22 +000029
Stuart McCulloch55213332011-07-05 11:48:22 +000030 <div class="xleft">
Stuart McCulloch8f9c4652011-11-28 16:39:12 +000031 <span id="publishDate">Last Published: 2011-11-28</span>
32 &nbsp;| <span id="projectVersion">Version: 2.4.0-SNAPSHOT</span>
Stuart McCulloch55213332011-07-05 11:48:22 +000033 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000034 <div class="xright">
Stuart McCulloch55213332011-07-05 11:48:22 +000035
Stuart McCulloch55213332011-07-05 11:48:22 +000036 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000037 <div class="clear">
Stuart McCulloch55213332011-07-05 11:48:22 +000038 <hr/>
Stuart McCulloch55213332011-07-05 11:48:22 +000039 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000040 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000041 <div id="leftColumn">
Stuart McCulloch55213332011-07-05 11:48:22 +000042 <div id="navcolumn">
Stuart McCulloch55213332011-07-05 11:48:22 +000043
Stuart McCulloch55213332011-07-05 11:48:22 +000044
Stuart McCulloch55213332011-07-05 11:48:22 +000045 <h5>Overview</h5>
Stuart McCulloch55213332011-07-05 11:48:22 +000046 <ul>
Stuart McCulloch55213332011-07-05 11:48:22 +000047 <li class="none">
Stuart McCulloch55213332011-07-05 11:48:22 +000048 <a href="index.html" title="Introduction">Introduction</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000049 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000050 <li class="none">
Stuart McCulloch55213332011-07-05 11:48:22 +000051 <a href="plugin-info.html" title="Goals">Goals</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000052 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000053 <li class="none">
Stuart McCulloch55213332011-07-05 11:48:22 +000054 <a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Maven+Bundle+Plugin+%28BND%29" class="externalLink" title="Wiki">Wiki</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000055 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000056 <li class="none">
Stuart McCulloch55213332011-07-05 11:48:22 +000057 <a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Bundle+Plugin+FAQ" class="externalLink" title="FAQ">FAQ</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000058 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000059 <li class="none">
Stuart McCulloch55213332011-07-05 11:48:22 +000060 <a href="jira-report.html" title="Release Notes">Release Notes</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000061 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000062 </ul>
Stuart McCulloch55213332011-07-05 11:48:22 +000063 <h5>Project Documentation</h5>
Stuart McCulloch55213332011-07-05 11:48:22 +000064 <ul>
Stuart McCulloch55213332011-07-05 11:48:22 +000065 <li class="collapsed">
Stuart McCulloch55213332011-07-05 11:48:22 +000066 <a href="project-info.html" title="Project Information">Project Information</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000067 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000068 <li class="collapsed">
Stuart McCulloch55213332011-07-05 11:48:22 +000069 <a href="project-reports.html" title="Project Reports">Project Reports</a>
Stuart McCulloch55213332011-07-05 11:48:22 +000070 </li>
Stuart McCulloch55213332011-07-05 11:48:22 +000071 </ul>
Stuart McCulloch55213332011-07-05 11:48:22 +000072 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
Stuart McCulloch55213332011-07-05 11:48:22 +000073 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
Stuart McCulloch55213332011-07-05 11:48:22 +000074 </a>
Stuart McCulloch55213332011-07-05 11:48:22 +000075
Stuart McCulloch55213332011-07-05 11:48:22 +000076
Stuart McCulloch55213332011-07-05 11:48:22 +000077 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000078 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +000079 <div id="bodyColumn">
Stuart McCulloch55213332011-07-05 11:48:22 +000080 <div id="contentBox">
Stuart McCulloch55213332011-07-05 11:48:22 +000081
82
83 <div class="section"><h2>bundle:bundle<a name="bundle:bundle"></a></h2>
84 <p><b>Full name</b>:</p>
Stuart McCulloch8f9c4652011-11-28 16:39:12 +000085 <p>org.apache.felix:maven-bundle-plugin:2.4.0-SNAPSHOT:bundle</p>
Stuart McCulloch55213332011-07-05 11:48:22 +000086 <p><b>Description</b>:</p>
87 <div>Create an OSGi bundle from Maven project</div>
88 <p><b>Attributes</b>:</p>
89 <ul>
90 <li>Requires a Maven project to be executed.</li>
91 <li>Requires dependency resolution of artifacts in scope: <tt>test</tt>.</li>
92 <li>The goal is thread-safe and supports parallel builds.</li>
93 <li>Binds by default to the lifecycle phase: <tt>package</tt>.</li>
94 </ul>
95 <div class="section"><h3>Required Parameters<a name="Required_Parameters"></a></h3>
96 <table class="bodyTable" border="0">
97 <tr class="a">
98 <th>Name</th>
99 <th>Type</th>
100 <th>Since</th>
101 <th>Description</th>
102 </tr>
103 <tr class="b">
104 <td><b><a href="#buildDirectory">buildDirectory</a></b></td>
105 <td><tt>String</tt></td>
106 <td><tt>-</tt></td>
107 <td>The directory for the generated JAR.<br /></td>
108 </tr>
109 <tr class="a">
110 <td><b><a href="#outputDirectory">outputDirectory</a></b></td>
111 <td><tt>File</tt></td>
112 <td><tt>-</tt></td>
113 <td>The directory for the generated bundles.<br /></td>
114 </tr>
115 </table>
116 </div>
117 <div class="section"><h3>Optional Parameters<a name="Optional_Parameters"></a></h3>
118 <table class="bodyTable" border="0">
119 <tr class="a">
120 <th>Name</th>
121 <th>Type</th>
122 <th>Since</th>
123 <th>Description</th>
124 </tr>
125 <tr class="b">
126 <td><b><a href="#archive">archive</a></b></td>
127 <td><tt>MavenArchiveConfiguration</tt></td>
128 <td><tt>-</tt></td>
129 <td>The archive configuration to use.<br /></td>
130 </tr>
131 <tr class="a">
132 <td><b><a href="#classifier">classifier</a></b></td>
133 <td><tt>String</tt></td>
134 <td><tt>-</tt></td>
135 <td>Classifier type of the bundle to be installed. For example,
136&quot;jdk14&quot;. Defaults to none which means this is the project's main
137bundle.<br /></td>
138 </tr>
139 <tr class="b">
140 <td><b><a href="#dumpClasspath">dumpClasspath</a></b></td>
141 <td><tt>File</tt></td>
142 <td><tt>-</tt></td>
143 <td>File where the BND class-path will be dumped<br /></td>
144 </tr>
145 <tr class="a">
146 <td><b><a href="#dumpInstructions">dumpInstructions</a></b></td>
147 <td><tt>File</tt></td>
148 <td><tt>-</tt></td>
149 <td>File where the BND instructions will be dumped<br /></td>
150 </tr>
151 <tr class="b">
152 <td><b><a href="#excludeDependencies">excludeDependencies</a></b></td>
153 <td><tt>String</tt></td>
154 <td><tt>-</tt></td>
155 <td>Comma separated list of artifactIds to exclude from the dependency
156classpath passed to BND (use &quot;true&quot; to exclude everything)<br /></td>
157 </tr>
158 <tr class="a">
159 <td><b><a href="#instructions">instructions</a></b></td>
160 <td><tt>Map</tt></td>
161 <td><tt>-</tt></td>
162 <td>The BND instructions for the bundle.<br /></td>
163 </tr>
164 <tr class="b">
165 <td><b><a href="#manifestLocation">manifestLocation</a></b></td>
166 <td><tt>File</tt></td>
167 <td><tt>-</tt></td>
168 <td>Directory where the manifest will be written<br /><b>Default value is</b>: <tt>${project.build.outputDirectory}/META-INF</tt>.</td>
169 </tr>
170 <tr class="a">
171 <td><b><a href="#supportedProjectTypes">supportedProjectTypes</a></b></td>
172 <td><tt>List</tt></td>
173 <td><tt>-</tt></td>
174 <td>Project types which this plugin supports.<br /></td>
175 </tr>
176 <tr class="b">
177 <td><b><a href="#unpackBundle">unpackBundle</a></b></td>
178 <td><tt>boolean</tt></td>
179 <td><tt>-</tt></td>
180 <td>When true, unpack the bundle contents to the outputDirectory<br /></td>
181 </tr>
182 </table>
183 </div>
184 <div class="section"><h3>Parameter Details<a name="Parameter_Details"></a></h3>
185 <p><b><a name="archive">archive</a>:</b></p>
186 <div>The archive configuration to use.</div>
187 <ul>
188 <li><b>Type</b>: <tt>org.apache.maven.archiver.MavenArchiveConfiguration</tt></li>
189 <li><b>Required</b>: <tt>No</tt></li>
190 </ul><hr /><p><b><a name="buildDirectory">buildDirectory</a>:</b></p>
191 <div>The directory for the generated JAR.</div>
192 <ul>
193 <li><b>Type</b>: <tt>java.lang.String</tt></li>
194 <li><b>Required</b>: <tt>Yes</tt></li>
195 <li><b>Expression</b>: <tt>${project.build.directory}</tt></li>
196 </ul><hr /><p><b><a name="classifier">classifier</a>:</b></p>
197 <div>Classifier type of the bundle to be installed. For example,
198&quot;jdk14&quot;. Defaults to none which means this is the project's main
199bundle.</div>
200 <ul>
201 <li><b>Type</b>: <tt>java.lang.String</tt></li>
202 <li><b>Required</b>: <tt>No</tt></li>
203 </ul><hr /><p><b><a name="dumpClasspath">dumpClasspath</a>:</b></p>
204 <div>File where the BND class-path will be dumped</div>
205 <ul>
206 <li><b>Type</b>: <tt>java.io.File</tt></li>
207 <li><b>Required</b>: <tt>No</tt></li>
208 <li><b>Expression</b>: <tt>${dumpClasspath}</tt></li>
209 </ul><hr /><p><b><a name="dumpInstructions">dumpInstructions</a>:</b></p>
210 <div>File where the BND instructions will be dumped</div>
211 <ul>
212 <li><b>Type</b>: <tt>java.io.File</tt></li>
213 <li><b>Required</b>: <tt>No</tt></li>
214 <li><b>Expression</b>: <tt>${dumpInstructions}</tt></li>
215 </ul><hr /><p><b><a name="excludeDependencies">excludeDependencies</a>:</b></p>
216 <div>Comma separated list of artifactIds to exclude from the dependency
217classpath passed to BND (use &quot;true&quot; to exclude everything)</div>
218 <ul>
219 <li><b>Type</b>: <tt>java.lang.String</tt></li>
220 <li><b>Required</b>: <tt>No</tt></li>
221 <li><b>Expression</b>: <tt>${excludeDependencies}</tt></li>
222 </ul><hr /><p><b><a name="instructions">instructions</a>:</b></p>
223 <div>The BND instructions for the bundle.</div>
224 <ul>
225 <li><b>Type</b>: <tt>java.util.Map</tt></li>
226 <li><b>Required</b>: <tt>No</tt></li>
227 </ul><hr /><p><b><a name="manifestLocation">manifestLocation</a>:</b></p>
228 <div>Directory where the manifest will be written</div>
229 <ul>
230 <li><b>Type</b>: <tt>java.io.File</tt></li>
231 <li><b>Required</b>: <tt>No</tt></li>
232 <li><b>Expression</b>: <tt>${manifestLocation}</tt></li>
233 <li><b>Default</b>: <tt>${project.build.outputDirectory}/META-INF</tt></li>
234 </ul><hr /><p><b><a name="outputDirectory">outputDirectory</a>:</b></p>
235 <div>The directory for the generated bundles.</div>
236 <ul>
237 <li><b>Type</b>: <tt>java.io.File</tt></li>
238 <li><b>Required</b>: <tt>Yes</tt></li>
239 <li><b>Expression</b>: <tt>${project.build.outputDirectory}</tt></li>
240 </ul><hr /><p><b><a name="supportedProjectTypes">supportedProjectTypes</a>:</b></p>
241 <div>Project types which this plugin supports.</div>
242 <ul>
243 <li><b>Type</b>: <tt>java.util.List</tt></li>
244 <li><b>Required</b>: <tt>No</tt></li>
245 </ul><hr /><p><b><a name="unpackBundle">unpackBundle</a>:</b></p>
246 <div>When true, unpack the bundle contents to the outputDirectory</div>
247 <ul>
248 <li><b>Type</b>: <tt>boolean</tt></li>
249 <li><b>Required</b>: <tt>No</tt></li>
250 <li><b>Expression</b>: <tt>${unpackBundle}</tt></li>
251 </ul>
252 </div>
253 </div>
254
255
Stuart McCulloch55213332011-07-05 11:48:22 +0000256 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +0000257 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +0000258 <div class="clear">
Stuart McCulloch55213332011-07-05 11:48:22 +0000259 <hr/>
Stuart McCulloch55213332011-07-05 11:48:22 +0000260 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +0000261 <div id="footer">
Stuart McCulloch55213332011-07-05 11:48:22 +0000262 <div class="xright">Copyright &#169; 2006-2011
Stuart McCulloch55213332011-07-05 11:48:22 +0000263 <a href="http://www.apache.org/">The Apache Software Foundation</a>.
Stuart McCulloch55213332011-07-05 11:48:22 +0000264 All Rights Reserved.
Stuart McCulloch55213332011-07-05 11:48:22 +0000265
Stuart McCulloch55213332011-07-05 11:48:22 +0000266 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +0000267 <div class="clear">
Stuart McCulloch55213332011-07-05 11:48:22 +0000268 <hr/>
Stuart McCulloch55213332011-07-05 11:48:22 +0000269 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +0000270 </div>
Stuart McCulloch55213332011-07-05 11:48:22 +0000271 </body>
Stuart McCulloch55213332011-07-05 11:48:22 +0000272</html>