Hi, I'm looking for suggestions about how to handle the creation of patch jar files. A patch jar file is one that contains only the classes that have changed between two releases. Our production directories typically look like this:
application/bin # contains start scripts application/jars # contains jar files application/patch # contains jar files An application's class path consists of all the jar files in the patch directory (if any) and then all the jar files in the jars directory. This way the patched classes take precedence. When a patch is needed the developers create a small jar file that contains just the classes that have changed and stick it into the patch directory. The Ant based build has a target called "patch-jar". It creates a jar file using just the classes listed in a text file. This text file is stored in SCM and thus patches can be reproduced. So, my question is: How can I do something similar in Maven? Regards, Christopher Helck ********************************************************************** This communication and all information (including, but not limited to, market prices/levels and data) contained therein (the "Information") is for informational purposes only, is confidential, may be legally privileged and is the intellectual property of ICAP plc and its affiliates ("ICAP") or third parties. No confidentiality or privilege is waived or lost by any mistransmission. The Information is not, and should not be construed as, an offer, bid or solicitation in relation to any financial instrument or as an official confirmation of any transaction. The Information is not warranted, including, but not limited, as to completeness, timeliness or accuracy and is subject to change without notice. ICAP assumes no liability for use or misuse of the Information. All representations and warranties are expressly disclaimed. The Information does not necessarily reflect the views of ICAP. Access to the Information by anyone else other than the recipient is unauthorized and any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. **********************************************************************