Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Sat, 23 Oct 2004 2:12 AM
that xsd is for project.xml, not maven.xml. I've not seen others with this problem,
nor any advice to try it in the documentation - so I'm not sure why you would want to
do it.
---------------------------------------------------------------------
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: Sat, 23 Oct 2004 2:12 AM
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]