Skip to content

life888888/JPdfBookmarks-Maven-Patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPdfBookmarks-Maven-Patch

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.

1. System requirement

  • Linux

  • JDK 8

  • Maven 3.6+

2. HOW TO EXECUTE

2.1. Download jpdfbookmarks-src-2.5.2.tar.gz

2.2. Unzip jpdfbookmarks-src-2.5.2.tar.gz

Unzip jpdfbookmarks-src-2.5.2.tar.gz

2.4. Unzip JPdfBookmarks-Maven-Patch-2.5.2.tar.gz

  • 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

  • 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
...

2.6. Run convert-to-maven.sh

./convert-to-maven.sh
./clean-convert-to-maven.sh

Now you get a jpdfbookmarks-src-2.5.2-maven version.

2.7. Do it once before the first build and package execution

Install jpedal_lgpl.jar to the local maven repository
cd JPdfBookmarks-2.5.2-maven/jpdfbookmarks_lib
./install_lib.sh

# Windows
install_lib.bat

2.8. Build and Package

cd JPdfBookmarks-2.5.2-maven
mvn clean package

cd jpdfbookmarks_core/target

your can find:

  • Binary Release

    • jpdfbookmarks-2.5.2.tar.gz

    • jpdfbookmarks-2.5.2.zip

  • Source Release

    • jpdfbookmarks-src-2.5.2.tar.gz

    • jpdfbookmarks-src-2.5.2.zip