Hi,
Following up on my “API cleaning” theme, here some more things:
This one is from 2020 and more relevant than ever. Jakarta EE APIs need to be reproducible. I think this also applies to all APIs, not just the platform ones.
- JPMS automatic modules; [WARN] ***************************************************************************************************************************************************************************************************** [WARN] * Required filename-based automodules detected: [jakarta.faces-api-4.0.1.jar]. Please don't publish this project to a public artifact repository! * [WARN] *****************************************************************************************************************************************************************************************************
The above warning shows up for all Jakarta APIs. There is an easy way to solve it as described here:
Gist of it: <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>jakarta.faces-api</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
This also will need to be done for all the APIs
|