[jira] [Created] (SUREFIRE-1663) pom.xml file errors?

2019-04-28 Thread Dave Wichers (JIRA)
Dave Wichers created SUREFIRE-1663:
--

 Summary: pom.xml file errors?
 Key: SUREFIRE-1663
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1663
 Project: Maven Surefire
  Issue Type: Improvement
  Components: Maven Surefire Report Plugin
Affects Versions: 2.22.1
Reporter: Dave Wichers


I'm getting these errors when my project includes 2.22.1 of the 
maven-surefire-plugin:

[*INFO*] Generating "*Dependencies*" report  *---* 
maven-project-info-reports-plugin:3.0.0:dependencies

[*WARNING*] Unable to create Maven project from repository.

*org.apache.maven.project.ProjectBuildingException*: *Some problems were 
encountered while processing the POMs:*

*[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 218, column 
15*

*[ERROR] 'distributionManagement.status' must not be specified. @ line 252, 
column 13*

Is this a problem with this project's pom.xml file that it should fix? Or is 
there a bug in maven-project-info-reports-plugin:3.0.0?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (MNG-6644) NPE in DefaultReportingConverter when reports has no InputLocation (using polyglot Maven)

2019-04-28 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MNG-6644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy closed MNG-6644.
--
Resolution: Fixed

fixed in 
https://gitbox.apache.org/repos/asf?p=maven.git=commit=5350ed8a1f5bea4dd064ffe3a2027c8b90790077

> NPE in DefaultReportingConverter when reports has no InputLocation (using 
> polyglot Maven)
> -
>
> Key: MNG-6644
> URL: https://issues.apache.org/jira/browse/MNG-6644
> Project: Maven
>  Issue Type: Bug
>Affects Versions: 3.6.1
>Reporter: Robert Thornton
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: 3.6.2
>
> Attachments: maven-3.6.1-reporting-bug.zip
>
>
> After upgrading from Maven 3.6.0 to Maven 3.6.1, the attached project fails 
> with a NullPointerException.
> *This project uses the extension `io.takari.polyglot:polyglot-kotlin` in 
> order to build the Maven project model using a Kotlin script.*
> {code:java}
> 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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> 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)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.apache.maven.wrapper.BootstrapMainStarter.start 
> (BootstrapMainStarter.java:39)
> at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
> at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:55)
> 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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> 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)
> at 

[jira] [Closed] (MNG-6647) NPE in DefaultReportingConverter (when reports injected by Repaint IO maven-tiles)

2019-04-28 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MNG-6647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy closed MNG-6647.
--
Resolution: Fixed

fixed in 
https://gitbox.apache.org/repos/asf?p=maven.git=commit=5350ed8a1f5bea4dd064ffe3a2027c8b90790077

