Aspose Maven Dependencies Integration with NetBeans IDE
Aspose releases new NetBeans IDE plugin to further facilitates Aspose for Java APIs in easy to use in Maven-based projects.
New plugin Aspose Maven for NetBeans – v1.0 comes with Aspose Maven Project Wizard which creates maven project by selecting Aspose Java APIs on the wizard steps (like Aspose.Words, Aspose.Pdf or Aspose.Cells) and add those selected Aspose API’s maven dependencies into newly created maven project’s pom.xml.
Previously, Aspose also released Aspose Maven Project Archetype 1.0 for the creation of Aspose Maven-based projects in Major IDEs including NetBeans IDE or through maven command line.
But this Aspose Maven for NetBeans plugin provides a more sophisticated solution through fine grained and guiding UI for selecting Aspose for Java APIs and Maven project artifact inputs.
The plugin fetches only the latest maven dependencies references from Aspose Cloud Maven repository and adds in the newly created maven project along with the configuration necessary for Aspose Cloud Maven repository.
How to Install Aspose Maven Plugin for NetBeans IDE
This step by step tutorial will demonstrate you from the installation of the plugin to using Aspose Maven project wizard to create Aspose maven based projects in NetBeans IDE.
The Aspose Maven Project Wizard plugin can be directly downloaded from plugin portal website, and then can be installed in NetBeans IDE (using Tools > Plugins > Downloaded > Add plugin).
But as this plugin is also available on the NetBeans Plugin Portal Update Center. For more convenient installation of this plugin
- Use ‘Tools > Plugins‘ action from the NetBeans IDE main menu
- Click ‘Available Plugins‘ Tab and type ‘Aspose‘ in search box. As shown below:
- Select ‘Aspose Maven Project Wizard‘ plugin and click Install
- Accept license agreement – MIT License for this plugin and Click Install as shown below:
- This will trigger installation of the plugin and you may be asked to ‘Continue‘ and also ‘Finish‘ the installation after which you can start using the plugin in NetBeans IDE without any restarts.
The Plugin will introduce a new project type – Aspose Maven Project – inside ‘Maven’ category on New Project (Wizards) dialog in NetBeans, which will allow you to create Aspose Maven based Java projects inside the IDE.
Aspose Maven Project
The Wizard allows developers to create Maven based project for using Aspose APIs inside NetBeans IDE. The desired Aspose APIs can be selected on wizards steps to include the maven dependencies in your creating maven based project
- Select New Project from NetBeans File menu
- Under Maven category of Wizards, select ‘Aspose Maven Project’
- Click Next.
- Provide a Project Name and Location just like when creating any Java application.
- Also provide Group Id, Artifact Id, Version and Package (optional field) for your maven project and click Next.
- Select Aspose API(s) from the list.
- Click Finish.
This will retrieve the selected Aspose APIs latest maven dependencies references from Aspose Cloud Maven Repository.
Congratulations! you have successfully created Aspose maven based project for your selected Aspose APIs using Aspose Maven Project wizard inside the NetBeans IDE.
One cool thing, every time you create Maven project using the wizard will create maven project containing latest maven dependencies for the selected Aspose APIs along with the Aspose Cloud Maven Repository configuration in the pom.xml. See the snapshot below:
Thanks to Aspose Maven Project wizard Plugin !
Now the created Aspose maven based project is ready to be enhanced as per your project’s development needs inside the NetBeans IDE !
Source Code Available
Aspose Maven Project Wizard for NetBeans is open source and its source code is available on the major social coding websites listed below. Developers can extend the functionality if they want or learn from it to make their own plugins.