Aspose Maven Dependencies Integration with IntelliJ IDEA
Aspose takes a further step in making Aspose for Java APIs in easy to use in Maven-based projects by releasing its new plugin for the IntelliJ IDEA platform, Aspose Maven for JetBrains 1.0 that creates Aspose Maven-based projects by following the steps that come with the plugin in Aspose Maven Project Wizard.
Previously, Aspose released Aspose Maven Project Archetype 1.0 for the creation of Aspose Maven-based projects in any IDE including IntelliJ IDEA (which supports Maven) or using Maven command line project archetype generation.
But this Aspose Maven for JetBrains plugin provides a more sophisticated solution through fine grained and guiding UI for selecting Aspose for Java APIs and creating Maven project artifact value inputs. The plugin retrieves the latest available Maven artifacts for Aspose’s Java APIs from the Aspose server and adds them into the newly created Maven project pom.xml along with the necessary configuration for the Aspose Cloud Maven Repository.
How to Install Aspose Maven Plugin for IntelliJ IDEA
This step by step tutorial demonstrates the steps to install the plugin and use the Aspose Maven Project Wizard to create Maven-based Aspose projects.
The Aspose Maven Project Wizard plugin is listed on IntelliJ IDEA’s official website, so you don’t need to download it manually and install it from disk, but this extra option still exists in IntelliJ IDEA.
Aspose Maven Plugin can be easily installed from the IntelliJ IDEA CE Plugins repository enlisting the Aspose Maven Project Wizard plugin. To open it:
- Select Settings from the File menu.
- Click Plugins, then browse the repositories in IntelliJ IDEA.
This plugin will introduce a new project type – Aspose Maven Project – into IntelliJ IDEA, which will enable you to create Aspose Java APIs maven based projects.
Aspose Maven Project
The desired Aspose APIs can be selected to include the maven dependencies in your maven based project when creating a new maven project.
1. Select New Project.
2. Select Aspose Maven Project
3. Click Next.
4. Select Aspose API(s) from the list and click Next.
5. Provide a GroupId, ArtifactId and Version for your maven project and click Next.
6. Provide a Project Name and Location just like when creating any Java application
7. Click Finish.
This will retrieve the selected Aspose APIs latest maven dependencies references from Aspose Cloud
Congratulations! You have successfully created an Aspose Maven-based project with the selected Aspose APIs’ latest Maven dependencies and the Aspose Cloud Maven Repository configuration already present in pom.xml.
The created Aspose Maven project is ready to be extended as per your project’s requirements.
- Aspose Blog about Aspose Cloud Maven Repository
- Aspose Blog about Aspose for IntelliJ Plugin (Aspose Java Project Wizard)
Source Code Available
Aspose Maven Project Wizard for JetBrains 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.