[
https://issues.jboss.org/browse/ISPN-10413?page=com.atlassian.jira.plugin...
]
Tristan Tarrant updated ISPN-10413:
-----------------------------------
Sprint: DataGrid Sprint #31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint
#34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37 (was: DataGrid Sprint
#31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35,
DataGrid Sprint #36)
os-maven-plugin not setting `os.detected.classifier` property on
partial maven builds
-------------------------------------------------------------------------------------
Key: ISPN-10413
URL:
https://issues.jboss.org/browse/ISPN-10413
Project: Infinispan
Issue Type: Bug
Components: Build
Affects Versions: 10.0.0.Beta4
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 10.0.0.Beta5
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.
{code:java}
[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]
{code}
The solution is to add the following to the parent pom:
{code:java}
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
</extension>
</extensions>
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)