Configuring Maven

We are going to create a Maven project which will contain our SU and SA projects.

Creating the Maven project

We create the main container folder for our EJB project. In this directory, we create a pom.xml looking like this :

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 http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>org.apache.servicemix.examples</groupId>
  <artifactId>ejb-example</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Using EJBs in ServiceMix</name>
  <url>http://servicemix.apache.org</url>

  <modules>
    <module>ejb-cxf-su</module>
    <module>ejb-http-su</module>
    <module>ejb-sa</module>
  </modules>

</project>

Next, we are going to create the CXF SU in this project.

Proceed to the next step



  • No labels

1 Comment

  1. How do we actually create the projects? what archetypes do we use?