maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MSITE-507) report plugin doesn't have dependencies section coming from build section configuration
Date Thu, 09 Feb 2017 22:32:41 GMT

    [ https://issues.apache.org/jira/browse/MSITE-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860324#comment-15860324
] 

Hudson commented on MSITE-507:
------------------------------

ABORTED: Integrated in Jenkins build maven-shared #3672 (See [https://builds.apache.org/job/maven-shared/3672/])
[MSHARED-616] Dependencies inside pluginManagement are not taken into account in reporting

Following the fix introduced in MSITE-507, we also need to take into account the case where
the reporting plugin is only present in the build/pluginManagement section. Otherwise, its
dependencies are ignored. (gboue: [http://svn.apache.org/viewvc/?view=rev&rev=1782394])
* (add) maven-reporting-exec/src/it/pluginManagement_dependencies
* (add) maven-reporting-exec/src/it/pluginManagement_dependencies/invoker.properties
* (add) maven-reporting-exec/src/it/pluginManagement_dependencies/pom.xml
* (add) maven-reporting-exec/src/it/pluginManagement_dependencies/verify.groovy
* (edit) maven-reporting-exec/src/main/java/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java
* (edit) maven-reporting-exec/src/test/java/org/apache/maven/reporting/exec/TestDefaultMavenReportExecutor.java


> report plugin doesn't have dependencies section coming from build section configuration
> ---------------------------------------------------------------------------------------
>
>                 Key: MSITE-507
>                 URL: https://issues.apache.org/jira/browse/MSITE-507
>             Project: Maven Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-2
>            Reporter: Johannes Schneider
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Critical
>             Fix For: 3.0-beta-3
>
>         Attachments: proj.zip
>
>
> I get that exception for my project and really don't know what is going on.
> I am sure this is a fault on my side, but I think there should be a better error message:
> {noformat}[INFO] Generating "JavaNCSS Report" report    --- javancss-maven-plugin:2.0
> [INFO] Generating "Source Xref" report    --- maven-jxr-plugin:2.1
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.623s
> [INFO] Finished at: Thu Sep 23 17:05:11 CEST 2010
> [INFO] Final Memory: 31M/233M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:site
(default-site) on project my-artifact-id: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:site
failed. NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:site
(default-site) on project my-artifact-id: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:site
failed.
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:211)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
> 	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:315)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site of
goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-2:site failed.
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:116)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
> 	... 19 more
> Caused by: java.lang.NullPointerException
> 	at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:820)
> 	at org.apache.maven.plugin.jxr.AbstractJxrReport.copyRequiredResources(AbstractJxrReport.java:330)
> 	at org.apache.maven.plugin.jxr.AbstractJxrReport.createXref(AbstractJxrReport.java:265)
> 	at org.apache.maven.plugin.jxr.AbstractJxrReport.executeReport(AbstractJxrReport.java:409)
> 	at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> 	at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:170)
> 	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:330)
> 	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
> 	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:159)
> 	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:122)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> 	... 20 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message