We're updating the issue view to help you get more done. 

Cannot deploy bundle / JAR dependencies as deployable

Description

Error

1 2 3 4 5 6 7 8 9 10 11 [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.17:start (start-cargo-and-deploy-stuff) on project gb_services_api-functional-tests: Execution start-cargo-and-deploy-stuff of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.17:start failed: Cannot create deployable. There's no registered deployable for the parameters (container [id = [default]], deployable type [jar]). Valid types for this deployable are: [ERROR] - ear [ERROR] - ejb [ERROR] - har [ERROR] - sar [ERROR] - bundle [ERROR] - rar [ERROR] - aop [ERROR] - war [ERROR] - file [ERROR] -> [Help 1]

Details

I'm using JBoss/Wildfly, which supports deploying JARs directly (e.g., doesn't have to be a WAR or EAR).

I use this to deploy the PostgreSQL JDBC driver:

1 2 3 4 5 6 7 8 9 10 11 12 <execution> <!-- tie wildfly start to the pre-integration-test goal --> <id>start-cargo-and-deploy-stuff</id> <phase>pre-integration-test</phase> <goals><goal>start</goal></goals> <configuration> <deployables> <deployable> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <type>jar</type> </deployable>

I can submit a PR if someone points me in the right direction.

Status

Assignee

S. Ali Tokmen

Reporter

Karl Pietrzak

Components

Fix versions

Affects versions

1.4.17

Priority

Major