> NPE in DefaultReportingConverter (when reports injected by Repaint IO 
> maven-tiles)
> --
>
> Key: MNG-6647
> URL: https://issues.apache.org/jira/browse/MNG-6647
> Project: Maven
>  Issue Type: Bug
>Reporter: Mark Derricutt
>Assignee: Hervé Boutemy
>Priority: Minor
> Fix For: 3.6.2
>
>
> I discovered this NPE whilst running some integration tests *for our 
> [Repoaint IO|http://repaint.io/] tiles-maven-plugin*:
> {noformat}[INFO] Scanning for projects...
> [INFO] --- tiles-maven-plugin: Injecting 1 tiles as intermediary parent 
> artifacts for com.test:reporting-tiletest...
> [INFO] Mixed 'com.test:reporting-tiletest:0.1.0' with tile 
> 'com.test:reporting-tiletest-tile:0.1.0' as its new parent.
> [INFO] Mixed 'com.test:reporting-tiletest-tile:0.1.0' with original parent 
> '(no parent)' as its new top level parent.
> [INFO] 
> [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.model.building.ModelBuilder$build$0.call (Unknown Source)
>  at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall 
> (CallSiteArray.java:47)
>  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call 
> (AbstractCallSite.java:116)
>  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call 
> (AbstractCallSite.java:136)
>  at io.repaint.maven.tiles.TilesMavenLifecycleParticipant.thunkModelBuilder 
> (TilesMavenLifecycleParticipant.groovy:460)
>  at io.repaint.maven.tiles.TilesMavenLifecycleParticipant.orchestrateMerge 
> (TilesMavenLifecycleParticipant.groovy:362)
>  at io.repaint.maven.tiles.TilesMavenLifecycleParticipant.afterProjectsRead 
> (TilesMavenLifecycleParticipant.groovy:306)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
>  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){noformat}
>  
> This was triggered when running our sitereporting test ( 
> [https://github.com/repaint-io/maven-tiles/tree/master/src/it/sitereporting-tiletest]
>  ) and doesn't trigger an 

[jira] [Closed] (MNG-6636) NPE on reporting convertion (DefaultReportingConverter) when inheritance of with no reports

2019-04-28 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MNG-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy closed MNG-6636.
--
Resolution: Fixed

fixed in 
https://gitbox.apache.org/repos/asf?p=maven.git=commit=869b615189fd05eb1216a66178eb22b72ea0b4d3

> NPE on reporting convertion (DefaultReportingConverter) when inheritance of 
> with no reports
> ---
>
> Key: MNG-6636
> URL: https://issues.apache.org/jira/browse/MNG-6636
> Project: Maven
>  Issue Type: Bug
>  Components: Inheritance and Interpolation
>Affects Versions: 3.6.1
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: 3.6.2
>
>
> when launching Maven on maven-site:
> {noformat}$ mvn clean
> [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:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:606)
> 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){noformat}
> caused by the fact that there is no  elements in following 
> reportSet:
> {code:xml}  
> true
> ${site.output}
> 
>   
> org.apache.maven.plugins
> maven-project-info-reports-plugin
> 
>   
> 
>   true
> 
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MNG-6644) NPE in DefaultReportingConverter when reports has no InputLocation (using polyglot Maven)

2019-04-28 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-6644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16828812#comment-16828812
 ] 

Hudson commented on MNG-6644:
-

Build succeeded in Jenkins: Maven TLP » maven » master #202

See https://builds.apache.org/job/maven-box/job/maven/job/master/202/

> NPE in DefaultReportingConverter when reports has no InputLocation (using 
> polyglot Maven)
> -
>
> Key: MNG-6644
> URL: https://issues.apache.org/jira/browse/MNG-6644
> Project: Maven
>  Issue Type: Bug
>Affects Versions: 3.6.1
>Reporter: Robert Thornton
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: 3.6.2
>
> Attachments: maven-3.6.1-reporting-bug.zip
>
>
> After upgrading from Maven 3.6.0 to Maven 3.6.1, the attached project fails 
> with a NullPointerException.
> *This project uses the extension `io.takari.polyglot:polyglot-kotlin` in 
> order to build the Maven project model using a Kotlin script.*
> {code:java}
> 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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> 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)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.apache.maven.wrapper.BootstrapMainStarter.start 
> (BootstrapMainStarter.java:39)
> at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
> at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:55)
> 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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> 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)
> at 

[jira] [Commented] (MNG-6636) NPE on reporting convertion (DefaultReportingConverter) when inheritance of with no reports

2019-04-28 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16828811#comment-16828811
 ] 

Hudson commented on MNG-6636:
-

Build succeeded in Jenkins: Maven TLP » maven » master #202

See https://builds.apache.org/job/maven-box/job/maven/job/master/202/

> NPE on reporting convertion (DefaultReportingConverter) when inheritance of 
> with no reports
> ---
>
> Key: MNG-6636
> URL: https://issues.apache.org/jira/browse/MNG-6636
> Project: Maven
>  Issue Type: Bug
>  Components: Inheritance and Interpolation
>Affects Versions: 3.6.1
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: 3.6.2
>
>
> when launching Maven on maven-site:
> {noformat}$ mvn clean
> [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:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:606)
> 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){noformat}
> caused by the fact that there is no  elements in following 
> reportSet:
> {code:xml}  
> true
> ${site.output}
> 
>   
> org.apache.maven.plugins
> maven-project-info-reports-plugin
> 
>   
> 
>   true
> 
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] [maven-checkstyle-plugin] rnveach commented on issue #14: remove deprecated method calls

