Author: sebb Date: Sat Mar 13 17:05:40 2010 New Revision: 922613 URL: http://svn.apache.org/viewvc?rev=922613&view=rev Log: Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd
Modified: commons/proper/commons-parent/trunk/pom.xml Modified: commons/proper/commons-parent/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=922613&r1=922612&r2=922613&view=diff ============================================================================== --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Sat Mar 13 17:05:40 2010 @@ -298,6 +298,8 @@ <instructions> <!-- stops the "uses" clauses being added to "Export-Package" manifest entry --> <_nouses>true</_nouses> + <!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd --> + <_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME,JAVA_1_5_HOME,JAVA_1_6_HOME</_removeheaders> <Bundle-SymbolicName>${commons.osgi.symbolicName}</Bundle-SymbolicName> <Export-Package>${commons.osgi.export}</Export-Package> <Private-Package>${commons.osgi.private}</Private-Package> @@ -652,6 +654,9 @@ </properties> </profile> + <!-- N.B. when adding new java profiles, be sure to update + the _removeheaders list in the maven_bundle_plugin configuration --> + <!-- Profile to build all Commons "proper" components.