Hi,

I used

svn checkout
https://svn.apache.org/repos/asf/maven/shared/tags/maven-filtering-3.1.1
maven-filtering

to access the source code and ran mvn install. I got the following error

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
(default-compile) on project maven-filtering: Compilation failure:
Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.

and therefore added

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>13</source>
<target>13</target>
</configuration>
</plugin>

to the pom.xml. Running mvn install again now yields the following error:

[INFO] --- plexus-component-metadata:1.6:generate-metadata (default) @
maven-filtering ---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  3.050 s
[INFO] Finished at: 2020-04-26T15:08:48+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.plexus:plexus-component-metadata:1.6:generate-metadata
(default) on project maven-filtering: Error generating metadata: :
Failed to extract descriptors: IllegalArgumentException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.codehaus.plexus:plexus-component-metadata:1.6:generate-metadata
(default) on project maven-filtering: Error generating metadata:
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
[...]

The full log can be found here: https://pastebin.com/JKHML3Lv

Do you know how to fix this?

Best regards
Tobias




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to