maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: is it possible to creating war and jar files with single POM.xml file?
Date Fri, 06 Jul 2012 12:36:44 GMT
hi,

you can use maven assembly plugin to create the war for instance and let
maven jar plugin create the jar. Another way is to define maven war plugin
and maven jar plugin then use maven build helper plugin to attach both
artifacts

so yes that's possible

- Romain


2012/7/6 sivarenati <siva.loyal@gmail.com>

> hi frnds,
>
> Is it possible to create war and jar files with single pom.xml file.
>
> i have to create jar file for my project along with war.
>
> please help me on this if know how to do it.
>
>
>
>
>
> Regrds.
> Siva
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/is-it-possible-to-creating-war-and-jar-files-with-single-POM-xml-file-tp5713154.html
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message