You can use either the Maven source plugin [1] or the more generic Maven Assembly Plugin [2] if you want more control of what goes into your zip.
-Jim [1] http://maven.apache.org/plugins/maven-source-plugin/ [2] http://maven.apache.org/plugins/maven-assembly-plugin/ -----Original Message----- From: Madhu [mailto:[email protected]] Sent: Tuesday, September 11, 2012 8:19 AM To: [email protected] Subject: How to zip the source code separately using Maven Please tell me how we can add a task in POM.xml file to zip the source code separately while build the application. I want both .war file and .zip files independent of each other. Thank you in advance. ----- Madhu -- View this message in context: http://maven.40175.n5.nabble.com/How-to-zip-the-source-code-separately-using-Maven-tp5721257.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] NOTICE: All information in and attached to this email may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
