Snap-engine-coverage build issue

Hello,

I have an issue with the snap-engine-coverage module.
It causes the problem when running mvn clean package install on snap-engine or the module itself:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.4.0:jar (default-jar) on project snap-engine-coverage: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [Help 1]

It does not have any source code. Maybe it should be removed? The issue occurs on branch 12.x and master.
When I remove the module from snap-engine everything works.

Jira ticket SNAP-4013 created.

Do I have to activate the exclude-from-build profile?
Why is the module not removed? What is it good for?

If I must activate this then it should be mentioned in the developer documentation. How to build SNAP from sources

Any comment on this?

Hi Marco,

Do you need to run both mvn package and mvn install? Since install includes the package phase in the Maven lifecycle, running both may be unnecessary. You might try using just mvn clean install to see if the issue still occurs.

Ah okay. This resolves the issue. But still strange it works with any other module.
But of course, I can omit the package.

Thanks