Installing and Using Aspose.Words Java for Eclipse - Maven


Aspose.Words Java for Eclipse (Maven) plugin can be easily installed from the Available Plugin tab in the Plugin dialog.

  • To open it, select Plugins from the Tools menu in Eclipse. 


  • This adds the Aspose.Words Maven Project in New Project wizard and Aspose.Words Code Example in New Other wizard of Eclipse IDE. 



Aspose.Words Maven Project (wizard)

To create Maven Project by wizard for using Aspose.Words for Java API:

  1. Select New -> Project.
  2. Select Aspose.Words Maven Project in the Maven category.
  3. Click Next.
  4. Provide Project Name, Location, GroupId, ArtifactId and Version for your Maven Project and click Finish.
  5. This will retrieve the Aspose.Words for Java latest Maven Dependency reference from Aspose Cloud Maven Repository and configure it in pom.xml. If you have opted for Also Download Code Examples, downloading of the Code Examples will also begin from the Aspose.Words for Java API Examples Repository.
  6. Following Maven Project will be created on your Eclipse IDE on completion of the wizard:
  7. The created Maven Project is configured to use Aspose.Words for Java API and ready to be enhanced as per your Project requirements.
    If you have opted to download Code Examples, you can use Aspose.Words Code Example (wizard) for importing needed Code Examples of Aspose.Words for Java API into your project.

Aspose.Words Code Example (wizard)

Aspose.Words Code Example wizard allows you to try out many samples provided for Aspose.Words for Java API.

To use examples, just:

  1. Click New -> Other in Eclipse.
  2. Select Aspose.Words Code Example in the Java category.
  3. Click Next.
  4. Choose your project and then expand the tree to select Code Example category and click Finish.
  5. This will copy the selected category Code Examples Java files into the project under com.aspose.words.examples package. Also any required resources needed by the Code Examples will be copied into src/main/resources folder, as shown below:
  6. Review the example code, compile and run.
  7. You can now test other examples and start building your own application using Aspose.Words for Java API.