[
https://issues.apache.org/jira/browse/MRESOLVER-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786022#comment-16786022
]
Robert Scholte commented on MRESOLVER-67:
-----------------------------------------
We need to add the
[requireJavaVersion|https://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html]
enforcer rule with version (,9) to the {{apache-release}} profile to prevent
this in the future.
> The Maven resolver API 1.3.2 JAR deployed on Maven central has been built
> with Java 11
> --------------------------------------------------------------------------------------
>
> Key: MRESOLVER-67
> URL: https://issues.apache.org/jira/browse/MRESOLVER-67
> Project: Maven Resolver
> Issue Type: Bug
> Components: resolver
> Affects Versions: 1.3.2
> Reporter: Thomas Mortagne
> Priority: Blocker
>
> bq. Build-Jdk: 11.0.1
> Makes it unusable in Java 8. Example of problem:
> {quote}
> java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
> at
> org.eclipse.aether.spi.connector.transport.AbstractTransporter.copy(AbstractTransporter.java:254)
> {quote}
> See
> https://mail-archives.apache.org/mod_mbox/maven-dev/201903.mbox/%[email protected]%3e
> for more details.
> I see 1.3.2 is not marked as released on Jira. Maybe it was not even supposed
> to be on Maven central in the first place ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)