Skip to content

Conversation

@mattrpav
Copy link
Contributor

@mattrpav mattrpav commented Oct 17, 2025

…sure minify runs before bundle plugin

TODO:

  • Test deploying into OSGi runtime environment
  • Test using a decently complicated application

After this change, an unzip of wicket-core-9..-SNAPSHOT.jar has these resources:

% find . -name "*.js" -print
./org/apache/wicket/markup/html/form/CheckSelector.js
./org/apache/wicket/markup/html/form/CheckSelector.min.js
./org/apache/wicket/markup/html/form/upload/FilesSelectedBehavior.min.js
./org/apache/wicket/markup/html/form/upload/MultiFileUploadField.js
./org/apache/wicket/markup/html/form/upload/resource/FileUploadToResourceField.min.js
./org/apache/wicket/markup/html/form/upload/resource/FileUploadToResourceField.js
./org/apache/wicket/markup/html/form/upload/MultiFileUploadField.min.js
./org/apache/wicket/markup/html/form/upload/FilesSelectedBehavior.js
./org/apache/wicket/markup/html/pages/wicket-browser-info.min.js
./org/apache/wicket/markup/html/pages/wicket-browser-info.js
./org/apache/wicket/resource/jquery/jquery-1.12.4.min.js
./org/apache/wicket/resource/jquery/jquery-2.2.4.min.js
./org/apache/wicket/resource/jquery/jquery-1.12.4.js
./org/apache/wicket/resource/jquery/jquery-3.7.1.js
./org/apache/wicket/resource/jquery/jquery-2.2.4.js
./org/apache/wicket/resource/jquery/jquery-3.7.1.min.js
./org/apache/wicket/ajax/res/js/wicket-ajax-jquery.min.js
./org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js

@mattrpav mattrpav self-assigned this Oct 17, 2025
@mattrpav mattrpav changed the title [#7090] Ensure post-process resources are included in the jar, and en… WIP: [#7090] Ensure post-process resources are included in the jar, and en… Oct 17, 2025
@solomax
Copy link
Contributor

solomax commented Oct 18, 2025

I learn something new :))
I believe master also need to be updated accordingly :)
I'll try to check projects at wicketstuff-core in this regards :)

<instructions>
<Export-Package>${osgi.export.package}</Export-Package>
<Import-Package>${osgi.import.package}</Import-Package>
<Include-Resource>${project.build.outputDirectory}, {maven-resources}</Include-Resource>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation is off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants