Do you have one pom with one war artifact and one jar dependency, or do you have one parent pom (maven 2) with two modules/artifacts?
I guess you want your jar in [war]/WEB-INF/lib when deployed to server? The jar artifact should be included into lib if spesified as a dependency. The war plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. With install, do you mean install into appserver or do you mean maven install aka uploading to local repository? If you meant install to appserver take a look at Cargo, http://cargo.codehaus.org/Maven2+plugin, if the latter look at http://maven.apache.org/plugins/maven-install-plugin/ in short just run 'mvn install'. I guess it was the first you were after? :-) -Ronny -----Opprinnelig melding----- Fra: Neeraj Bisht [mailto:[EMAIL PROTECTED] Sendt: 9. oktober 2006 08:40 Til: users@maven.apache.org Emne: jar and war together hi all i want to install jar and war from one pom but how i can achieve this i do not know i tried and able to made the jar and war from single pom but able only to install one ,either jar or war can any one tell me how i can install or deploy both jar and war Regards Neeraj !DSPAM:4529eef09691709321452! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]