maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: Testing Maven 3.6.1 with Maven Site - Issue
Date Fri, 12 Apr 2019 05:40:47 GMT
Hi,

Yes, I can reproduce and confirm that it is caused by MNG-6601.

The impact is minimal: it's caused by the fact that there is no "<reports/></
reports>" in the Maven site's pom.xml for the default reportset (the one that 
adds skip=true)
This is a construct that is really unusual, then should really not impact many 
users: it will be fixed in a future bugfix release (please open a Jira issue 
if possible...).
If someone is impacted and needs a quick solution, the workaround is to add 
this "<reports/></reports>" line to the reportset

Regards,

Hervé

Le vendredi 12 avril 2019, 01:02:36 CEST Gabriel Belingueres a écrit :
> Hi Karl. I can reproduce this issue running with 'mvn validate' too.
> 
> I think it is related to [MNG-6601]? Hervé can you confirm this?
> 
> Regards,
> Gabriel
> 
> El jue., 11 de abr. de 2019 a la(s) 15:04, Karl Heinz Marbaise (
> 
> khmarbaise@gmx.de) escribió:
> > Hi,
> > 
> > can someone please check the following:
> > 
> > Use the maven-site repository and just try a:
> > 
> > mvn site
> > 
> > with the Maven 3.6.1 Release cause at the moment I'm getting the
> > following:
> > 
> > maven-site (master *)$ mvn site site:stage
> > 
> > [INFO] Scanning for projects...
> > [ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
> > org.apache.maven.InternalErrorException: Internal error:
> > java.lang.NullPointerException
> > 
> >      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:120)
> >      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> >      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
> >      at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
> >      at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> >      at sun.reflect.NativeMethodAccessorImpl.invoke
> > 
> > (NativeMethodAccessorImpl.java:62)
> > 
> >      at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > 
> > (DelegatingMethodAccessorImpl.java:43)
> > 
> >      at java.lang.reflect.Method.invoke (Method.java:498)
> >      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > 
> > (Launcher.java:282)
> > 
> >      at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > 
> > (Launcher.java:225)
> > 
> >      at
> > 
> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:406)
> > 
> >      at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > 
> > (Launcher.java:347)
> > Caused by: java.lang.NullPointerException
> > 
> >      at org.apache.maven.model.plugin.DefaultReportingConverter.convert
> > 
> > (DefaultReportingConverter.java:243)
> > 
> >      at org.apache.maven.model.plugin.DefaultReportingConverter.convert
> > 
> > (DefaultReportingConverter.java:213)
> > 
> >      at
> > 
> > org.apache.maven.model.plugin.DefaultReportingConverter.convertReporting
> > (DefaultReportingConverter.java:140)
> > 
> >      at org.apache.maven.model.building.DefaultModelBuilder.build
> > 
> > (DefaultModelBuilder.java:479)
> > 
> >      at org.apache.maven.model.building.DefaultModelBuilder.build
> > 
> > (DefaultModelBuilder.java:432)
> > 
> >      at org.apache.maven.project.DefaultProjectBuilder.build
> > 
> > (DefaultProjectBuilder.java:616)
> > 
> >      at org.apache.maven.project.DefaultProjectBuilder.build
> > 
> > (DefaultProjectBuilder.java:385)
> > 
> >      at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
> > 
> > (DefaultGraphBuilder.java:414)
> > 
> >      at
> > 
> > org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
> > (DefaultGraphBuilder.java:405)
> > 
> >      at org.apache.maven.graph.DefaultGraphBuilder.build
> > 
> > (DefaultGraphBuilder.java:82)
> > 
> >      at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
> >      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
> >      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> >      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> >      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> >      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
> >      at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
> >      at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> >      at sun.reflect.NativeMethodAccessorImpl.invoke
> > 
> > (NativeMethodAccessorImpl.java:62)
> > 
> >      at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > 
> > (DelegatingMethodAccessorImpl.java:43)
> > 
> >      at java.lang.reflect.Method.invoke (Method.java:498)
> >      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > 
> > (Launcher.java:282)
> > 
> >      at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > 
> > (Launcher.java:225)
> > 
> >      at
> > 
> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (Launcher.java:406)
> > 
> >      at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > 
> > (Launcher.java:347)
> > 
> > If I use Maven 3.6.0 for the same I don't get any issue.
> > 
> > Can someone please recheck this?
> > 
> > 
> > Kind regards
> > Karl Heinz Marbaise
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message