[infinispan-issues] [JBoss JIRA] (ISPN-10413) os-maven-plugin not setting `os.detected.classifier` property on partial maven builds

Ryan Emerson (Jira) issues at jboss.org
Wed Jul 17 06:08:00 EDT 2019


Ryan Emerson created ISPN-10413:
-----------------------------------

             Summary: 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
             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.12.1#712002)


More information about the infinispan-issues mailing list