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/06/16 23:26:00 UTC

[jira] Created: (MAVEN-1323) Pre-goal executes for a non-existent goal

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1323

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1323
    Summary: Pre-goal executes for a non-existent goal
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: thierry lach

    Created: Wed, 16 Jun 2004 5:25 PM
    Updated: Wed, 16 Jun 2004 5:25 PM
Environment: C:\work\maven>maven --info
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.4.1_02
file.encoding=Cp1252
java.ext.dirs=c:\j2sdk1.4.1_02\jre\lib\ext
java.class.path=C:\apache-maven-1.0-rc3\lib\forehead-1.0-beta-5.jar
os.name=Windows 2000
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=C:\apache-maven-1.0-rc3\lib\endorsed\xerces-2.4.0.jar;C:\apache-maven-1.0-rc3\lib\endorsed\xml-apis-1.0.b2.jar;c
:\j2sdk1.4.1_02\jre\lib\rt.jar;c:\j2sdk1.4.1_02\jre\lib\i18n.jar;c:\j2sdk1.4.1_02\jre\lib\sunrsasign.jar;c:\j2sdk1.4.1_02\jre\lib\js
se.jar;c:\j2sdk1.4.1_02\jre\lib\jce.jar;c:\j2sdk1.4.1_02\jre\lib\charsets.jar;c:\j2sdk1.4.1_02\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#----   END: Which report

Installed plugins:
  maven-castor-plugin-1.2
  maven-site-plugin-1.5
  maven-multiproject-plugin-1.3
  maven-jdepend-plugin-1.5
  maven-clover-plugin-1.5
  maven-genapp-plugin-2.2
  maven-jbuilder-plugin-1.5
  maven-jboss-plugin-1.5
  maven-eclipse-plugin-plugin-0.3-SNAPSHOT
  maven-dashboard-plugin-1.3
  maven-artifact-plugin-1.2
  maven-developer-activity-plugin-1.5
  maven-war-plugin-1.6
  maven-native-plugin-1.1
  maven-cruisecontrol-plugin-1.2
  maven-webserver-plugin-2.0
  maven-docbook-plugin-1.2
  maven-deploy-plugin-1.3
  maven-ear-plugin-1.5
  maven-repository-plugin-1.2
  maven-j2ee-plugin-1.5
  maven-jnlp-plugin-1.3
  maven-linkcheck-plugin-1.2
  maven-javadoc-plugin-1.5
  maven-vdoclet-plugin-1.2
  maven-hibernate-plugin-1.1
  maven-bbdo-plugin-1.0.4-SNAPSHOT
  maven-torque-plugin-3.2-dev-SNAPSHOT
  maven-appserver-plugin-2.0
  maven-antlr-plugin-1.2
  maven-jira-plugin-1.1
  maven-ant-plugin-1.7
  maven-gump-plugin-1.3
  maven-tomcat-plugin-1.1
  maven-tasklist-plugin-2.3
  maven-xdoc-plugin-1.7.1
  maven-ashkelon-plugin-1.2
  maven-tjdo-plugin-1.0.0
  maven-html2xdoc-plugin-1.3
  maven-announcement-plugin-1.1
  maven-pmd-plugin-1.4
  maven-jxr-plugin-1.4
  maven-struts-plugin-1.3
  maven-latka-plugin-1.4
  maven-junit-doclet-plugin-1.2
  maven-pom-plugin-1.4
  maven-changelog-plugin-1.5
  maven-clean-plugin-1.2
  maven-license-plugin-1.2
  maven-jetty-plugin-1.1
  maven-jdee-plugin-1.1
  maven-file-activity-plugin-1.5
  maven-jcoverage-plugin-1.0.4
  maven-jar-plugin-1.5
  maven-scm-plugin-1.3
  maven-aspectwerkz-plugin-1.2
  maven-faq-plugin-1.3
  maven-plugin-plugin-1.3
  maven-dist-plugin-1.5
  maven-jellydoc-plugin-1.3
  maven-javacc-plugin-1.1
  maven-shell-plugin-1.1
  maven-simian-plugin-1.4
  maven-ejb-plugin-1.4
  maven-jdiff-plugin-1.3
  maven-java-plugin-1.4
  maven-console-plugin-1.1
  maven-pdf-plugin-2.1
  maven-release-plugin-1.3
  maven-changes-plugin-1.4
  maven-nsis-plugin-1.0
  maven-checkstyle-plugin-2.4.1
  maven-wizard-plugin-1.1
  maven-uberjar-plugin-1.2
  maven-caller-plugin-1.1
  maven-junit-report-plugin-1.5
  maven-eclipse-plugin-1.7
  maven-latex-plugin-1.2
  maven-jdeveloper-plugin-1.4
  maven-aspectj-plugin-3.0
  maven-idea-plugin-1.4
  maven-jalopy-plugin-1.2
  maven-test-plugin-1.6.1
  maven-multichanges-plugin-1.1
Home Build properties: {maven.oracle.home=OraHome92, maven.oracle.sid=ORCL}
C:\work\maven>

Description:
Create the following maven.xml in an empty directory.

<project default="jar:jar"
    xmlns:ant="jelly:ant">

  <preGoal name="some-fake-goal">
	  <ant:echo>Executing pre-goal</ant:echo>
  </preGoal>

  <postGoal name="some-fake-goal">
	  <ant:echo>Executing post-goal</ant:echo>
  </postGoal>

</project>

Execute "maven some-fake-goal"

The preGoal executes, then fails when attempting to execute the goal.

C:\work\maven>maven some-fake-goal
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

build:start:

some-fake-goal:
    [echo] Executing pre-goal
INTERNAL ERROR
Reference made to goal 'some-fake-goal' which has no definition.


You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above




---------------------------------------------------------------------
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-1323) Pre-goal executes for a non-existent goal

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Thu, 23 Sep 2004 7:45 PM

done - to commit
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1323

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1323
    Summary: Pre-goal executes for a non-existent goal
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0.1
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: thierry lach

    Created: Wed, 16 Jun 2004 5:25 PM
    Updated: Thu, 23 Sep 2004 7:45 PM
Environment: C:\work\maven>maven --info
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.4.1_02
file.encoding=Cp1252
java.ext.dirs=c:\j2sdk1.4.1_02\jre\lib\ext
java.class.path=C:\apache-maven-1.0-rc3\lib\forehead-1.0-beta-5.jar
os.name=Windows 2000
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=C:\apache-maven-1.0-rc3\lib\endorsed\xerces-2.4.0.jar;C:\apache-maven-1.0-rc3\lib\endorsed\xml-apis-1.0.b2.jar;c
:\j2sdk1.4.1_02\jre\lib\rt.jar;c:\j2sdk1.4.1_02\jre\lib\i18n.jar;c:\j2sdk1.4.1_02\jre\lib\sunrsasign.jar;c:\j2sdk1.4.1_02\jre\lib\js
se.jar;c:\j2sdk1.4.1_02\jre\lib\jce.jar;c:\j2sdk1.4.1_02\jre\lib\charsets.jar;c:\j2sdk1.4.1_02\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#----   END: Which report