2019-04-28 Thread GitBox
rnveach commented on issue #14: remove deprecated method calls
URL: 
https://github.com/apache/maven-checkstyle-plugin/pull/14#issuecomment-487393787
 
 
   > > mvn -Prun-its clean verify
   
   > This doesn't pass for me even on master.
   
   I figured out my problem. It won't work with Eclipse's embedded maven and 
needs a real maven installation. I ran all the tests and they pass.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [maven-checkstyle-plugin] rnveach commented on issue #14: remove deprecated method calls

2019-04-28 Thread GitBox
rnveach commented on issue #14: remove deprecated method calls
URL: 
https://github.com/apache/maven-checkstyle-plugin/pull/14#issuecomment-487392140
 
 
   @eolivelli done but it looks like travis is facing the same issue our repo 
is having, downloading open jdk 9+.
   
   I also made some additional changes to `DefaultCheckstyleExecutor` and 
removed the outdated form of setting the cache since the old ITs that supported 
it are gone.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Updated] (MCOMPILER-359) plexus-java 0.9.10 causes a NullPointer in compiler-plugin 3.8.0

2019-04-28 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MCOMPILER-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise updated MCOMPILER-359:
--
Fix Version/s: (was: 3.8.1)

> plexus-java 0.9.10 causes a NullPointer in compiler-plugin 3.8.0
> 
>
> Key: MCOMPILER-359
> URL: https://issues.apache.org/jira/browse/MCOMPILER-359
> Project: Maven Compiler Plugin
>  Issue Type: Bug
>Affects Versions: 3.8.0
> Environment: Windows 7
> JDK 10.0.2
> Maven 3.5.4
>Reporter: Marvin
>Priority: Major
> Attachments: plugintest.zip
>
>
> If {{}} contains a {{pom}} or {{war}} 
> this call:
>  {{moduleDescriptor = binaryParser.getModuleDescriptor( path );}}
>  throws an {{IOException}}:
>  {{zip END header not found}}
>  because the file is being treated as a jar file.
>  When the call returns to {{CompilerMojo.preparePaths()}} this call returns 
> {{null}}:
>  {{Throwable cause = pathException.getValue().getCause();}}
>  and the next line throws a {{NullPointerException}}:
>  {{while ( cause.getCause() != null )}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MCOMPILER-359) plexus-java 0.9.10 causes a NullPointer in compiler-plugin 3.8.0

2019-04-28 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MCOMPILER-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise updated MCOMPILER-359:
--
Fix Version/s: 3.8.1

> plexus-java 0.9.10 causes a NullPointer in compiler-plugin 3.8.0
> 
>
> Key: MCOMPILER-359
> URL: https://issues.apache.org/jira/browse/MCOMPILER-359
> Project: Maven Compiler Plugin
>  Issue Type: Bug
>Affects Versions: 3.8.0
> Environment: Windows 7
> JDK 10.0.2
> Maven 3.5.4
>Reporter: Marvin
>Priority: Major
> Fix For: 3.8.1
>
> Attachments: plugintest.zip
>
>
> If {{}} contains a {{pom}} or {{war}} 
> this call:
>  {{moduleDescriptor = binaryParser.getModuleDescriptor( path );}}
>  throws an {{IOException}}:
>  {{zip END header not found}}
>  because the file is being treated as a jar file.
>  When the call returns to {{CompilerMojo.preparePaths()}} this call returns 
> {{null}}:
>  {{Throwable cause = pathException.getValue().getCause();}}
>  and the next line throws a {{NullPointerException}}:
>  {{while ( cause.getCause() != null )}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MNG-6573) Use latest Maven 3.6.0 to build Maven Core and plugins with ASF CI

