Problem building maven-filtering 3.1.1: Error generating metadata

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem building maven-filtering 3.1.1: Error generating metadata

Tobias
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problem building maven-filtering 3.1.1: Error generating metadata

Karl Heinz Marbaise-3
Hi,

On 26.04.20 15:13, Tobias wrote:
> Hi,
>
> I used
>
> svn checkout
> https://svn.apache.org/repos/asf/maven/shared/tags/maven-filtering-3.1.1
> maven-filtering

This is the wrong location we have moved to Git a long time ago..

correct location now:

https://github.com/apache/maven-filtering

It looks like we need a new release....cause the web site points to the
old location...but will only being updated with a new release...


Kind regards
Karl Heinz Marbaise

>
> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problem building maven-filtering 3.1.1: Error generating metadata

Tobias
Thanks for the quick reply! mvn install works now.

Best regards
Tobias

Am 26.04.2020 um 15:44 schrieb Karl Heinz Marbaise:

> Hi,
>
> On 26.04.20 15:13, Tobias wrote:
>> Hi,
>>
>> I used
>>
>> svn checkout
>> https://svn.apache.org/repos/asf/maven/shared/tags/maven-filtering-3.1.1
>> maven-filtering
>
> This is the wrong location we have moved to Git a long time ago..
>
> correct location now:
>
> https://github.com/apache/maven-filtering
>
> It looks like we need a new release....cause the web site points to the
> old location...but will only being updated with a new release...
>
>
> Kind regards
> Karl Heinz Marbaise
>>
>> 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: [hidden email]
For additional commands, e-mail: [hidden email]