Details
-
Bug
-
Resolution: Done
-
Major
-
10.0.0.Beta4
-
None
Description
When executing mvn clean install -am -pl core the commons module will fail because the property os.detected.classifier is not set by the os-maven-plugin resulting in a NPE being thrown by the proto-schema-compatibility maven plugin.
[ERROR] Failed to execute goal org.infinispan.maven-plugins:proto-schema-compatibility:1.0.1.Final:proto-schema-compatibility-check (default) on project infinispan-commons: Execution default of goal org.infinispan.maven-plugins:proto-schema-compatibility:1.0.1.Final:proto-schema-compatibility-check failed.: NullPointerException -> [Help 1]
The solution is to add the following to the parent pom:
<extensions> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> </extension> </extensions>