jtoolprovider-plugin
moditect
Our great sponsors
jtoolprovider-plugin | moditect | |
---|---|---|
5 | 10 | |
39 | 522 | |
- | 1.5% | |
0.0 | 7.8 | |
about 3 years ago | 6 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jtoolprovider-plugin
-
New tool for packaging JVM apps, an alternative to jpackage
FWIW I created this repository a while ago - https://github.com/wiverson/maven-jpackage-template - as a template for generating macOS, Windows, and Linux installer packages using GitHub Actions. If you pop in signing credentials as GitHub secrets it will sign, notarize, and staple the macOS version. I also created a Maven plugin to make it easier to work with jpackage, jlink, etc. https://github.com/wiverson/jtoolprovider-plugin
-
How do I turn a runtime image into an exe?
https://github.com/wiverson/jtoolprovider-plugin can do this also I think.
-
Java Modules - are they common and should we use them?
There are plugins coming along that help out, e.g. the moditect stuff and the jtoolprovider plugin I wrote (bridges Maven and jdeps/jlink/jpackage/etc).
moditect
-
Java Modules in Real Life
And then you have to use moditect to generate a module-info.java and this is again because the annotation processor will pick up the provides Processor with YourAnnotationProcessor.
-
Modularization (modular-info.java), maven, and testing misery
Maybe you've somehow missed https://maven.apache.org/plugins/maven-jlink-plugin/ https://github.com/moditect/moditect https://github.com/beryx/badass-jlink-plugin https://github.com/sormuras/testing-in-the-modular-world
-
JRE & JDK implementation mess
Yes, you are right. jlink does not work with automatic modules. But using that plugin https://github.com/moditect/moditect you can easily transform almost any java library into a named module. It is a shame there are libraries under development, that have not been adapted to the java modular system.
- Forking google
-
Minvio - a simple Java graphical app framework.
FWIW, I've had a lot more issues with reflective access when using GraalVM. Reflection is mainly a problem with modules if you forget to 'open' your modules which is easy to fix in many cases. There's also moditect if the library author still doesn't want to learn how to include a module-info in the legacy compatible jar.
-
Persism 1.0.1 released - A zero ceremony ORM for Java
Or apply the https://github.com/moditect/moditect plugin and keep the build in JDK8. Let the plugin create the module descriptors without configuring JDK toolchains.
-
Java Modules - are they common and should we use them?
You can use the https://github.com/moditect/moditect maven plugin to add the module-info to the third-party jars
-
JPMS Migration Playground
The next solution, which is the one I'm writing about. Is to modularize foo's jar, this is easily accomplished using the moditect plugin. But it can be tricky since I don't have, nor do I need, bar, and I prefer doing most of the work in build time and not manually.
-
Distribution of JVM desktop applications
It's possible to add this information during one's build even though the procedure is error-prone and boring. The description on how to achieve this deserves a post on its own. For more information, please check this Oracle magazine article. Suffice to say here that it makes heavy use of the Moditect Maven plugin.
What are some alternatives?
maven-jpackage-template - Sample project illustrating building nice, small cross-platform JavaFX or Swing desktop apps with native installers while still using the standard Maven dependency system.
os-maven-plugin - A Maven plugin that sets various useful properties detected from ${os.name} and ${os.arch} properties.
badass-jlink-plugin - Create a custom runtime image of your modular application
packr - Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
piranha - Piranha - a modern cloud runtime
StockTracker - NSE and BSE Stock quote, graph and tickers
Permazen - Language-Natural Persistence Layer for Java
Feather - Lightweight dependency injection for Java and Android (JSR-330)
avaje-inject - Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"
TicTacToe - JavaFX Game. MOOC
Hydra - An annoying JavaFx application that can be built with JPackage and Gradle
sign-maven-plugin - Maven plugin which creates Open PGP / GPG signatures for all of the project's artifacts