It may help if you explicitly marked the dependency as being of type war, since it looks like it's looking for a jar of the same group/artifactId.
On Tue, May 12, 2009 at 11:15 PM, KurtG <[email protected]> wrote: > > > I did a 'mvn install' my web app module with no problems and my war file is > definitely in my ~/.m2 repository. However, when I build my ear, I get > this: > > Missing: > ---------- > 1) my.xxx.company:SideWinderWeb:jar:3.1-snapshot > > But, it's not a 'jar'; it's a 'war' file. > > However, my pom clearly lists it as a webModule: > > <webModule> > <groupId>my.xxx.company</groupId> > <artifactId>SideWinderWeb</artifactId> > <classifier>none</classifier> > <contextRoot>SideWinderWeb</contextRoot> > </webModule> > > and a dependency: > > <dependency> > <groupId>my.xxx.company</groupId> > <artifactId>SideWinderWeb</artifactId> > <version>${project.version}</version> > </dependency> > > The pom for 'SideWinderWeb' has packaging as a 'war' file. Ideas? > > --Kurt > > > -- > View this message in context: > http://www.nabble.com/Newbie---EAR-plugin-can%27t-find-my-war-file.-tp23510712p23510712.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
