Spring OXM - Create Project



Using eclipse, select FileNewMaven Project. Tick the Create a simple project (skip archetype selection) and click Next.

Enter the details, as shown below −

  • groupId − com.tutorialspoint

  • artifactId − springoxm

  • version − 0.0.1-SNAPSHOT

  • name − Spring OXM

  • description − Spring OXM Project

Click on Finish button and an new project will be created.

pom.xml

You can check the default content of pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
   
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.tutorialspoint</groupId>
   <artifactId>springoxm</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <name>Spring OXM</name>
   <description>Spring OXM Project</description>
</project>

Now as we've our project ready, let add following dependencies in pom.xml in next chapter.

  • Spring Core

  • Spring OXM

  • JAXB

Advertisements