You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gin-Ting Chen (JIRA)" <ji...@codehaus.org> on 2009/03/16 18:52:13 UTC
[jira] Created: (MNG-4090) Allow attribute based configuration
Allow attribute based configuration
-----------------------------------
Key: MNG-4090
URL: http://jira.codehaus.org/browse/MNG-4090
Project: Maven 2
Issue Type: Bug
Reporter: Gin-Ting Chen
Currently we do:
{code}
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<scope>test</scope>
</dependency>
{code}
It would reduce alot of verbosity in xml configurations if we could instead do:
{code}
<dependency groupId="junit" artifactId="junit" version="4.5" scope="test"/>
{code}
I understand that we are using xstream and it didn't support attribute based xml but now it does so it would be nice to add this feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-4090) Allow attribute based configuration
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wendy Smoak closed MNG-4090.
----------------------------
Resolution: Duplicate
Duplicate of MNG-3397
> Allow attribute based configuration
> -----------------------------------
>
> Key: MNG-4090
> URL: http://jira.codehaus.org/browse/MNG-4090
> Project: Maven 2
> Issue Type: Bug
> Reporter: Gin-Ting Chen
>
> Currently we do:
> {code}
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.5</version>
> <scope>test</scope>
> </dependency>
> {code}
> It would reduce alot of verbosity in xml configurations if we could instead do:
> {code}
> <dependency groupId="junit" artifactId="junit" version="4.5" scope="test"/>
> {code}
> I understand that we are using xstream and it didn't support attribute based xml but now it does so it would be nice to add this feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira