You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/08 06:03:14 UTC

[jira] Created: (MAVEN-1419) having maven xmlns causes 'Goal "xxx" does not exist in this project'

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Minor

 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, 8 Aug 2004 12:01 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MAVEN-1419) having maven xmlns causes 'Goal "xxx" does not exist in this project'

Posted by ji...@codehaus.org.
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MAVEN-1419) having maven xmlns causes 'Goal "xxx" does not exist in this project'

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Malachi de AElfweald
    Created: Sun, 24 Oct 2004 12:11 PM
       Body:
Well, I can answer that for you.

If you put the right xmlns in, then visual editors will quit showing it as an error and also popup with the valid options whenever you start to type a new tag or attribute.

Realistically, the schemas for the various XML formats should be mentioned in the documentation; as it would be easier for developers to write tools for maven.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1419?page=comments#action_25751

---------------------------------------------------------------------
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 12:11 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MAVEN-1419) having maven xmlns causes 'Goal "xxx" does not exist in this project'

Posted by ji...@codehaus.org.
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org