How to compile epublib

112 Views Asked by At

Just want to use epublib in Netbeans. Author provides no binaries (.jar) and expects everyone to compile.

DL'd maven, but no idea how to use it. Author says to type "mvn package" which is obviously wrong. Tried NB's to compile epublib as standalone app, but can't get project declared correctly.

Need step-by-step instructions to compile epublib. Would also like to see actual epublib code in Netbeans. Also will need javadocs for epublib.

1

There are 1 best solutions below

0
J Fabian Meier On

Let me give you a short explanation how Maven works.

A Maven project contains a pom.xml at the root. It defines all dependencies, plugins etc. for the build. If you start mvn package in the directory of the pom.xml, Maven will build the project according to the information in the pom.xml.

Dependencies and plugins are loaded from (external) repositories. If you have no settings.xml in your .m2 directory in your home directory, Maven uses the standard settings and tries to download every dependency from MavenCentral. If you are either behind a firewall/proxy or if other repositories are required, this will fail.

For further help, you need to add the specific errors from the Maven build.