Installed plugins:
  maven-castor-plugin-1.2
  maven-site-plugin-1.5
  maven-multiproject-plugin-1.3
  maven-jdepend-plugin-1.5
  maven-clover-plugin-1.5
  maven-genapp-plugin-2.2
  maven-jbuilder-plugin-1.5
  maven-jboss-plugin-1.5
  maven-eclipse-plugin-plugin-0.3-SNAPSHOT
  maven-dashboard-plugin-1.3
  maven-artifact-plugin-1.2
  maven-developer-activity-plugin-1.5
  maven-war-plugin-1.6
  maven-native-plugin-1.1
  maven-cruisecontrol-plugin-1.2
  maven-webserver-plugin-2.0
  maven-docbook-plugin-1.2
  maven-deploy-plugin-1.3
  maven-ear-plugin-1.5
  maven-repository-plugin-1.2
  maven-j2ee-plugin-1.5
  maven-jnlp-plugin-1.3
  maven-linkcheck-plugin-1.2
  maven-javadoc-plugin-1.5
  maven-vdoclet-plugin-1.2
  maven-hibernate-plugin-1.1
  maven-bbdo-plugin-1.0.4-SNAPSHOT
  maven-torque-plugin-3.2-dev-SNAPSHOT
  maven-appserver-plugin-2.0
  maven-antlr-plugin-1.2
  maven-jira-plugin-1.1
  maven-ant-plugin-1.7
  maven-gump-plugin-1.3
  maven-tomcat-plugin-1.1
  maven-tasklist-plugin-2.3
  maven-xdoc-plugin-1.7.1
  maven-ashkelon-plugin-1.2
  maven-tjdo-plugin-1.0.0
  maven-html2xdoc-plugin-1.3
  maven-announcement-plugin-1.1
  maven-pmd-plugin-1.4
  maven-jxr-plugin-1.4
  maven-struts-plugin-1.3
  maven-latka-plugin-1.4
  maven-junit-doclet-plugin-1.2
  maven-pom-plugin-1.4
  maven-changelog-plugin-1.5
  maven-clean-plugin-1.2
  maven-license-plugin-1.2
  maven-jetty-plugin-1.1
  maven-jdee-plugin-1.1
  maven-file-activity-plugin-1.5
  maven-jcoverage-plugin-1.0.4
  maven-jar-plugin-1.5
  maven-scm-plugin-1.3
  maven-aspectwerkz-plugin-1.2
  maven-faq-plugin-1.3
  maven-plugin-plugin-1.3
  maven-dist-plugin-1.5
  maven-jellydoc-plugin-1.3
  maven-javacc-plugin-1.1
  maven-shell-plugin-1.1
  maven-simian-plugin-1.4
  maven-ejb-plugin-1.4
  maven-jdiff-plugin-1.3
  maven-java-plugin-1.4
  maven-console-plugin-1.1
  maven-pdf-plugin-2.1
  maven-release-plugin-1.3
  maven-changes-plugin-1.4
  maven-nsis-plugin-1.0
  maven-checkstyle-plugin-2.4.1
  maven-wizard-plugin-1.1
  maven-uberjar-plugin-1.2
  maven-caller-plugin-1.1
  maven-junit-report-plugin-1.5
  maven-eclipse-plugin-1.7
  maven-latex-plugin-1.2
  maven-jdeveloper-plugin-1.4
  maven-aspectj-plugin-3.0
  maven-idea-plugin-1.4
  maven-jalopy-plugin-1.2
  maven-test-plugin-1.6.1
  maven-multichanges-plugin-1.1
Home Build properties: {maven.oracle.home=OraHome92, maven.oracle.sid=ORCL}
C:\work\maven>

Description:
Create the following maven.xml in an empty directory.

<project default="jar:jar"
    xmlns:ant="jelly:ant">

  <preGoal name="some-fake-goal">
	  <ant:echo>Executing pre-goal</ant:echo>
  </preGoal>

  <postGoal name="some-fake-goal">
	  <ant:echo>Executing post-goal</ant:echo>
  </postGoal>

</project>

Execute "maven some-fake-goal"

The preGoal executes, then fails when attempting to execute the goal.

C:\work\maven>maven some-fake-goal
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

build:start:

some-fake-goal:
    [echo] Executing pre-goal
INTERNAL ERROR
Reference made to goal 'some-fake-goal' which has no definition.


You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above




---------------------------------------------------------------------
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] Updated: (MAVEN-1323) Pre-goal executes for a non-existent goal

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Fri, 23 Jul 2004 2:22 AM
    Changes:
             Fix Version changed to 1.0.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1323?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1323

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1323
    Summary: Pre-goal executes for a non-existent goal
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0.1
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: thierry lach

    Created: Wed, 16 Jun 2004 5:25 PM
    Updated: Fri, 23 Jul 2004 2:22 AM
Environment: C:\work\maven>maven --info
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.4.1_02
file.encoding=Cp1252
java.ext.dirs=c:\j2sdk1.4.1_02\jre\lib\ext
java.class.path=C:\apache-maven-1.0-rc3\lib\forehead-1.0-beta-5.jar
os.name=Windows 2000
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=C:\apache-maven-1.0-rc3\lib\endorsed\xerces-2.4.0.jar;C:\apache-maven-1.0-rc3\lib\endorsed\xml-apis-1.0.b2.jar;c
:\j2sdk1.4.1_02\jre\lib\rt.jar;c:\j2sdk1.4.1_02\jre\lib\i18n.jar;c:\j2sdk1.4.1_02\jre\lib\sunrsasign.jar;c:\j2sdk1.4.1_02\jre\lib\js
se.jar;c:\j2sdk1.4.1_02\jre\lib\jce.jar;c:\j2sdk1.4.1_02\jre\lib\charsets.jar;c:\j2sdk1.4.1_02\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#----   END: Which report

