Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar}

We are now To start this tutorial, we are going to

Excerpt

create a Maven project which will contain our SU and SA projects

.

Creating the Maven project

We start by creating an empty directory to hold the project. Next, create a pom.xml file in it that contains the common definitions for the entire project. For now, just create a pom.xml that looks like this.

Code Block
xml
xml
<?xml version="1.0" encoding="utf-8"?>
<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.tutorial</groupId>
  <artifactId>parent</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Tutorial</name>
  <url>http://servicemix.org</url>
</project>

Checking the pom.xml

The easiest way to check the pom.xml, is by running Maven from the project directory:

...

Next, we are going to create a service assembly module our first SU in this project.



Wiki Markup
{scrollbar}