If you call maven targets (and depend on maven targets), you have to use
inheritRefs="true" , since it defaults to false and therefore loses the
maven.dependency.classpath reference (see ant documentation for that).
It will not initialize that data again, since it checks for a property
(which comes through by default) if it is already initialized, which it
will be after the first maven target call.

Mvgr,
Martin

On Wed, 2002-07-03 at 00:51, James Tauber wrote:
> I'm just setting up my first Maven project (using 1.0b4) and after following
> the Getting Started documentation and trying
> 
>     ant -f build-maven.xml maven:jar
> 
> I get the following error message:
> 
>     [...]
>     do-env:
> 
>     BUILD FAILED
> 
>     /usr/local/maven/plugins/core/build.xml:1065: Reference
> maven.dependency.classpath not found.
> 
> What is this error message an indication of? I can't see anywhere where it
> says I need to set maven.dependency.classpath. What's the solution?
> 
> Thanks in advance
> 
> James Tauber
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to