forge fails with maven 3.1.1
/home/eskimo/Java/apache-maven-3.1.1/bin/mvn clean install
-Dmaven.repo.local=.m2/luna-m3
-Dtpc.version=4.40.0.Alpha1-SNAPSHOT -Pmultiple.target -f
forge/pom.xml -DtychoVersion=0.19.0
[INFO] Scanning for projects...
[WARNING] The POM for
org.apache.maven.plugins:maven-site-plugin:jar:3.3 is invalid,
transitive dependencies (if any) will not be available, enable
debug logging for more details
[ERROR] Internal error: java.lang.RuntimeException:
org.apache.maven.MavenExecutionException: Could not setup
plugin ClassRealm: Plugin
org.apache.maven.plugins:maven-site-plugin:3.3 or one of its
dependencies could not be resolved: Failed to read artifact
descriptor for
org.apache.maven.plugins:maven-site-plugin:jar:3.3: 1 problem
was encountered while building the effective model
[ERROR] [FATAL] Non-readable POM
/home/eskimo/Projects/jbds/jbosstools-submodules/.m2/luna-m3/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom:
input contained no data @
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException:
org.apache.maven.MavenExecutionException: Could not setup
plugin ClassRealm
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:164)
at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
I remember an issue with a Forge Maven plugin not being compatible
with some Maven versions: