Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45820

DefaultMavenExecutionRequestBuilder is missing multiModuleProjectDirectory property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Jenkins 2.60.2
      Maven Integration Plugin 2.17
      Maven 3.3.9
      Java 8u141

      I have a Maven plugin which works fine in standalone mvn 3.3.9 but throws a NPE if run via Jenkins maven-plugin.

      Maven added a new property multiModuleProjectDirectory in 3.3.1 via this commit: https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commitdiff;h=e28be4d33a0c2a1e4baeba56faace665804dfb60

      The same property is missing in https://github.com/jenkinsci/maven-interceptors/blob/master/maven33-interceptor/src/main/java/org/apache/maven/cli/DefaultMavenExecutionRequestBuilder.java which in large parts is a copy of MavenCli.java. So please apply the changes from the first commitdiff link to DefaultMavenExecutionRequestBuilder.java. This seems to be somehow related to JENKINS-30460.

            Unassigned Unassigned
            rmueller83 Roland Mueller
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: