To create our first Infinispan project we are going to use Eclipse with a specific Maven archetype to create the skeleton of our project.
Maven provides a useful mechanism called Maven Archetypes that you can use to define a template for project creation; the archetype can create the skeleton of a project with the right structure and dependencies.
Infinispan currently provides two archetypes that we can use to create a skeleton project, which includes everything you need to start to use Infinispan. The archetype also generates a sample code and a
pom.xml file with all required dependencies.
To create an Infinispan project using the Maven template inside Eclipse, you will have to add the Infinispan archetype. To do so ...