Re: [picocontainer-dev] [NanoContainer] Maven 2 Multiproject Build Error?
Mauro Talevi <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael Rimov wrote: > Hi All! > > > > Environment: > > Version: Maven 2.0.3 > > JDK 1.5.0_06 Win > > > > > > I’ve been trying to wrestle with the Maven 2 build files and so far > Maven keeps winning. > > > > The problem appears to be only related to the multiproject builds. > > > > -PicoContainer Multiproject Build Works Fine > > > > -If I cd into each nanocontainer directory and manually use mvn install > for each component everything works fine. > > > > -Nanocontainer mutiproject build fails. > > > > I took a look into it and for some reason when doing a multiproject > build, the main container source is getting compiled into: > > *nanocontainer/target* > > while the test code is getting compiled into > > *nanocontainer/container/target* > Can't reproduce with maven 2.0.3 Mac JDK 1.5.0_05. I've committed a new parent pom which takes into account the missing dependency on proxytoys. Also the javadoc reports seem to be failing with 2.0.3 - I've commented it out pending investigation. Perhaps your problem is windows specific. But I'm puzzled that it works for pico and not nano! Have you tried a mvn clean install? Can someone on Windows reproduce this problems? Cheers