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.
- Select New Project.
- Select Aspose Maven Project
- Click Next.
- Select Aspose API(s) from the list and click Next.
- Provide a GroupId, ArtifactId and Version for your maven project and click Next.
- Provide a Project Name and Location just like when creating any Java application
- 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.
[![GitHub Mark icon2 Aspose API for Java Integration with Jetbrains IDE] [GitHub]
[![sourceforge icon2 Aspose API for Java Integration with Jetbrains IDE] [SourceForge]
[![bitbucket icon3 Aspose API for Java Integration with Jetbrains IDE] [Bitbucket]
[![codeplex icon2 Aspose API for Java Integration with Jetbrains IDE] [CodePlex]
: https://blog.aspose.com/wp-content/uploads/sites/2/2013/12/GitHub-Mark-icon2.png “GitHub-Mark-icon”)](https://github.com/asposemarketplace/Aspose_for_JetBrains : https://github.com/asposemarketplace/Aspose_Maven_for_JetBrains/ “GitHub” : https://blog.aspose.com/wp-content/uploads/sites/2/2013/12/sourceforge-icon2.png “sourceforge-icon”)](https://sourceforge.net/projects/asposenetbeans : https://sourceforge.net/p/asposemavenforjetbrains “SourceForge” : https://blog.aspose.com/wp-content/uploads/sites/2/2013/12/bitbucket-icon3.png “bitbucket-icon”)](https://bitbucket.org/asposemarketplace/aspose-for-netbeans : https://bitbucket.org/asposemarketplace/aspose-maven-for-jetbrains : https://blog.aspose.com/wp-content/uploads/sites/2/2013/12/codeplex-icon2.png “codeplex-icon”)](https://netbeans.apache.org/ : https://en.wikipedia.org/wiki/CodePlex