[ 
https://jira.codehaus.org/browse/MNG-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict updated MNG-4656:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Declarative plugins similar to "jsp tags" or "jsf composites"
> -------------------------------------------------------------
>
>                 Key: MNG-4656
>                 URL: https://jira.codehaus.org/browse/MNG-4656
>             Project: Maven
>          Issue Type: New Feature
>          Components: Design, Patterns & Best Practices
>            Reporter: Mykola Golubyev
>
> By now there is only one option to create maven plugin. And this is by using 
> JVM based language.
> There are situations when all you need is just to combine some already 
> written plugins, pass to them some attributes and you can use this as a 
> plugin. But you can't. You need to copy and paste bunch of plugins. And move 
> some predefined configuration to pluginManagment.
> I suggest to add mechanic which is similar to JSP tags or JSF composites.
> Let's say
> <pluginDefinition>
>    <groupId>my.com</groupId>
>    <artifactId>deploy</artifactId>
>    <attribute name="path"/>
>    <attribute name="list" type="..."/>
>    <body>
>       <plugin>
>          <groupId>org.codehaus.mojo</groupId>
>          <artifactId>exec-maven-plugin</artifactId>
>          <executions>
>              <execution>
>                 ... ${path} ...
>                 ... ${list} ...
>              </execution>
>              ...
>          </executions>
>       </plugin>
>       <plugin>
>            ...
>       </plugin>
>    </body>
> </pluginDefinition>
> and then in some other pom.xml
> <plugin>
>    <groupId>my.com</groupId>
>    <artifactId>deploy</artifactId>
>    <configuration>
>       <path>test.war</path>
>       <list>
>           <item>1</item>
>           <item>2</item>
>       </list>
>    </configuration>
> </plugin>
> or something like this.
> Thanks for the attention.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to