Github user ChristianSchulte commented on the pull request:

    https://github.com/apache/maven/pull/20#issuecomment-46547866
  
    Could be as simple as:
    ```
    <activation>
      <script engine-name="" || extension="" || mime-type="">simple script 
evaluating to a boolean</script>
    </activation>
    ```
    'engine-name' translates to javax.script.ScriptEngine.getEngineByName()
    'extension' translates to javax.script.ScriptEngine.getEngineByExtension()
    'mime-type' translates to javax.script.ScriptEngine.getEngineByMimeType()
    
    All you need to do is populating the corresponding script engine scope with 
some pre-defined values.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to