I use mvn install. I just mean that when I use <packaging>war</packaging> in my POM file my classes for some uncertain reason don't resolve classes from other libraries though I use <dependency>...</dependency>.
Wendy Smoak-3 wrote: > > [moved from [EMAIL PROTECTED] > > On Wed, Oct 15, 2008 at 5:58 AM, svenson <[EMAIL PROTECTED]> wrote: > >> I've encountered the following problem. I work on a web project so to >> deploy >> it on a server I need to create a WAR file. My project depends on a few >> libraries and a few projects created by other developers( their projects >> also have dependencies). Whenever I use <packaging>war</packaging> in my >> project's POM file, my project doesn't "see" classes from the projects of >> my >> colleagues but when I switch to <packaging>jar</packaging> it goes >> perfectly >> fine. What should I do to create a WAR file by Maven ? Thanks in advance. > > What do you mean by your project doesn't "see" classes from the other > projects? What command did you execute, and what error do you get? > > -- > Wendy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Re%3A-Failure-to-create-a-WAR-file-tp19993976p20007257.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]
