Skip to content

skipPomModules/packagingSupporteds not working #128

@gunnarmorling

Description

@gunnarmorling

I'd like to configure japicmp in the root POM of my multi-module Maven project. Of course, no report is needed for the root module itself. Two settings seem to be provided to help with that:

skipPomModules>true</skipPomModules>
<packagingSupporteds>
    <packagingSupported>jar</packagingSupported>
</packagingSupporteds

Unfortunately though, both don't take any affect, i.e. the plug-in is still run for the root module, resulting in an exception about the JAR file of that module missing (which is natural, as it has POM packaging). I took a quick look in the debugger and the mavenProject injected into the Mojo is null, resulting in an early return from the filter method.

Any idea why that could be the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions