maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Pozolotin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MNG-6345) Support profile activation via script.
Date Fri, 19 Jan 2018 17:10:00 GMT
Andrei Pozolotin created MNG-6345:
-------------------------------------

             Summary: Support profile activation via script.
                 Key: MNG-6345
                 URL: https://issues.apache.org/jira/browse/MNG-6345
             Project: Maven
          Issue Type: New Feature
          Components: Bootstrap &amp; Build
    Affects Versions: 3.5.2
            Reporter: Andrei Pozolotin


Please consider introduction of new profile activation method: "script".

Here is working prototype which adds required functionality via PropertyActivator:

[https://github.com/random-maven/profile-activator-extension]

in the final form, this feature usage will look like:

<profile>
   <activation>
      <script>
         <type>javascript</type>
         <code>print("hello-maven"); return true;</code>
      </script>
   <activation>
 </profile>

 Suggested minimal supported script types:
 * Groovy
 * JavaScript
 * MVEL Script





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message