You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/23 12:47:00 UTC

[jira] [Closed] (MNG-5653) [RFC] POM using attributes for plugin definitions

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

Elliotte Rusty Harold closed MNG-5653.
--------------------------------------

> [RFC] POM using attributes for plugin definitions
> -------------------------------------------------
>
>                 Key: MNG-5653
>                 URL: https://issues.apache.org/jira/browse/MNG-5653
>             Project: Maven
>          Issue Type: Improvement
>          Components: FDPFC
>            Reporter: Karl Heinz Marbaise
>            Priority: Major
>             Fix For: Issues to be reviewed for 4.x
>
>
> {code:xml}
> <plugins>
>   <plugin groupId="org.apache.maven.plugins" artifactId="maven-compiler-plugin" version="3.1"/>
>   ...
> </plugins>
> {code}
> Or configuration for a plugin:
> {code:xml}
> <plugins>
>   <plugin groupId="org.apache.maven.plugins" artifactId="maven-compiler-plugin" version="3.1">
>     <configuration>
>      ....
>    </configuration>
>  </plugin>
>   ...
> </plugins>
> {code}
> Based on the above a pluginManagement block (if it will continue to exist) would be come very short:
> {code:xml}
> <build>
>   <pluginManagement>
>     <plugins>
>       <plugin id="maven-compiler-plugin:3.1"/>
>       <plugin id="maven-resources-plugin:2.6"/>
>       <plugin id="maven-ear-plugin:2.4"/>
>       ...
>     <plugins>
>   </pluginManagement>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)