What error messages are you seeing? running mvn -X should give much more detailed messages. I know that helped me a lot when debugging assembly problems.
On Wed, Dec 29, 2010 at 7:45 AM, Steve Cohen <[email protected]> wrote: > On 12/29/2010 09:21 AM, Steve Cohen wrote: > >> Aargh! >> >> Following the pattern outlined here: >> >> >> http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html >> >> >> I create POM's and assembly descriptors fitting that model. >> >> All of the submodules are built and installed in a local repository. The >> parts of maven that do that have no problem finding this local >> repository or knowing that that's where they should be installed to. >> >> But when the assembly plugin goes to build the final assembly, it isn't >> finding these modules in the local repository WHICH ARE THERE! >> >> Must I specify the local repository in the assembly descriptor? >> >> This was NOT necessary when I built the same thing with m2eclipse. >> >> Shoot me now and get it over with! >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> >> > Perhaps shedding some light on the above is this detail: > > I see in the maven debug output, the following: > > [DEBUG] Reading resolution tracking file > /home/.../.m2/repository/com/whatever/bpm-dist/0.0.3-SNAPSHOT/_maven.repositories > [DEBUG] Writing resolution tracking file > /home/.../.m2/repository/com/whatever/bpm-dist/0.0.3-SNAPSHOT/_maven.repositories > > This _maven.repositories file has the following content: > > #NOTE: This is an internal implementation file, its format can be changed > without prior notice. > #Wed Dec 29 10:26:30 EST 2010 > bpm-dist-0.0.3-SNAPSHOT.zip>= > bpm-dist-0.0.3-SNAPSHOT.pom>= > > I don't know what this means, but it seems to significant that when this > thing built successfully under m2eclipse, this file was NOT present in that > machine's local repository. > > What am I doing wrong? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
