Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
Stuart McCulloch | c2f05b8 | 2012-02-11 19:16:11 +0000 | [diff] [blame^] | 2 | <!-- Generated by Apache Maven Doxia at Feb 11, 2012 --> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 4 | <head> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 6 | <title>Maven Bundle Plugin - Introduction</title> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 7 | <style type="text/css" media="all"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 8 | @import url("./css/maven-base.css"); |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 9 | @import url("./css/maven-theme.css"); |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 10 | @import url("./css/site.css"); |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 11 | </style> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 12 | <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" /> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 13 | <meta name="author" content="Stuart McCulloch" /> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 14 | <meta name="Date-Creation-yyyymmdd" content="20110628" /> |
Stuart McCulloch | c2f05b8 | 2012-02-11 19:16:11 +0000 | [diff] [blame^] | 15 | <meta name="Date-Revision-yyyymmdd" content="20120211" /> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 16 | <meta http-equiv="Content-Language" content="en" /> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 17 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 18 | </head> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 19 | <body class="composite"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 20 | <div id="banner"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 21 | <div id="bannerLeft"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 22 | Maven Bundle Plugin |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 23 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 24 | <div class="clear"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 25 | <hr/> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 26 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 27 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 28 | <div id="breadcrumbs"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 29 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 30 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 31 | <div class="xleft"> |
Stuart McCulloch | c2f05b8 | 2012-02-11 19:16:11 +0000 | [diff] [blame^] | 32 | <span id="publishDate">Last Published: 2012-02-11</span> |
Stuart McCulloch | 8f9c465 | 2011-11-28 16:39:12 +0000 | [diff] [blame] | 33 | | <span id="projectVersion">Version: 2.4.0-SNAPSHOT</span> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 34 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 35 | <div class="xright"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 36 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 37 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 38 | <div class="clear"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 39 | <hr/> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 40 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 41 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 42 | <div id="leftColumn"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 43 | <div id="navcolumn"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 44 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 45 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 46 | <h5>Overview</h5> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 47 | <ul> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 48 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 49 | <strong>Introduction</strong> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 50 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 51 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 52 | <a href="plugin-info.html" title="Goals">Goals</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 53 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 54 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 55 | <a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Maven+Bundle+Plugin+%28BND%29" class="externalLink" title="Wiki">Wiki</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 56 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 57 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 58 | <a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Bundle+Plugin+FAQ" class="externalLink" title="FAQ">FAQ</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 59 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 60 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 61 | <a href="jira-report.html" title="Release Notes">Release Notes</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 62 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 63 | </ul> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 64 | <h5>Project Documentation</h5> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 65 | <ul> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 66 | <li class="expanded"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 67 | <a href="project-info.html" title="Project Information">Project Information</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 68 | <ul> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 69 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 70 | <strong>About</strong> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 71 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 72 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 73 | <a href="dependencies.html" title="Dependencies">Dependencies</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 74 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 75 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 76 | <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 77 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 78 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 79 | <a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 80 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 81 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 82 | <a href="license.html" title="Project License">Project License</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 83 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 84 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 85 | <a href="team-list.html" title="Project Team">Project Team</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 86 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 87 | <li class="none"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 88 | <a href="source-repository.html" title="Source Repository">Source Repository</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 89 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 90 | </ul> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 91 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 92 | <li class="collapsed"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 93 | <a href="project-reports.html" title="Project Reports">Project Reports</a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 94 | </li> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 95 | </ul> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 96 | <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 97 | <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 98 | </a> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 99 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 100 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 101 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 102 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 103 | <div id="bodyColumn"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 104 | <div id="contentBox"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 105 | <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt-format.html --><div class="section"><h2>Maven Bundle Plugin<a name="Maven_Bundle_Plugin"></a></h2><p>This Maven 2 plugin is based on the <a class="externalLink" href="http://www.aqute.biz/Bnd/Bnd/">BND</a> tool from Peter Kriens. The way BND works is by treating your project as a big collection of classes (e.g., project code, dependencies, and the class path). The way you create a bundle with BND is to tell it the content of the bundle's JAR file as a subset of the available classes. This plugin wraps BND to make it work specifically with the Maven 2 project structure and to provide it with reasonable default behavior for Maven 2 projects.</p><div class="section"><h3>Goals Overview<a name="Goals_Overview"></a></h3><p>General Information about the goals.</p><ul><li><a href="./bundle-mojo.html">bundle:bundle</a> Create an OSGi bundle from Maven project. (life-cycle goal)</li><li><a href="./manifest-mojo.html">bundle:manifest</a> Generate an OSGi manifest for this project.</li><li><a href="./cleanVersions-mojo.html">bundle:cleanVersions</a> Convert a group of versions to OSGi format.</li><li><a href="./instructions-mojo.html">bundle:instructions</a> Generate BND instructions for this project.</li><li><a href="./install-mojo.html">bundle:install</a> Installs bundle details in the local OBR repository. (life-cycle goal)</li><li><a href="./deploy-mojo.html">bundle:deploy</a> Deploys bundle details to a remote OBR repository. (life-cycle goal)</li><li><a href="./index-mojo.html">bundle:index</a> Index the content of a maven repository using OBR.</li><li><a href="./install-file-mojo.html">bundle:install-file</a> Installs bundle details in the local OBR repository. (command-line goal)</li><li><a href="./deploy-file-mojo.html">bundle:deploy-file</a> Deploys bundle details to a remote OBR repository. (command-line goal)</li><li><a href="./clean-mojo.html">bundle:clean</a> Clean a local OBR repository by finding and removing missing resources.</li><li><a href="./remote-clean-mojo.html">bundle:remote-clean</a> Clean a remote OBR repository by finding and removing missing resources.</li><li><a href="./ant-mojo.html">bundle:ant</a> Generate Ant script to create the bundle. (you should run ant:ant first)</li></ul></div><div class="section"><h3>Usage<a name="Usage"></a></h3><p>General instructions on how to use the Maven Bundle Plugin can be found on the <a class="externalLink" href="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html">wiki page</a>. Some more specific use cases are described in the examples given below.</p><p>In case you still have questions regarding the plugin's usage, please have a look at the <a class="externalLink" href="http://felix.apache.org/site/apache-felix-bundle-plugin-faq.html">FAQ</a> and feel free to contact the <a class="externalLink" href="http://felix.apache.org/site/mailinglists.html">user mailing list</a>. The posts to the mailing list are archived and could already contain the answer to your question as part of an older thread. Hence, it is also worth browsing/searching the <a class="externalLink" href="http://www.mail-archive.com/users@felix.apache.org/">mail archive</a>.</p><p>If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in our <a href="./issue-tracking.html">issue tracker</a>. When creating a new issue, please provide a comprehensive description of your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are welcome, too. Contributors can check out the project from our <a href="./source-repository.html">source repository</a> and will find supplementary information in the <a class="externalLink" href="http://felix.apache.org/site/development.html">Apache Felix developers guide</a>. </p></div><div class="section"><h3>Examples<a name="Examples"></a></h3><p>To provide you with better understanding on some usages of the Maven Bundle Plugin, you can take a look into the following examples:</p><ul><li>Examples coming soon!</li></ul></div></div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 106 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 107 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 108 | <div class="clear"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 109 | <hr/> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 110 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 111 | <div id="footer"> |
Stuart McCulloch | c2f05b8 | 2012-02-11 19:16:11 +0000 | [diff] [blame^] | 112 | <div class="xright">Copyright © 2006-2012 |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 113 | <a href="http://www.apache.org/">The Apache Software Foundation</a>. |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 114 | All Rights Reserved. |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 115 | |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 116 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 117 | <div class="clear"> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 118 | <hr/> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 119 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 120 | </div> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 121 | </body> |
Stuart McCulloch | 5521333 | 2011-07-05 11:48:22 +0000 | [diff] [blame] | 122 | </html> |