maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jifeng Zhang (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-3397) [RFC] change the POM to use attributes
Date Thu, 23 Jan 2014 11:19:50 GMT

    [ https://jira.codehaus.org/browse/MNG-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=339860#comment-339860
] 

Jifeng Zhang commented on MNG-3397:
-----------------------------------

It would be great to have this feature. At least 50% of the lines of my poms are the dependencies
section. With the support of using attributes, the dependency section will be reduced at least
70% in length and more easy to read.

For example, from 4 lines:
<dependency>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-surefire-plugin</artifactId>
	<version>2.16</version>
</dependency>
            
to one line:
<dependency groupId="org.apache.maven.plugins" artifactId="maven-surefire-plugin" version="2.16"/>


                
> [RFC] change the POM to use attributes
> --------------------------------------
>
>                 Key: MNG-3397
>                 URL: https://jira.codehaus.org/browse/MNG-3397
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 2.0.8
>            Reporter: Brett Porter
>             Fix For: Issues to be reviewed for 4.x
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message