Installed plugins:
  maven-castor-plugin-1.2
  maven-site-plugin-1.5
  maven-multiproject-plugin-1.3
  maven-jdepend-plugin-1.5
  maven-clover-plugin-1.5
  maven-genapp-plugin-2.2
  maven-jbuilder-plugin-1.5
  maven-jboss-plugin-1.5
  maven-eclipse-plugin-plugin-0.3-SNAPSHOT
  maven-dashboard-plugin-1.3
  maven-artifact-plugin-1.2
  maven-developer-activity-plugin-1.5
  maven-war-plugin-1.6
  maven-native-plugin-1.1
  maven-cruisecontrol-plugin-1.2
  maven-webserver-plugin-2.0
  maven-docbook-plugin-1.2
  maven-deploy-plugin-1.3
  maven-ear-plugin-1.5
  maven-repository-plugin-1.2
  maven-j2ee-plugin-1.5
  maven-jnlp-plugin-1.3
  maven-linkcheck-plugin-1.2
  maven-javadoc-plugin-1.5
  maven-vdoclet-plugin-1.2
  maven-hibernate-plugin-1.1
  maven-bbdo-plugin-1.0.4-SNAPSHOT
  maven-torque-plugin-3.2-dev-SNAPSHOT
  maven-appserver-plugin-2.0
  maven-antlr-plugin-1.2
  maven-jira-plugin-1.1
  maven-ant-plugin-1.7
  maven-gump-plugin-1.3
  maven-tomcat-plugin-1.1
  maven-tasklist-plugin-2.3
  maven-xdoc-plugin-1.7.1
  maven-ashkelon-plugin-1.2
  maven-tjdo-plugin-1.0.0
  maven-html2xdoc-plugin-1.3
  maven-announcement-plugin-1.1
  maven-pmd-plugin-1.4
  maven-jxr-plugin-1.4
  maven-struts-plugin-1.3
  maven-latka-plugin-1.4
  maven-junit-doclet-plugin-1.2
  maven-pom-plugin-1.4
  maven-changelog-plugin-1.5
  maven-clean-plugin-1.2
  maven-license-plugin-1.2
  maven-jetty-plugin-1.1
  maven-jdee-plugin-1.1
  maven-file-activity-plugin-1.5
  maven-jcoverage-plugin-1.0.4
  maven-jar-plugin-1.5
  maven-scm-plugin-1.3
  maven-aspectwerkz-plugin-1.2
  maven-faq-plugin-1.3
  maven-plugin-plugin-1.3
  maven-dist-plugin-1.5
  maven-jellydoc-plugin-1.3
  maven-javacc-plugin-1.1
  maven-shell-plugin-1.1
  maven-simian-plugin-1.4
  maven-ejb-plugin-1.4
  maven-jdiff-plugin-1.3
  maven-java-plugin-1.4
  maven-console-plugin-1.1
  maven-pdf-plugin-2.1
  maven-release-plugin-1.3
  maven-changes-plugin-1.4
  maven-nsis-plugin-1.0
  maven-checkstyle-plugin-2.4.1
  maven-wizard-plugin-1.1
  maven-uberjar-plugin-1.2
  maven-caller-plugin-1.1
  maven-junit-report-plugin-1.5
  maven-eclipse-plugin-1.7
  maven-latex-plugin-1.2
  maven-jdeveloper-plugin-1.4
  maven-aspectj-plugin-3.0
  maven-idea-plugin-1.4
  maven-jalopy-plugin-1.2
  maven-test-plugin-1.6.1
  maven-multichanges-plugin-1.1
Home Build properties: {maven.oracle.home=OraHome92, maven.oracle.sid=ORCL}
C:\work\maven>

Description:
Create the following maven.xml in an empty directory.

<project default="jar:jar"
    xmlns:ant="jelly:ant">

  <preGoal name="some-fake-goal">
	  <ant:echo>Executing pre-goal</ant:echo>
  </preGoal>

  <postGoal name="some-fake-goal">
	  <ant:echo>Executing post-goal</ant:echo>
  </postGoal>

</project>

Execute "maven some-fake-goal"

The preGoal executes, then fails when attempting to execute the goal.

C:\work\maven>maven some-fake-goal
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

build:start:

some-fake-goal:
    [echo] Executing pre-goal
INTERNAL ERROR
Reference made to goal 'some-fake-goal' which has no definition.


You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above




---------------------------------------------------------------------
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