I figured this one out. It turns out it was the maven-dependency-plugin that was causing the error not the war plugin.
-Dave On Wed, Apr 1, 2009 at 5:50 PM, David Hoffer <[email protected]> wrote: > I have a multi-module maven build, where one of the modules is just a > pom type that aggregates a bunch of dependencies. I reference this > pom type module in two other modules. One of the other modules has > jar packaging and it works fine, the other has war packaging and it > gives errors when I do an install. Here is the error: > > [ERROR] BUILD ERROR > [INFO] Unknown archiver type > Embedded error: No such archiver: 'pom'. > > I'm expecting the war plugin to read the pom type module, get all its > dependencies, and add them to the war. I realize I could change the > pom type module to be a jar type but then its going to build an empty > jar (cause I got no source) that I don't want. > > Am I doing something wrong or is there a bug in the war plugin? I'm > using 2.0.2 w/ maven 2.0.9. > > Is there a better way to do this? > > -Dave > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
