Incremental Patch Packager (I don't want to do that either)

Source: Internet
Author: User

There is a project released to production, can not play full-scale package upgrade, because there are some directories in the customer's documents (this also line);

Practice down with Maven-assembly-plugin can be a perfect solution to the MAVEN project to hit the incremental package, formerly used by Ant script, now with the MAVEN plug-in, will use this plugin-related resources extracted, so with this project;

Project Address: Https://git.oschina.net/yejq/IncrementPackager.git

How to use?

1, put the patch description to Assermbly.txt;

In general, if it is an incremental patch, modifying the bug will record which code is modified under different bugs, and the path to copy the code is placed in a text file for easy copying to assermbly.txt.

Shortcut keys for copying code paths: Alt+enter,alt+p,ctrl+a,ctrl+c;

2, the Operation class Assemblyhelper inside method buildassermblycfg;

3, copy output to Assembly.xml;

4, then run the MVN package;

The normal situation will output:

[INFO]---maven-assembly-plugin:2.2.1:single (make-assembly) @ srpm---

[INFO] Reading Assembly Descriptor:src/main/assembly/assembly.xml

[INFO] Building Zip:d:\workspace\srpm\target\srpm-upd-20150424-1.zip

[INFO]------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO]------------------------------------------------------------------------

[INFO] Total Time:01:15 min

[INFO] Finished at:2015-04-24t17:07:57+08:00

[INFO] Final memory:22m/90m

[INFO]------------------------------------------------------------------------

Incremental Patch Packager (I don't want to do that either)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.