Daemon doesn't support deployabling the same deployable twice

Description

It would be nice if daemon would support multiple deployables being deployable via Maven. I expected the following Maven configuration to work:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.4.2</version> <configuration> <configuration> <properties> <cargo.servlet.port>${servlet.port}</cargo.servlet.port> </properties> </configuration> <deployables> <!-- The project's artifact is automatically deployed if no deployable is defined. However, we define it here so that we can specify the context (we don't want the version to be included in the context). --> <deployable> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <type>war</type> <properties> <context>${project.artifactId}</context> </properties> </deployable> <deployable> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <type>war</type> <properties> <context>${project.artifactId}-2</context> </properties> </deployable> </deployables> <daemon> <properties> <cargo.daemon.url>http://${hostname}:${daemon.port}/</cargo.daemon.url> <cargo.daemon.handleid>${server.handleId}</cargo.daemon.handleid> </properties> </daemon> </configuration> </plugin>

However, only one deployable (the first in this case) is actually deployed.

Status

Assignee

Savas Ali Tokmen

Reporter

S. Ali Tokmen

Components

Fix versions

Affects versions

1.4.2

Priority

Minor