View Source

h1. Requirements

# You have an access to the OW2's MRM ([Nexus|http://repository.ow2.org/]),
# You have an access to the PetalsLink's MRM ([Artifactory|http://maven.petalslink.com/])
# Your Maven's setting file is right, containing an *activated default profile*:
{code}
<profile>
<id>default-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
...
</profile>
{code}
containing MRM declarations:
{code}
<repositories>
<repository>
<id>petalslink-other.release</id>
<name>PetalsLink - Other - Releases - Repository</name>
<url>http://maven.petalslink.com/others</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>petalslink-public.release</id>
<name>PetalsLink - Public - Releases - Repository</name>
<url>http://maven.petalslink.com/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>petalslink-public.snapshot</id>
<name>PetalsLink - Public - Snapshot - Repository</name>
<url>http://maven.petalslink.com/public-snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>ow2.release</id>
<name>OW2 - Public - Release - Repository</name>
<url>http://repository.ow2.org/nexus/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>ow2.snapshot</id>
<name>OW2 - Public - Snapshot - Repository</name>
<url>http://repository.ow2.org/nexus/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>petalslink-other.release</id>
<name>PetalsLink - Other - Releases - Repository</name>
<url>http://maven.petalslink.com/others</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>petalslink-public.release</id>
<name>PetalsLink - Public - Releases - Repository</name>
<url>http://maven.petalslink.com/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>petalslink-public.snapshot</id>
<name>PetalsLink - Public - Snapshot - Repository</name>
<url>http://maven.petalslink.com/public-snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>ow2.release</id>
<name>OW2 - Public - Release - Repository</name>
<url>http://repository.ow2.org/nexus/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>ow2.snapshot</id>
<name>OW2 - Public - Snapshot - Repository</name>
<url>http://repository.ow2.org/nexus/content/repositories/snapshots</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
{code}

*MRMs usages:*
|| MRM | Contains ||
| PetalsLink - Other - Releases - Repository | Third party products released not available on other Internet Maven repository |
| PetalsLink - Public - Releases - Repository | Artifacts of the Petals area and not developed by the Petals ESB team, as Easy* |
| PetalsLink - Public - Snapshot - Repository | Artifacts, in their snapshot version, of the Petals area and not developed by the Petals ESB team, as Easy* |
| OW2 - Public - Release - Repository | Petals ESB artifacts released |
| OW2 - Public - Snapshot - Repository | Petals ESB artifacts in snapshot version |

h1. Building Petals ESB

Checkout the project you want to build (see [Petals ESB source code tree]), and execute in the directory of the checked out project:
{code}
mvn clean install
{code}