So why doesn't a multi-module build collect the test-jars into the reactor classpath? Is this a known issue of some sort? I managed to crash into this headlong today... :)
On 6/7/07, Eric Redmond <[EMAIL PROTECTED]> wrote:
Sounds like one of your modules has a dependency on a project that generates a test-jar. Sorry to say, but you actually have to run "mvn install" - so the test-jar can be packaged and installed so the module that requires it can access it. It works via "mvn compile" because no test is run, hence no test scope dependencies. Eric On 6/7/07, Mac Systems <[EMAIL PROTECTED]> wrote: > > Hello Maven Users, > > i'd like to how this can happen: > > I have an Multiprojekt: > > "mvn compile" > > work well, all is compiled! > > If i do > > "mvn package" > > i get an Error that some package and test-jar not found. Can someone > explain a bit how this can happen ? > > greets, > Jens > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Eric Redmond http://www.sonatype.com
-- "My friends tell me I have an intimacy problem. But they don't really know me." -- Garry Shandling Anyone who has the power to make you believe absurdities has the power to make you commit injustices. -- Voltaire
