maven-cargo

How do I override a Maven Plugin's log4j Configuration?

我怕爱的太早我们不能终老 提交于 2019-12-04 05:23:04
I'm using the Cargo Maven plugin to deploy a WAR to a remote server, and I'm having problems. I'll probably create a second question for that problem, but this one is about overriding a Maven plugin's log4j configuration. Cargo uses JBoss' client libraries to ship stuff to JBoss servers (which I'm trying to do.) The JBoss library uses log4j. Cargo doesn't set up any sort of mapping layer that I know of. So, essentially, log messages are occurring in the dependent library of a Maven plugin. I tried setting -Dlog4j.debug and got this information: log4j: Trying to find [log4j.xml] using

How do I package my web app and tomcat together using maven?

穿精又带淫゛_ 提交于 2019-12-03 15:17:16
I would like to distribute my application packaged as WAR embedded in Apache Tomcat. That is I want to distribute Tomcat along with my application. How can this sort of distribution packaging can be done with Maven? I have seen the Maven Cargo Plugin , but it appears to be geared towards deploying applications in containers locally. Perhaps an additional step over Cargo plugin is what I need. cargo:package appears to be interesting but lacks documentation. Elaborating Tomasz's comment, you can do the following to achieve this. Download and install tomcat to your local repository. mvn install

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

試著忘記壹切 提交于 2019-12-02 07:53:29
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 to be important are: As of CARGO 1.0.3, the way CARGO supports remote deployments on the JBoss Application Server has drastically evolved. Starting from JBoss 5.x, JBoss has a Deployment Manager that can be used for deploying things on the JBoss server. My pom file looks like this: <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo

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

爷,独闯天下 提交于 2019-12-02 06:52:51
问题 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 to be important are: As of CARGO 1.0.3, the way CARGO supports remote deployments on the JBoss Application Server has drastically evolved. Starting from JBoss 5.x, JBoss has a Deployment Manager that can be used for deploying things on the JBoss

Is it possible to supply Tomcat6's context.xml file via the Maven Cargo plugin?

不想你离开。 提交于 2019-11-28 10:13:54
I'd like to keep Tomcat's context.xml file out of my WAR file's META-INF directory if possible. Can this be done with Maven's cargo plugin? I can't seem to find the correct configuration. Eureka! After many days of studying this problem I finally found a very effective solution. The key is to take your Tomcat XML context fragment file and use the <configfiles> element of cargo to drop it in the conf/Catalina/localhost directory with the name context.xml.default . The only downside is that this will make your context definitions available to all web-apps, but this shouldn't really matter only

Is it possible to supply Tomcat6's context.xml file via the Maven Cargo plugin?

只谈情不闲聊 提交于 2019-11-27 03:36:46
问题 I'd like to keep Tomcat's context.xml file out of my WAR file's META-INF directory if possible. Can this be done with Maven's cargo plugin? I can't seem to find the correct configuration. 回答1: Eureka! After many days of studying this problem I finally found a very effective solution. The key is to take your Tomcat XML context fragment file and use the <configfiles> element of cargo to drop it in the conf/Catalina/localhost directory with the name context.xml.default . The only downside is