Andrei Terentiev commented on MCHECKSTYLE-288:

Recently I encountered the same problem as Rob (NPE).

The problem arose because one of the newly created modules did not contain the 
source code yet.

Adding source code or <packaging>pom</packaging> solves the problem.


> NullPointerException during building a multi-module project
> -----------------------------------------------------------
>                 Key: MCHECKSTYLE-288
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-288
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.13, 2.14
>         Environment: Apache Maven 3.2.5
>            Reporter: Peter Jeszenszky
>            Assignee: Dennis Lundberg
>            Priority: Major
>             Fix For: 2.15
>         Attachments: geocoder-parent.zip
> A NullPointerException is thrown during the execution of "mvn site" in a 
> multi-module project, that is clearly caused by the Maven Checkstyle Plugin. 
> The problem occurs when version 2.13 or 2.14 of the plugin is used, 
> everything works fine when the plugin version is downgraded to version 2.12. 
> I have attached a project in which the problem occurs.

This message was sent by Atlassian JIRA

Reply via email to