Slawomir Jaranowski created MENFORCER-503:
---------------------------------------------

             Summary: requireOS cause NPE with Maven 3.9.7
                 Key: MENFORCER-503
                 URL: https://issues.apache.org/jira/browse/MENFORCER-503
             Project: Maven Enforcer Plugin
          Issue Type: Bug
            Reporter: Slawomir Jaranowski


In rule {{requireOS}} we use: 
{{org.apache.maven.model.profile.activation.ProfileActivator#isActive}}

as

{code:java}
activator.isActive(createProfile(), null, null); 
{code}

so provided {{context}} is null ... but not Maven use {{context}} without 
protecting it 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to