Skip to content

Maven plugin fails if the source folder is missing #12

@htfv

Description

@htfv

Typical Maven plugins skip missing source folders (compiler, resources, surefire, etc). This allows configuring them once in a parent POM or lifecyle. JCP fails the build if the source folder is missing.

Use case: we are using JCP in a big project with over 500 modules. Currently we define 2 executions: one for main and one for test sources. We want to configure JCP in the common parent POM to enable it in all modules by default, but it does not always work, because some modules do not have test sources.

Please make JCP Maven plugin ignore missing sources folders, or add a configuration parameter to ignore missing source folders.

I can implement the change and make a pull request if that will speed up things.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions