Skip to content

chore: add workaround for sonatype issue with Java 17#1576

Merged
emmileaf merged 1 commit intomainfrom
sonatype-workaround
Feb 9, 2023
Merged

chore: add workaround for sonatype issue with Java 17#1576
emmileaf merged 1 commit intomainfrom
sonatype-workaround

Conversation

@emmileaf
Copy link
Copy Markdown
Contributor

@emmileaf emmileaf commented Feb 8, 2023

To try resolving the promote-step issue observed in our last release, this PR adds the MAVEN_OPTS workaround as suggested by @ddixit14.

Reference to error from nexus-staging-maven-plugin: https://issues.sonatype.org/browse/OSSRH-66257

[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:release (default-cli) on project spring-cloud-previews: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:release failed: No converter available
[ERROR] ---- Debugging information ----
[ERROR] message             : No converter available
[ERROR] type                : java.util.Arrays$ArrayList
[ERROR] converter           : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
[ERROR] message[1]          : Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @4052c8c2

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants