You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Leo Yamamoto <le...@veritas.com> on 2003/10/28 00:35:35 UTC

j:import breaks java:compile.

Using j:import in maven.xml seems to cause java:compile to break with Maven
1.0-rc1. Here's the setup:

project.xml: (nothing needed here)
<?xml version="1.0"?>
<project />

maven.xml: (import a separate file)
<project xmlns:j="jelly:core" xmlns:u="jelly:util">
    <j:import file="${basedir}/import.xml" inherit="true"/>
</project>

import.xml: (the import file)
<project xmlns:j="jelly:core" xmlns:util="jelly:util">
    <goal name="boom" prereqs="java:compile" />
</project>

If you run the command "maven boom" you get this output:
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

INTERNAL ERROR
Reference made to goal 'java:compile' which has no definition.


Am I doing something wrong?

-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org