You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Henning Schmiedehausen (Jira)" <ji...@apache.org> on 2023/09/10 19:45:00 UTC

[jira] [Created] (MPLUGINTESTING-86) inconsistent settings injection depending on build lifecycle

Henning Schmiedehausen created MPLUGINTESTING-86:
----------------------------------------------------

             Summary: inconsistent settings injection depending on build lifecycle 
                 Key: MPLUGINTESTING-86
                 URL: https://issues.apache.org/jira/browse/MPLUGINTESTING-86
             Project: Maven Plugin Testing
          Issue Type: Improvement
          Components: plugin-testing-harness
    Affects Versions: 3.3.0
            Reporter: Henning Schmiedehausen


How to reproduce:

Using maven 3.9.4:

{quote}
git clone git@github.com:apache/maven-javadoc-plugin.git
cd maven-javadoc-plugin
mvn clean test -Dtest=TestJavadocReportTest ---> Success
mvn test -Dtest=TestJavadocReportTest ---> fails with NPE
{quote}

This should either consistently fail or succeed. Right now, the injection of the "settings" field depends on what other  lifecycle goals have been executed.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)