Discussion:
[maven-javadoc-plugin] branch master updated: revert upgrade plexus-java because enforcer complains.
Robert Scholte
2018-10-26 10:01:59 UTC
Permalink
Just verified: it is already implemented.
Upgrading extra-enforcer-rules to 1.0-beta-9 solves this issue.

Robert

On Thu, 18 Oct 2018 10:24:35 +0200, Robert Scholte
Yes, this is a missing feature in Maven enforcer plugin. It should
verify byte code version with meta-inf/versions/X.Iirc I made a start
with it.
Verzonden vanaf mijn Samsung Galaxy-smartphone.
-------- Oorspronkelijk bericht --------Van: Olivier Lamy
[maven-javadoc-plugin] branch master updated: revert upgrade plexus-java
because enforcer complains.
I reverted that because enforcer complains.
[windows-jdk9-m3.5.x_build] [INFO] Restricted to JDK 1.7 yet
org.codehaus.plexus:plexus-java:jar:0.9.11:compile contains
META-INF/versions/9/org/codehaus/plexus/languages/java/jpms/BinaryModuleInfoParser.class
targeted to JDK 1.9
org.apache.maven.plugins.enforcer.EnforceBytecodeVersion failed with
org.codehaus.plexus:plexus-java:jar:0.9.11
Sounds like a bug with enforcer? META-INF/versions/9
(META-INF/versions/x)
shouldn't be a problem?
org.codehaus.plexus:plexus-java:jar:0.9.11 is required for jdk11 (if you
compile with target 11)
but we cannot upgrade because of this.
well users can still upgrade the dependency in their pom but it's not
something automatic.
WDYT?
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
new 972fbbc revert upgrade plexus-java because enforcer
complains.
972fbbc is described below
commit 972fbbc199350e8b222d0da7f75b1d95d30b7bd9
AuthorDate: Thu Oct 18 17:42:38 2018 +1000
revert upgrade plexus-java because enforcer complains.
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index ac74f4b..fa19d3e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -234,7 +234,7 @@ under the License.
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-java</artifactId>
- <version>0.9.11</version>
+ <version>0.9.8</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@maven.apache.org
For additional commands, e-mail: dev-***@maven.apache.org

Loading...