2019-04-28 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16827980#comment-16827980
 ] 

Hudson commented on MNG-6573:
-

Build succeeded in Jenkins: Maven TLP » maven-compiler-plugin » master #98

See 
https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/master/98/

> Use latest Maven 3.6.0 to build Maven Core and plugins with ASF CI
> --
>
> Key: MNG-6573
> URL: https://issues.apache.org/jira/browse/MNG-6573
> Project: Maven
>  Issue Type: Task
>  Components: Integration Tests
>Reporter: Sylwester Lachiewicz
>Assignee: Sylwester Lachiewicz
>Priority: Minor
> Fix For: 3.6.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Maven Core Integration Test passed ok for Linux and Windows for Java 7, 8, 
> 11, 12-ea, 13-ea.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MCOMPILER-371) RFE: support new javac option "-h"

2019-04-28 Thread Karl Heinz Marbaise (JIRA)


[ 
https://issues.apache.org/jira/browse/MCOMPILER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16827979#comment-16827979
 ] 

Karl Heinz Marbaise commented on MCOMPILER-371:
---

You think that using the suggested solution
{code:xml}
 
maven-compiler-plugin
3.7.0


-h
target/headers
 
11
11


{code}
is not enough? Also an example project would be helpful. 

> RFE: support new javac option "-h"
> --
>
> Key: MCOMPILER-371
> URL: https://issues.apache.org/jira/browse/MCOMPILER-371
> Project: Maven Compiler Plugin
>  Issue Type: Improvement
>Affects Versions: 3.8.0
>Reporter: Mark
>Priority: Minor
> Fix For: waiting-for-feedback
>
>
> The javah command line utility to generate JNI header files was removed and 
> its functionality moved into javac in the form of a new command line option 
> "-h" which determines the output directory of the JNI header files.
> Please add a configuration option to the plugin's pom.xml configuration 
> section to allow setting that option without having to resort to the 
> workaround described here:
> [https://stackoverflow.com/questions/53186355/how-can-i-pass-h-argument-to-maven-compiler-plugin-to-create-jni-header-files]
> TY!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MCOMPILER-379) Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist

2019-04-28 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MCOMPILER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16827981#comment-16827981
 ] 

Hudson commented on MCOMPILER-379:
--

Build succeeded in Jenkins: Maven TLP » maven-compiler-plugin » master #98

See 
https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/master/98/

> Fatal error compiling: basedir ... arget/generated-sources/annotations does 
> not exist 
> --
>
> Key: MCOMPILER-379
> URL: https://issues.apache.org/jira/browse/MCOMPILER-379
> Project: Maven Compiler Plugin
>  Issue Type: Bug
>Affects Versions: 3.8.1
> Environment: /usr/local/Cellar/maven/3.6.0/bin/mvn --version
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
> 2018-10-24T19:41:47+01:00)
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
> Java version: 11.0.2, vendor: AdoptOpenJDK, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-11.0.2+9/Contents/Home
> Default locale: en_PT, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"
>Reporter: Karl Heinz Marbaise
>Assignee: Karl Heinz Marbaise
>Priority: Blocker
> Fix For: 3.8.1
>
>
> Hi,
> I’m having this error with 3.8.1 that does not happen with 3.8.0
> {code}
> $ /usr/local/Cellar/maven/3.6.0/bin/mvn clean compile
> [INFO] Reactor Summary for mcp 1.0-SNAPSHOT:
> [INFO]
> [INFO] mcp  SUCCESS [  0.173 
> s]
> [INFO] module2  SUCCESS [  0.935 
> s]
> [INFO] module1  FAILURE [  0.018 
> s]
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.306 s
> [INFO] Finished at: 2019-03-29T15:15:23Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project module1: Fatal error compiling: basedir 
> /Users/fsousa/Projects/temp/mcp/module1/target/generated-sources/annotations 
> does not exist -> [Help 1]
> {code}
> Sample project in https://github.com/natros/mcp 
> 
> {code}
> .
> ├── module1
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> ├── module2
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> │   └── com
> │   └── natros
> │   └── mcp
> │   └── Foo.java
> └── pom.xml
> {code}
> {code}
> $ git clone g...@github.com:natros/mcp.git
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (MCOMPILER-379) Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist

