WrenSecurity / wrenam

Community fork of OpenAM, an authentication and authorization system originally developed by ForgeRock.
Other
43 stars 27 forks source link

Errors during M1 release #83

Closed pavelhoral closed 1 year ago

pavelhoral commented 1 year ago

I was not able to properly deploy M1 release duo to errors in JavaDoc and due to some invalid configuration in Client SDK module.

Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.3.0:jar (default-jar) on project openam-clientsdk: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them.

To resolve this issue two things have to happen:

pavelhoral commented 1 year ago

Seems that JavaDoc throws errors only on Java 11. So temporary workaround is to build and release with Java 17.

pavelhoral commented 1 year ago

Full build is now passing even with release profiles (full-release, enforce and sign). I consider this issue resolved.

pavelhoral commented 1 year ago

This issue is still not solved due to openam-clientsdk module. It complains about duplicate artifact during mvn release:perform.

pavelhoral commented 1 year ago

I have removed custom release goals and M5 completed without any error.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  40:45 min
[INFO] Finished at: 2023-07-17T16:55:16+02:00
[INFO] ------------------------------------------------------------------------