Wrong documentation for Maven plugin, <deployables/> should be a child of <deployer/>

Description

Hi Cargo Team!

I just ran into a documentation issue that took me some time to resolve.

According to the documentation the <deployables/> element should be a top-level element within the Maven configuration for the Cargo plugin (see f.ex. http://cargo.codehaus.org/Deploying+to+a+running+container), like so:

<plugin>
<deployer/>
<deployable/>
</plugin>

Replicating this config in my own project would not pick up the <deployables/> configuration. The solution was to make the <deployables/> a child of the <deployer/> element, eg:

<plugin>
<deployer>
<deployable/>
</deployer>
</plugin>

I've attached the relevant part of my working pom.xml.

Status

Assignee

Unassigned

Reporter

Georg M. Sorst

Components

Affects versions

1.2.2

Priority

Major