Uploaded image for project: 'Maven PDF Plugin'
  1. Maven PDF Plugin
  2. MPDF-72

ITs contain exceptions when run with Maven3 (silently ignored)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • None
    • None

    Description

      Here's something I see in the build.log of pdf-with-reporting-section

      [INFO] Ignoring api call removed in maven 3, no reports are generated!
      [DEBUG] 
      java.lang.NoSuchMethodError: org.apache.maven.plugin.PluginManager.verifyReportPlugin(Lorg/apache/maven/model/ReportPlugin;Lorg/apache/maven/project/MavenProject;Lorg/apache/maven/execution/MavenSession;)Lorg/apache/maven/plugin/descriptor/PluginDescriptor;
      	at org.apache.maven.plugins.pdf.PdfMojo.getPluginDescriptor(PdfMojo.java:1077)
      	at org.apache.maven.plugins.pdf.PdfMojo.generateMavenReports(PdfMojo.java:1010)
      	at org.apache.maven.plugins.pdf.PdfMojo.generatePdf(PdfMojo.java:525)
      	at org.apache.maven.plugins.pdf.PdfMojo.execute(PdfMojo.java:406)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      

      Might be related to MDPF-48

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rfscholte Robert Scholte
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: