- 1. System requirement
- 2. HOW TO EXECUTE
- 2.1. Download jpdfbookmarks-src-2.5.2.tar.gz
- 2.2. Unzip jpdfbookmarks-src-2.5.2.tar.gz
- 2.3. Download JPdfBookmarks-Maven-Patch
- 2.4. Unzip JPdfBookmarks-Maven-Patch-2.5.2.tar.gz
- 2.5. Move JPdfBookmarks-Maven-Patch-2.5.2 source to jpdfbookmarks-src-2.5.2
- 2.6. Run convert-to-maven.sh
- 2.7. Do it once before the first build and package execution
- 2.8. Build and Package
JPdfBookmarks-Maven-Patch can help you mirgrate JPdfBookmarks 2.5.2 from ANT to Maven automatically.
Or You can just download https://github.com/life888888/JPdfBookmarks/archive/refs/tags/v2.5.2-maven.tar.gz (This is the result after I have done the patch action for you.) or do it yourself again by download this project.
Download jpdfbookmarks-src-2.5.2.tar.gz (https://sourceforge.net/projects/jpdfbookmarks/files/JPdfBookmarks-2.5.2/jpdfbookmarks-src-2.5.2.tar.gz/download)
-
Move JPdfBookmarks-Maven-Patch-2.5.2 source to jpdfbookmarks-src-2.5.2
After finish, the jpdfbookmarks-src-2.5.2 folder will looks like below:
├── LICENSE
├── pom.xml
├── README.adoc
├── clean-convert-to-maven.sh
├── convert-to-maven-Bookmark.sh
├── convert-to-maven-CollapsingPanel.sh
├── convert-to-maven-Colors.sh
├── convert-to-maven-iText-2.1.7-patched.sh
├── convert-to-maven-iTextBookmarksConverter.sh
├── convert-to-maven-jpdfbookmarks_core.sh
├── convert-to-maven-jpdfbookmarks_graphics.sh
├── convert-to-maven-jpdfbookmarks_languages.sh
├── convert-to-maven-jpdfbookmarks_lib.sh
├── convert-to-maven-Packaging.sh
├── convert-to-maven-ResourceHelper.sh
├── convert-to-maven.sh
├── convert-to-maven-Utilities.sh
├── Bookmark
├── CollapsingPanel
├── Colors
...
./convert-to-maven.sh
./clean-convert-to-maven.sh
Now you get a jpdfbookmarks-src-2.5.2-maven version.
cd JPdfBookmarks-2.5.2-maven/jpdfbookmarks_lib
./install_lib.sh
# Windows
install_lib.bat