2019-04-28 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MCOMPILER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise reassigned MCOMPILER-379:
-

Assignee: Karl Heinz Marbaise

> Fatal error compiling: basedir ... arget/generated-sources/annotations does 
> not exist 
> --
>
> Key: MCOMPILER-379
> URL: https://issues.apache.org/jira/browse/MCOMPILER-379
> Project: Maven Compiler Plugin
>  Issue Type: Bug
>Affects Versions: 3.8.1
> Environment: /usr/local/Cellar/maven/3.6.0/bin/mvn --version
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
> 2018-10-24T19:41:47+01:00)
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
> Java version: 11.0.2, vendor: AdoptOpenJDK, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-11.0.2+9/Contents/Home
> Default locale: en_PT, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"
>Reporter: Karl Heinz Marbaise
>Assignee: Karl Heinz Marbaise
>Priority: Blocker
> Fix For: 3.8.1
>
>
> Hi,
> I’m having this error with 3.8.1 that does not happen with 3.8.0
> {code}
> $ /usr/local/Cellar/maven/3.6.0/bin/mvn clean compile
> [INFO] Reactor Summary for mcp 1.0-SNAPSHOT:
> [INFO]
> [INFO] mcp  SUCCESS [  0.173 
> s]
> [INFO] module2  SUCCESS [  0.935 
> s]
> [INFO] module1  FAILURE [  0.018 
> s]
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.306 s
> [INFO] Finished at: 2019-03-29T15:15:23Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project module1: Fatal error compiling: basedir 
> /Users/fsousa/Projects/temp/mcp/module1/target/generated-sources/annotations 
> does not exist -> [Help 1]
> {code}
> Sample project in https://github.com/natros/mcp 
> 
> {code}
> .
> ├── module1
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> ├── module2
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> │   └── com
> │   └── natros
> │   └── mcp
> │   └── Foo.java
> └── pom.xml
> {code}
> {code}
> $ git clone g...@github.com:natros/mcp.git
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (MCOMPILER-379) Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist

2019-04-28 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MCOMPILER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise closed MCOMPILER-379.
-
Resolution: Done

> Fatal error compiling: basedir ... arget/generated-sources/annotations does 
> not exist 
> --
>
> Key: MCOMPILER-379
> URL: https://issues.apache.org/jira/browse/MCOMPILER-379
> Project: Maven Compiler Plugin
>  Issue Type: Bug
>Affects Versions: 3.8.1
> Environment: /usr/local/Cellar/maven/3.6.0/bin/mvn --version
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
> 2018-10-24T19:41:47+01:00)
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
> Java version: 11.0.2, vendor: AdoptOpenJDK, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-11.0.2+9/Contents/Home
> Default locale: en_PT, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"
>Reporter: Karl Heinz Marbaise
>Priority: Blocker
> Fix For: 3.8.1
>
>
> Hi,
> I’m having this error with 3.8.1 that does not happen with 3.8.0
> {code}
> $ /usr/local/Cellar/maven/3.6.0/bin/mvn clean compile
> [INFO] Reactor Summary for mcp 1.0-SNAPSHOT:
> [INFO]
> [INFO] mcp  SUCCESS [  0.173 
> s]
> [INFO] module2  SUCCESS [  0.935 
> s]
> [INFO] module1  FAILURE [  0.018 
> s]
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.306 s
> [INFO] Finished at: 2019-03-29T15:15:23Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project module1: Fatal error compiling: basedir 
> /Users/fsousa/Projects/temp/mcp/module1/target/generated-sources/annotations 
> does not exist -> [Help 1]
> {code}
> Sample project in https://github.com/natros/mcp 
> 
> {code}
> .
> ├── module1
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> ├── module2
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> │   └── com
> │   └── natros
> │   └── mcp
> │   └── Foo.java
> └── pom.xml
> {code}
> {code}
> $ git clone g...@github.com:natros/mcp.git
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MCOMPILER-379) Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist

