With the launch of Aspose Maven Dependencies through Aspose Cloud Maven repository and the release of Aspose Maven Archetype, it has been now possible to create Aspose Maven-based project on Major IDEs platforms or using any other tool/platform that understands the Maven standards and allow creating Maven-based project through Maven Archetypes quite easily.
Aspose Maven Project Archetype – v1.0
This Archetype allows easy creation of the Aspose Maven-based project. You don’t even need to worry about the latest available versions for Aspose Java APIs as all latest version Aspose APIs Maven Dependencies will automatically be imported for the newly created Maven Project.
This will also add the required configuration of the Aspose Cloud Maven Repository to the Maven Project.
The blog will present a step by step tutorial as to how to use Aspose Maven Archetype for the seamless creation of Aspose Maven-based project on Eclipse IDE platform using Eclipse IDE native Maven Project Wizard.
Configure Aspose Maven Archetype for Eclipse IDE
Below is the step by step guide that will lead you to configure Eclipse IDE for the creation of Aspose Maven Projects through Aspose Maven Archetype.
- Fire up Eclipse IDE -in this tutorial I am using Eclipse Luna,
- Goto -> File > New > Other
- New Project Wizards Dialog will appear, Select Maven Project and click Next as shown in below snapshot:
- On next wizard step, uncheck “Create a simple project..” if checked and Click Next as shown below:
- The next screen will show a list of available Archetypes, here you need to add Aspose Maven Archetype for only one time:
- Click on Add Archetype… then Add Archetype Dialog will appear, provide information about Aspose Maven Archetype i.e GroupId, Artifact Id, Version and Aspose Cloud Maven Repository URL. Then click OK as shown in the below snapshot:
- On adding Aspose Archetype, the new archetype as aspose-java-for-maven will appear in the list of Archetypes, as highlighted in the below snapshot:
Congratulations! you’ve successfully configured your Eclipse IDE for creating Aspose Maven-based projects.
Creating Aspose Maven Project
Now you can create Maven projects that will contain all the latest Aspose Java APIs Maven Dependencies and necessary Aspose Cloud Maven Repository configuration by following the steps as below:
- Goto -> File > New > Other
- New Project Wizards Dialog will appear, Select Maven Project and click Next as shown in below snapshot:
- On next wizard step, uncheck “Create a simple project..” if checked and Click Next as shown below:
- The next screen will show a list of available Archetypes, including aspose-java-for-maven, select it and click Next:
- On screen shown below provide your creating Maven project Artifact values and click Finish:
- The final screen will appear for your created Aspose Maven project, that will contain all latest Aspose Java APIs Maven Dependencies. Eclipse will start importing the Aspose Maven Dependencies to the local user maven repository as shown in below screenshot:
Congratulations! you’ve successfully created your first Aspose Maven Project using Aspose Maven Archetype in Eclipse IDE.