The following comment has been added to this issue:
Author: Brett Porter
Created: Sun, 24 Oct 2004 4:42 PM
Body:
I meant I wasn't sure why the attempt to use the other xsd for maven.xml.
The amount of maven.xml that could be successfully described is no very much (just the
default namespace), and then the use of ant tags will fail if not under the "ant:"
namespace, which is currently still legitimate.
So there won't be an XSD for maven.xml.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1419?page=comments#action_25753
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1419
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1419
Summary: having maven xmlns causes 'Goal "xxx" does not exist in this project'
Type: Improvement
Status: Closed
Priority: Minor
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Assignee:
Reporter: Malachi de AElfweald
Created: Sun, 8 Aug 2004 12:01 AM
Updated: Sun, 24 Oct 2004 4:42 PM
Description:
I had added this to my maven.xml so that the editor could validate and suggest tag
names:
xmlns="http://maven.apache.org/xsd/maven-project-3.0.0.xsd"
built-in goals worked fine. however, trying to access any goals in the project by name
would say:
'Goal "xxx" does not exist in this project.'
Searching Google, I found many people who had that problem, but were unsure how to fix
it. The only suggestion I even found was to delete the *.cache files, which did not
help.
Removing the xmlns, the goals work fine. Either maven should be able to handle this,
or the documentation should at least warn against doing it.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]