maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Lloyd Teh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MNG-5991) Use xml attributes to shorten POM
Date Sun, 27 Mar 2016 09:30:25 GMT
Frank Lloyd Teh created MNG-5991:
------------------------------------

             Summary: 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
    Affects Versions: Issues to be reviewed for 4.x
            Reporter: Frank Lloyd Teh
             Fix For: Issues to be reviewed for 4.x


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)

Mime
View raw message