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 2003/10/03 06:42:08 UTC

[jira] Updated: (MAVEN-332) INTERNAL ERROR: Trying to override java:jar

The following issue has been updated:

    Updater: dion gillard (mailto:dion@apache.org)
       Date: Thu, 2 Oct 2003 11:41 PM
    Comment:
No reply
    Changes:
             Fix Version changed to 1.0-final
             Fix Version changed from 1.0-rc2
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-332&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-332


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-332
    Summary: INTERNAL ERROR: Trying to override java:jar
       Type: Bug

     Status: Assigned
   Priority: Critical

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-final
   Versions:
             1.0-beta-9

   Assignee: Jason van Zyl
   Reporter: Charles Chan

    Created: Wed, 12 Mar 2003 4:32 PM
    Updated: Thu, 2 Oct 2003 11:41 PM

Description:
On Thu, 2003-01-09 at 10:20, Chan, Charles wrote:
> (I am using Maven-CVS Head)
> 
> Hi, I am trying to replace java:jar target but when I invoke jar:install, I
> get the following error:
> 
> INTERNAL ERROR
> Reference made to goal 'test:test' which has no definition.
> 
> 
> Here's my maven.xml:
> 
> <project xmlns:j="jelly:core">
> 
>   <goal name="java:jar">
>     <echo>TEST</echo>
>   </goal>
> 
> </project>
> 
> project.xml
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project>
>   <pomVersion>3</pomVersion>
>   <id>test</id>
>   <name>Test</name>
> </project>
> 
> I invoke "maven jar:install"
> 
> However, if I duplicate jar:install (copy and paste from plugin.jelly) in my
> maven.xml, everything works (I have to change prereqs to attainGoal,
> however)
> 
> Any idea?

Yup, it's a little prereq bug in the plugin dependency processing. Will
try to clear this up today. It's biting me too :-) And I'll add
something to the touchstone too.

> Charles
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.


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