commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "CommonsOsgi" by CarstenZiegeler
Date Tue, 22 Jan 2008 08:09:30 GMT
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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message