I'm just using the build-maven.xml that comes in examples/ and the maven:jar target just calls the plugins/core/build.xml straight away anyway. It sounds from what you're saying that I would need to modify plugins/core/build.xml but I don't understand why that wouldn't work out of the box.
Even if inheritRefs="true" is put on all the Ant tasks, what sets maven.dependency.classpath in the first place? Thanks James ----- Original Message ----- From: "Martin van den Bemt" <[EMAIL PROTECTED]> To: "Turbine Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 7:28 AM Subject: Re: Reference maven.dependency.classpath not found > 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]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
