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/12/31 05:27:39 UTC
[jira] Closed: (MAVEN-202) unable to override java:jar
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Tue, 30 Dec 2003 10:27 PM
this now works (although not this particular test case as the project.xml is not valid). However, overriding goals in maven.xml, including jar:jar, definitely works.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-202
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-202
Summary: unable to override java:jar
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.0-rc2
Versions:
1.0-beta-8
Assignee:
Reporter: Charles Chan
Created: Tue, 14 Jan 2003 10:09 AM
Updated: Tue, 30 Dec 2003 10:27 PM
Description:
(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?
Charles
---------------------------------------------------------------------
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