You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/05/18 19:15:13 UTC
[jira] [Updated] (MNG-5991) Use xml attributes to shorten POM
[ https://issues.apache.org/jira/browse/MNG-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MNG-5991:
--------------------------------
Fix Version/s: (was: Issues to be reviewed for 4.x)
> Use xml attributes to shorten POM
> ---------------------------------
>
> Key: MNG-5991
> URL: https://issues.apache.org/jira/browse/MNG-5991
> Project: Maven
> Issue Type: New Feature
> Components: POM
> Reporter: Frank Lloyd Teh
>
> Is it possible to greatly shorten the pom by using xml attributes ?
> For example the dependency element :
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.0</version>
> <type>jar</type>
> <scope>test</scope>
> <optional>true</optional>
> </dependency>
> Can be shortened to
> <dependency groupId="junit" artifactId="junit" version="4.0" type="jar" scope="test" optional="true" />
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)