2019-04-28 Thread Karl Heinz Marbaise (JIRA)


[ 
https://issues.apache.org/jira/browse/MCOMPILER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16827974#comment-16827974
 ] 

Karl Heinz Marbaise commented on MCOMPILER-379:
---

Done in 
[6fd3a46885edd81e62ae62cfc798c1e1b903e170|https://gitbox.apache.org/repos/asf?p=maven-compiler-plugin.git;a=commitdiff;h=6fd3a46885edd81e62ae62cfc798c1e1b903e170]

> Fatal error compiling: basedir ... arget/generated-sources/annotations does 
> not exist 
> --
>
> Key: MCOMPILER-379
> URL: https://issues.apache.org/jira/browse/MCOMPILER-379
> Project: Maven Compiler Plugin
>  Issue Type: Bug
>Affects Versions: 3.8.1
> Environment: /usr/local/Cellar/maven/3.6.0/bin/mvn --version
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
> 2018-10-24T19:41:47+01:00)
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
> Java version: 11.0.2, vendor: AdoptOpenJDK, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-11.0.2+9/Contents/Home
> Default locale: en_PT, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"
>Reporter: Karl Heinz Marbaise
>Priority: Blocker
> Fix For: 3.8.1
>
>
> Hi,
> I’m having this error with 3.8.1 that does not happen with 3.8.0
> {code}
> $ /usr/local/Cellar/maven/3.6.0/bin/mvn clean compile
> [INFO] Reactor Summary for mcp 1.0-SNAPSHOT:
> [INFO]
> [INFO] mcp  SUCCESS [  0.173 
> s]
> [INFO] module2  SUCCESS [  0.935 
> s]
> [INFO] module1  FAILURE [  0.018 
> s]
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.306 s
> [INFO] Finished at: 2019-03-29T15:15:23Z
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project module1: Fatal error compiling: basedir 
> /Users/fsousa/Projects/temp/mcp/module1/target/generated-sources/annotations 
> does not exist -> [Help 1]
> {code}
> Sample project in https://github.com/natros/mcp 
> 
> {code}
> .
> ├── module1
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> ├── module2
> │   ├── pom.xml
> │   └── src
> │   └── main
> │   └── java
> │   └── com
> │   └── natros
> │   └── mcp
> │   └── Foo.java
> └── pom.xml
> {code}
> {code}
> $ git clone g...@github.com:natros/mcp.git
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MNG-6573) Use latest Maven 3.6.0 to build Maven Core and plugins with ASF CI

2019-04-28 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16827908#comment-16827908
 ] 

Hudson commented on MNG-6573:
-

Build failed in Jenkins: Maven TLP » maven-compiler-plugin » MCOMPILER-379 #5

See 
https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/MCOMPILER-379/5/

> Use latest Maven 3.6.0 to build Maven Core and plugins with ASF CI
> --
>
> Key: MNG-6573
> URL: https://issues.apache.org/jira/browse/MNG-6573
> Project: Maven
>  Issue Type: Task
>  Components: Integration Tests
>Reporter: Sylwester Lachiewicz
>Assignee: Sylwester Lachiewicz
>Priority: Minor
> Fix For: 3.6.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Maven Core Integration Test passed ok for Linux and Windows for Java 7, 8, 
> 11, 12-ea, 13-ea.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] [maven-checkstyle-plugin] eolivelli commented on issue #14: remove deprecated method calls

2019-04-28 Thread GitBox
eolivelli commented on issue #14: remove deprecated method calls
URL: 
https://github.com/apache/maven-checkstyle-plugin/pull/14#issuecomment-487349983
 
 
   Okay, let's drop the test which is not compatible with new checkstyle API.
   
   You can do it in this commit
   
   
   Thank you all guys, I hope we will hve soon a great brand new release of 
this plugin


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services