Aspose.PDF Java using Maven for Eclipse

Introduction

Eclipse IDE

Eclipse IDE is a famous Java Integrated Development Environment (IDE). The IDE is definitely the most known product of the Eclipse Open Source project. Today it is the leading development environment for Java with a market share of approximately 60%.

The Eclipse IDE can be extended with additional software components. Eclipse calls these software components Plug-ins. Several Open Source projects and companies have extended the Eclipse IDE or created standalone applications (Eclipse RCP) on top of the Eclipse framework.

Aspose.PDF for Java

Aspose.PDF for Javais a robust PDF document creation API that enables your Java applications to read, write and manipulate PDF documents without using Adobe Acrobat.

Aspose.PDF for Java offers an incredible wealth of features, these include PDF compression options, table creation and manipulation, graph support, image functions, extensive hyperlink functionality, extended security controls and custom font handling.

Aspose.PDF Java (Maven) for Eclipse

  • Aspose.PDF Java (Maven) for Eclipse is a Plugin for Eclipse IDE by Aspose. This Plugin is intended for developers using the Maven platform for Java developments and wants to use Aspose.PDF for Java in their projects. The Plugin lets you create maven projects for using Aspose.PDF for Java API and also download Code Examples of the API.
  • The plugin provides following features to work with Aspose.PDF for Java API within Eclipse IDE comfortably:

todo:image_alt_text

WIZARDS: The plugin contains two wizards

Aspose.PDF Maven Project (wizard)

  • This New Project wizard lets developers create a Maven project for using Aspose.PDF for Java from New -> Project -> Maven-> Aspose.PDF Maven Project.

  • The reference of Aspose.PDF for Java API maven dependency is automatically fetched from Aspose Cloud Maven Repository and gets added in the pom.xml.

  • The created project will always contain the most recent available version Maven Dependency for Aspose.PDF for Java API.

  • The wizard steps also present with the option for downloading Code Examples for using Aspose.PDF for Java API. Aspose.PDF Code Example (wizard)

  • This New File wizard lets you copy the downloaded Code Examples into your project for using Aspose.PDF for Java from New -> Other -> Java -> Aspose.PDF Code Example.

  • Available samples are displayed in tree format from where the user can select them categorically.

  • All the examples within the selected category will get copied to the project’s “com.aspose.pdf.examples” package folder along with the required resources within “src/main/resources” folder needed to run the examples.

  • Code Examples of Aspose.PDF for Java API are meant for demonstrating the various functions of the API.

  • The wizard will also look for and updates for newly available Code Examples) from Aspose.PDF for Java examples repository.

System Requirements and Supported Platforms

System Requirements

  • System Memory: 2 GB or more (Recommended)
  • OS: Any operating system that supports the Java VM (Virtual Machine)
  • Internet Connection: 2 MB or faster (Recommended)

Supported Platforms

  • Eclipse Mars.1 (4.5.1) - Recommended
  • Eclipse Juno or later.

Downloading

Download Eclipse IDE

You will need to first install Eclipse IDE before downloading the Aspose.PDF Java (Maven) for Eclipse plugin.

To download Eclipse IDE

  1. Go to https://eclipse.org.
  2. Download and install the recommended Eclipse IDE for Java SE / EE developers.

Download Aspose.PDF Java (Maven) for Eclipse

Following are three recommended methods for the successful downloading and installation of Aspose.PDF Java (Maven) for Eclipse plugin:

  • Drag and drop installation from Eclipse Marketplace to your Eclipse workspace.
  • Or goto Help > Install New Software… > Enter following update site URL in **Work with Then select “Aspose.PDF Java (Maven) for Eclipse” and Finish. Accept the License Agreement and Install the plugin.

Installing

Installing Aspose.PDF Java (Maven) for Eclipse

Using the Plugin

Using Aspose.PDF Java (Maven) for Eclipse

How to apply the Aspose License?

This Plugin uses an evaluation version of Aspose.PDF. Once you are happy with your evaluation, you can purchase a license at the Aspose website. To remove the evaluation message and feature limitations, a product license should be applied. You will receive a license file after you have purchased the product. Please follow the steps below to apply the license

  • Make sure the license file is named as Aspose.PDF.Java.lic
  • Place Aspose.PDF.Java.lic file in the folder that contains the Aspose.PDF.jar
  • Use the following code for activating the license:
 License license = new License();

license.setLicense("Aspose.PDF.Java.lic");

Support, Extend and Contribute

Support

  • If you like to see known/reported issues (by the users or Q.A team) in the plugin.
  • Or you want to report any issue you found in the plugin
  • Have any improvement suggestion or like to make any feature request

Please follow GitHub Issues Tracker for logging any issues found in the plugin.

Extend and Contribute

Aspose.PDF Java (Maven) for Eclipse is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new features or improving the existing ones so that others could also benefit from it. Developers can also learn from it to make their own plugins.

How to configure source code of Aspose.PDF Java (Maven) for Eclipse

Below simple steps will smoothly lead to successful configuration of “Aspose.PDF Java (Maven) for Eclipse” plugin source code in Eclipse IDE

  1. Download / Clone the source code.
  2. Choose File > Import > General > Existing Projects into Workspace
  3. Browse to the latest project source that you have downloaded
  4. Select the Eclipse Project you want to import
  5. Click Finish
  6. Aspose.PDF Java for Eclipse plugin code is now ready to enhance.