Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during M1 release #83

Closed
pavelhoral opened this issue Feb 22, 2023 · 4 comments
Closed

Errors during M1 release #83

pavelhoral opened this issue Feb 22, 2023 · 4 comments
Assignees
Labels

Comments

@pavelhoral
Copy link
Member

pavelhoral commented Feb 22, 2023

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:

  • mvn javadoc:javadoc has to run without any error
  • there has to be no duplicate artifacts attached as can be seen in the error above
@pavelhoral
Copy link
Member Author

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

karelmaxa added a commit to karelmaxa/wrenam that referenced this issue Mar 7, 2023
pavelhoral added a commit that referenced this issue Mar 7, 2023
@pavelhoral
Copy link
Member Author

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

@pavelhoral
Copy link
Member Author

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

@pavelhoral pavelhoral reopened this Jun 26, 2023
@pavelhoral
Copy link
Member Author

pavelhoral commented Jul 17, 2023

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] ------------------------------------------------------------------------

harrdou pushed a commit to harrdou/wrenam that referenced this issue Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants