[
https://issues.apache.org/jira/browse/MPLUGIN-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803990#comment-17803990
]
Michael Osipov commented on MPLUGIN-502:
----------------------------------------
I see:
{noformat}
[INFO]
--------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.3.0:install (integration-test)
on project maven-plugin-plugin: Failed to install project dependencies:
MavenProject: org.apache.maven.plugins:maven-plugin-plugin:3.10.0 @
D:\Entwicklung\Projekte\maven-plugin-tools\maven-plugin-plugin\pom.xml: Failed
to install project artifacts: MavenProject:
org.apache.maven.plugin-tools:maven-plugin-tools-ant:3.10.0 @
D:\Entwicklung\Projekte\maven-plugin-tools\maven-script\maven-plugin-tools-ant\pom.xml:
Failed to install artifact:
org.apache.maven.plugin-tools:maven-plugin-tools-ant:pom:consumer:3.10.0:
transformed artifact file cannot be set -> [Help 1]
[INFO]
--------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.3.0:install (integration-test)
on project maven-plugin-plugin: Failed to install project dependencies:
MavenProject: org.apache.maven.plugins:maven-plugin-plugin:3.10.1 @
D:\Entwicklung\Projekte\maven-plugin-tools\maven-plugin-plugin\pom.xml: Failed
to install project artifacts: MavenProject:
org.apache.maven.plugin-tools:maven-plugin-tools-api:3.10.1 @
D:\Entwicklung\Projekte\maven-plugin-tools\maven-plugin-tools-api\pom.xml:
Failed to install artifact:
org.apache.maven.plugin-tools:maven-plugin-tools-api:pom:consumer:3.10.1:
transformed artifact file cannot be set -> [Help 1]
{noformat}
and with 3.10.2+:
{noformat}
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 1, Failed: 10, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * fix-maven-since-3.x\pom.xml
[ERROR] * mplugin-191\pom.xml
[ERROR] * mplugin-319_report-since\pom.xml
[ERROR] * mplugin-394_report-encoding\pom.xml
[ERROR] * plugin-info-jdk\pom.xml
[ERROR] * plugin-info-jdk-default-version\pom.xml
[ERROR] * plugin-report\pom.xml
[ERROR] * plugin-report-annotations\pom.xml
[ERROR] * plugin-report-requirements-history\pom.xml
[ERROR] * plugin-report-with-javadoc-links\pom.xml
{noformat}
> NPE in EnhancedPluginDescriptorBuilder with Maven 4.x
> -----------------------------------------------------
>
> Key: MPLUGIN-502
> URL: https://issues.apache.org/jira/browse/MPLUGIN-502
> Project: Maven Plugin Tools
> Issue Type: Bug
> Affects Versions: 3.10.2, 3.11.0
> Reporter: Slawomir Jaranowski
> Priority: Major
>
> With Maven 4.x (4.0.0-alpha-10) we have:
> {noformat}
> Caused by: java.lang.NullPointerException: Cannot invoke
> "org.codehaus.plexus.configuration.PlexusConfiguration.getChild(String)"
> because "this.configuration" is null
> at
> org.apache.maven.plugins.plugin.descriptor.EnhancedPluginDescriptorBuilder.build(EnhancedPluginDescriptorBuilder.java:75)
> at
> org.apache.maven.plugin.descriptor.PluginDescriptorBuilder.build(PluginDescriptorBuilder.java:63)
> at
> org.apache.maven.plugin.plugin.report.PluginReport.extractPluginDescriptor(PluginReport.java:163)
> at
> org.apache.maven.plugin.plugin.report.PluginReport.executeReport(PluginReport.java:148)
> at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:289)
> {noformat}
> Also ITs in {{maven-plugin-report-plugin}} fails with Maven 4.x
--
This message was sent by Atlassian Jira
(v8.20.10#820010)