Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for 
change notification.

The following page has been changed by CarstenZiegeler:
http://wiki.apache.org/commons/CommonsOsgi

------------------------------------------------------------------------------
   * {{{<extensions>true</extensions>}}} needs to be specified otherwise the 
{{{ <packaging>bundle</packaging> }}} is not recognized and causes an error 
with the message ''Cannot find lifecycle mapping for packaging '''bundle'''''
   * {{{<excludeDependencies>true</excludeDependencies>}}} prevents all the 
component's dependencies classes being included in the jar
   * Other '''''Manifest''''' entries are inherited from the commons-parent pom
- 
+  * Depending on the nature/structure of the project, some packages might 
contain private classes that are not meant to be used by client code. In these 
cases, {{{<Export-Package>}}} should list all public packages while 
{{{<Private-Package>}}} should contain the private packages.
  === Configuring via the jar plugin ===
  
  {{{
@@ -124, +124 @@

          </configuration>
        </plugin>
  }}}
+ '''Notes:'''
+  * As you can see by the example, you should always import everything you 
export.
+  * The note about private packages from above applies here of course as well.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to