https://github.com/bsorrentino/mrjar-spi-poc
Using Java Multi Release Jar to support SPI in Java8 and java9 (and above)
https://github.com/bsorrentino/mrjar-spi-poc
Last synced: 13 days ago
JSON representation
Using Java Multi Release Jar to support SPI in Java8 and java9 (and above)
- Host: GitHub
- URL: https://github.com/bsorrentino/mrjar-spi-poc
- Owner: bsorrentino
- License: mit
- Created: 2020-12-11T19:28:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-11T19:39:44.000Z (almost 5 years ago)
- Last Synced: 2025-07-14T04:43:09.421Z (3 months ago)
- Language: Java
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mrjar-spi-poc
Using **Java Multi Release Jar** [JEP-238](http://openjdk.java.net/jeps/238) to support [SPI](https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html) in **Java8**, **Java9** and above.
**Note**
> This project has been developed as Proof Of Concept to resolve issue [224](https://github.com/bsorrentino/maven-confluence-plugin/issues/224) in project [maven-confluence-plugin](https://github.com/bsorrentino/maven-confluence-plugin)
## Build
```
mvn -Pmrjar clean install
```
## Run either java8 or above
```
mvn -pl mrjar-spi-main -Pmrjar exec:java -Dexec.mainClass=org.bsc.main.Main
```
## Articles
* [Multi-Release Jar Files](https://www.baeldung.com/java-multi-release-jar)