I'm still quite new to maven, so excuse if i'm wrong, but as far as i know, maven deploys compiled java-classes as class-files into WEB-INF/classes. If you really need your classes to be deployed as a jar file, i think you'll have to create a separate jar-project and add this as a dependency to your war-project.
hope that helps, andi fy wrote: > > Hi, > I created a webapp,The maven created the webapp.war when I executed mvn > package. now I want deploy some *.java (src\main\java\itms\dto\*.java) > into webapp.jar when I executed mvn package ,how I to do? > -- View this message in context: http://www.nabble.com/how-deploy-a-jar-in-the-webapp--tf2924643s177.html#a8176681 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]