You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by GitBox <gi...@apache.org> on 2022/10/05 20:05:05 UTC

[GitHub] [wicket] mattrpav commented on a diff in pull request #540: [WICKET-6999] Update bundle plugin to support slf4j [1.7,3)

mattrpav commented on code in PR #540:
URL: https://github.com/apache/wicket/pull/540#discussion_r985796876


##########
pom.xml:
##########
@@ -891,18 +894,19 @@
 					<extensions>true</extensions>
 					<executions>
 						<execution>
-							<id>bundle-manifest</id>
-							<phase>process-classes</phase>
+							<id>default-bundle</id>
+							<phase>package</phase>
 							<goals>
-								<goal>manifest</goal>
+								<goal>bundle</goal>
 							</goals>
 							<configuration>
 								<instructions>
-									<Export-Package>*</Export-Package>
-									<Import-Package>org.apache.wicket*,
-										org.junit.jupiter*</Import-Package>
-									<DynamicImport-Package>*</DynamicImport-Package>
+									<Require-Capability>osgi.ee;filter:="(&amp;(osgi.ee=JavaSE)(version=11.0))"</Require-Capability>
+									<Export-Package>${osgi.export.package}</Export-Package>
+									<Import-Package>${osgi.import.package}</Import-Package>
+									<DynamicImport-Package>${osgi.dynamicimport.package}</DynamicImport-Package>
 									<_nouses>true</_nouses>
+									<!-- _noee>true</_noee -->

Review Comment:
   > OsgiClashingPackagesTest.collectProjectPackages() is failing.
   
   I'll look into that.
   
   > <Require-Capability>osgi.ee;filter:="(&amp;(osgi.ee=JavaSE)(version=11.0))"</Require-Capability>
   > This probably should be version 17.0 for master and 11 for wicket-9.x
   
   Does Wicket master have _runtime_ require on JDK 17?
   
   > <!-- _noee>true</_noee -->
   > This could be removed, right ?
   
   This flag would prevent the Require-Capability header from being generated. 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org