Questions tagged [maven-cargo]

A Maven plugin that allows you to interact (start, deploy, stop, ...) with common J2EE servers.

Cargos

Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way.

Official site : http://cargo.codehaus.org/Home

140 questions
2
votes
0 answers

How to set DataSource Connection Pool properties in Cargo Maven Plugin?

In my Cargo Maven Configuration I set up a WildFly server with a DataSource, but how can I add the connection pool properties like max DB connections? org.codehaus.cargo
Teg
  • 1,302
  • 13
  • 32
2
votes
1 answer

GlassFish v3 cargo-maven2-plugin

I see that supports GlassFish v3, but the online examples is sparse. I continue to get the same error back from cargo: Cannot find the GlassFish admin CLI JAR: admin-cli.jar Here is my pom org.codehaus.cargo
Drew
  • 4,683
  • 4
  • 35
  • 50
2
votes
2 answers

Hot deployment to GlassFish using cargo-maven2-plugin, how to configure?

Did I understand right from this page that Cargo Maven plugin doesn't support hot remote deployment to GlassFish 3.x? If I'm wrong, how can I configure it to support such type of operation? Maybe I should use some other plugin? I'd like to deploy to…
yegor256
  • 102,010
  • 123
  • 446
  • 597
2
votes
1 answer

How use cargo-maven2-plugin deploy to jboss as5?

I trying cargo-maven2-plugin, but I don't deploy in jboss5x I pom.xml is org.codehaus.cargo cargo-maven2-plugin 1.0.2
EdwardLau
  • 1,139
  • 4
  • 20
  • 26
2
votes
2 answers

Using cargo maven plugin to start the server without artifact deployment

I'm trying to use the cargo maven plugin just to start a JBoss AS 7 server from maven, without executing any deployments. I'm able to start the server but as I can read in cargo pluging documentation the goals cargo:run and cargo:start will deploy…
yersan
  • 332
  • 1
  • 2
  • 13
2
votes
2 answers

Using maven and embedded jetty: ClassCastException

I have a web-application written in java. I would like to run integration tests on a embedded jetty server. For that purpose I have a maven project (just for running integration tests). For deploying I use cargo-maven2-plugin. But while jetty…
amra
  • 16,125
  • 7
  • 50
  • 47
2
votes
1 answer

How to solve cargo container exception

I'm trying to start a standalone apache tomcat 5.5 container with cargo plug-in, but i get the following error: [DEBUG] [URLDeployableMonitor] Checking URL [http://localhost:8080/cargocpc/index.html] for status using a timeout of [120000]…
Skizzo
  • 2,883
  • 8
  • 52
  • 99
2
votes
0 answers

How can configure cargo to configure Weblogic JMS settings?

I know that using Cargo I can deploy war and ear to Weblogic. Is it also possible to configure Weblogic JMS Store using Apache Cargo?
2
votes
1 answer

Maven Spring Selenium Integration Tests - Running Tomcat before Selenium

I'm learning how to run Selenium Integration Tests in Maven. I've configured Selenium and the Tomcat Maven Plugin using Cargo. This is my pom.xml file:
2
votes
0 answers

Remote deployment of a web app to Geronimo using Cargo or geronimo-maven-plugin?

I am a maven beginner.. and geronimo for that matter. I'm trying to figure out how to deploy webApp war file to a remote geronimo server so I can set up a continous integration environment. Let me elaborate: system A has Eclipse maven project…
LucidCDN
  • 113
  • 1
  • 5
1
vote
1 answer

maven cargo plugin configuration for Jboss as 7.1.0

I am trying to configure the maven cargo plugin for deployment on existing jboss 7.1.0 on my local machine. I am able to start the server by mvn cargo :run command. It is using the jboss-modules.jar to start the server. I want to configure it in…
Sampath Pasupunuri
  • 628
  • 1
  • 13
  • 25
1
vote
1 answer

How to deploy remotely WAR to JBoss 5.1.0.GA using Cargo maven plugin?

I am trying to deploy remotely a WAR file to JBoss 5.0.1 GA using Cargo maven plugin but it seems that I can't. I have found similar threads but none of them finally helped me to solve my problem. I follow these instructions. Some points that seem…
alexandros
  • 644
  • 1
  • 7
  • 16
1
vote
1 answer

Deploy a multi-module project with Maven Cargo

In this project I'm working on, I have a big master pom file defining several modules (domain, dao, service, war). I want to deploy my war to my remote tomcat server using Cargo. running mvn cargo:deploy -Ptest however gives me an error that the…
Peter Verhoye
  • 97
  • 2
  • 10
1
vote
1 answer

Cargo maven plugin - start goal ignores configuration, "run" works fine

I want cargo maven plugin to start a Tomcat7 so i put into my pom: org.codehaus.cargo cargo-maven2-plugin 1.2.0