Are you providing the whole project as a jar, or is this a subset of the project with, say, shared code?

Have you considered making the jarred part a separate module on which the war module can depend?

Andy

On 2 Apr 2007, at 05:51, raju wrote:


Hi martijn,

I have my project pom.xml which has pacakaging as war.within this pom.xml i
need to build a jar and place the file to a certain folder

Raju


Martijn Dashorst wrote:

why don't you use a packaging of type 'jar'?

Martijn

On 4/1/07, raju <[EMAIL PROTECTED]> wrote:

Hi,

I just need to build a jar file containing the class files from a
directory.
There are too many elements as part of the plugin.

Please provide me a pom snippet to achieve just jarring of files based on
a
pattern-set.Currently i am using ant jar task for the same and calling
that
with antrun-plugin.

Thanks in advance
Raju
--
View this message in context:
http://www.nabble.com/Maven-assembly-plugin-to-build-simple-jar- tf3500378s177.html#a9775773
Sent from the Maven - Users mailing list archive at Nabble.com.


-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
View this message in context: http://www.nabble.com/Maven-assembly- plugin-to-build-simple-jar-tf3500378s177.html#a9785164
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to