You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/07 04:03:11 UTC
[jira] Created: (MNG-1120) don't require if there is a valid schema element
don't require <modelVersion /> if there is a valid schema element
-----------------------------------------------------------------
Key: MNG-1120
URL: http://jira.codehaus.org/browse/MNG-1120
Project: Maven 2
Type: Bug
Reporter: Brett Porter
Priority: Minor
Fix For: 2.0.1
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1120) don't require if there is a valid schema element
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1120?page=all ]
John Casey updated MNG-1120:
----------------------------
Fix Version: (was: 2.0.1)
2.0.2
> don't require <modelVersion /> if there is a valid schema element
> -----------------------------------------------------------------
>
> Key: MNG-1120
> URL: http://jira.codehaus.org/browse/MNG-1120
> Project: Maven 2
> Type: Bug
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 2.0.2
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1120) don't require if there is a valid schema element
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1120?page=comments#action_48509 ]
fabrizio giustina commented on MNG-1120:
----------------------------------------
I had a look at this, but the first step is making the POM readers/writers xsd aware... at the moment when a project is rewritten the xsd declaration is lost (I just saw that all the xsd declarations in the m2 codebase have been removed during releases :/). Probably the xsd removal should be considered a bug itself...
Going on, since POM readers/writers are generated using modello we first need a way to add xml attributes to the Model element in maven.mdo: I couldn't find any way to do that, so I guess modello doesn't support that at all? Can anybody confirm it?
> don't require <modelVersion /> if there is a valid schema element
> -----------------------------------------------------------------
>
> Key: MNG-1120
> URL: http://jira.codehaus.org/browse/MNG-1120
> Project: Maven 2
> Type: Bug
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 2.0.1
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1120) don't require if there is a valid schema element
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1120?page=comments#action_48904 ]
fabrizio giustina commented on MNG-1120:
----------------------------------------
The XSD declaration in the POM is unneccessary for M2, true, but it's very useful for anybody who has to edit a pom.xml file! You usually gets check-as-you-type validation, auto completition, documentation and suggestions if you are using an IDE which undestands xml schemas.
> The only real important thing is the namespace, which is currently unused, since it's presence doesn't matter.
right, this issue should be "don't require <modelVersion /> if a valid namespace is required", but preserving the xsd declariation is also important...
> don't require <modelVersion /> if there is a valid schema element
> -----------------------------------------------------------------
>
> Key: MNG-1120
> URL: http://jira.codehaus.org/browse/MNG-1120
> Project: Maven 2
> Type: Bug
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 2.0.1
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1120) don't require if there
is a valid schema element
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1120?page=all ]
Jason van Zyl updated MNG-1120:
-------------------------------
Fix Version: (was: 2.0.3)
2.1.1
> don't require <modelVersion /> if there is a valid schema element
> -----------------------------------------------------------------
>
> Key: MNG-1120
> URL: http://jira.codehaus.org/browse/MNG-1120
> Project: Maven 2
> Type: Bug
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 2.1.1
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1120) don't require if there is a valid schema element
Posted by "Kenney Westerhof (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1120?page=comments#action_48903 ]
Kenney Westerhof commented on MNG-1120:
---------------------------------------
The XSD declaration in the POM is unneccessary; M2 can validate that pom even without it. I could write a simple XSD
that validates my bogus pom.xml, but that will only confuse m2.
The only real important thing is the namespace, which is currently unused, since it's presence doesn't matter.
> don't require <modelVersion /> if there is a valid schema element
> -----------------------------------------------------------------
>
> Key: MNG-1120
> URL: http://jira.codehaus.org/browse/MNG-1120
> Project: Maven 2
> Type: Bug
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 2.0.1
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1120) don't require if there
is a valid schema element
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1120?page=all ]
Jason van Zyl updated MNG-1120:
-------------------------------
Fix Version: (was: 2.1.1)
2.0.4
> don't require <modelVersion /> if there is a valid schema element
> -----------------------------------------------------------------
>
> Key: MNG-1120
> URL: http://jira.codehaus.org/browse/MNG-1120
> Project: Maven 2
> Type: Bug
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 2.0.4
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org