Shared Libraries

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (11)

View Page History
h1. Anatomy of a shared library

h2. Content of a shared library

A shared library archive may look like this :
{code:lang=xml}<shared-library>my-shared-library</shared-library>{code}

h1. Creating new shared libraries

To create a new shared library, you can proceed by hand, creating the directory structure, the {{jbi.xml}} and package the whole by yourself.

{noformat}
mvn archetype:create archetype:generate
-DarchetypeGroupId=org.ow2.petals
-DarchetypeGroupId=org.ow2.petals -DarchetypeArtifactId=maven-archetype-petals-jbi-shared-library
-DarchetypeArtifactId=maven-archetype-petals-jbi-shared-library -DarchetypeVersion=1.3.1
-DarchetypeVersion=1.3.1 -DgroupId=org.ow2.petals
-DgroupId=org.ow2.petals -DartifactId=<shared-library-name>
-DartifactId=<service-assembly-name>
-Dversion=1.0-SNAPSHOT
{noformat}
Of course this command has been formatted. You should type it as a single line.
{note}

{column}
{column:width=350px}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}generate