Logging and Cargo plugin
Hi, I use the cargo-maven2-plugin to start and test my webapp with various servlet containers (jetty 9, tomcat 7 and tomcat 8). One thing that disturbs me is that every log line the is printed out by the servlet container gets a [INFO] [talledLocalContainer] prefix. Is there a way to avoid this and simply give out the log message from the servlet container? kind regards, Thomas - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Logging and Cargo plugin
There are mailing lists specific to Cargo where you are more likely to get an answer to your question: http://cargo.codehaus.org/Mailing+Lists /Anders On Tue, Apr 15, 2014 at 8:41 AM, Thomas Scheffler thomas.scheff...@uni-jena.de wrote: Hi, I use the cargo-maven2-plugin to start and test my webapp with various servlet containers (jetty 9, tomcat 7 and tomcat 8). One thing that disturbs me is that every log line the is printed out by the servlet container gets a [INFO] [talledLocalContainer] prefix. Is there a way to avoid this and simply give out the log message from the servlet container? kind regards, Thomas - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Question about maven cargo plugin
Hi. I am using maven cargo plugin to manage my JBoss 7 container. It works well, but when I try to change ports, I get a problem. The management default port () and the remoting default port (4447) aren't changed. I edit the standalone.xml file to use different ports, I set jvmargs in cargo to force use of this file (-Djboss.server.default.config=standalone.xml). But still nothing. Then I see that cargo makes it's own copy of the standalone.xml file that is used to start the container. The standalone.xml file I make lokks like this: But, the file that cargo uses, that is copied (I guess) to target/cargo/configurations/jboss71x looks like this: Why does cargo overwrite certain fields? Any way to force cargo not to do this? I know there is a cargo.servlet.port property, but is there one for the others? Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Question-about-maven-cargo-plugin-tp5635408p5635408.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Question about maven cargo plugin
There is a cargo specific user mailing list where you will get better help. /Anders (mobile) Den 12 apr 2012 13.49 skrev wolowizard r.e.bo...@usit.uio.no: Hi. I am using maven cargo plugin to manage my JBoss 7 container. It works well, but when I try to change ports, I get a problem. The management default port () and the remoting default port (4447) aren't changed. I edit the standalone.xml file to use different ports, I set jvmargs in cargo to force use of this file (-Djboss.server.default.config=standalone.xml). But still nothing. Then I see that cargo makes it's own copy of the standalone.xml file that is used to start the container. The standalone.xml file I make lokks like this: But, the file that cargo uses, that is copied (I guess) to target/cargo/configurations/jboss71x looks like this: Why does cargo overwrite certain fields? Any way to force cargo not to do this? I know there is a cargo.servlet.port property, but is there one for the others? Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Question-about-maven-cargo-plugin-tp5635408p5635408.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
bluewhale wrote: Downloaded: http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml [...] [ERROR] No plugin found for prefix 'cargo' The proper metadata is now out such that mvn cargo:help works as intended. Please note that Maven refetches metadata by default only once a day. So you might need to add the CLI flag -U if you want to try out the fixed metadata before this 24h update interval. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
And to add to that, if you're behind a Maven proxy/manager (like Nexus, Artifactory, or Archiva) forcing a update might still not help as the Maven proxy also needs to refresh its cached metadata. For Nexus that happens after 24 hours by default I believe. So if it still doesn't work, wait a day and try again. /Anders On Mon, Aug 8, 2011 at 19:35, Benjamin Bentmann benjamin.bentm...@udo.eduwrote: bluewhale wrote: Downloaded: http://repo1.maven.org/maven2/**org/codehaus/cargo/maven-**metadata.xmlhttp://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml [...] [ERROR] No plugin found for prefix 'cargo' The proper metadata is now out such that mvn cargo:help works as intended. Please note that Maven refetches metadata by default only once a day. So you might need to add the CLI flag -U if you want to try out the fixed metadata before this 24h update interval. Benjamin --**--**- To unsubscribe, e-mail: users-unsubscribe@maven.**apache.orgusers-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
mvn carg2:help works. I got some successful maven downloads with this command. [ERROR] No plugin found for prefix 'glassfish' in the current project and in the plugin groups [org.codehaus.cargo, org.apache.maven.plugins, What is the exact command you are trying to run? Copy and paste from command line. Also this is probably a better topic for the cargo users list as you already mentioned... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
We're working on this on the Cargo dev list. For some reason the metadata for the Cargo plugin is wrong. It should be cargo as a prefix, not cargo2. The JIRA ticket to get this fixed at Codehaus (and then synced to central) is HAUS-2107 [1] if anyone wants to follow the progress. /Anders [1] https://jira.codehaus.org/browse/HAUS-2107 On Sat, Aug 6, 2011 at 21:42, Wayne Fay wayne...@gmail.com wrote: mvn carg2:help works. I got some successful maven downloads with this command. [ERROR] No plugin found for prefix 'glassfish' in the current project and in the plugin groups [org.codehaus.cargo, org.apache.maven.plugins, What is the exact command you are trying to run? Copy and paste from command line. Also this is probably a better topic for the cargo users list as you already mentioned... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
Hi Benjamin, mvn carg2:help works. I got some successful maven downloads with this command. Now I run into the next problem, where cargo tells me that it find no glassfish plugin, as im trying to deploy to a locally installed glassfish: [ERROR] No plugin found for prefix 'glassfish' in the current project and in the plugin groups [org.codehaus.cargo, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (d:\dev\maven-3.0.3\repository), central (http://repo1.maven.org/maven2)] - [Help 1] org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'glassfish' in the current project and in the plugin groups [org.codehaus.cargo, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (d:\dev\maven-3.0.3\repository), central (http://repo1.maven.org/maven2)] at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:92) Mabe this is another problem with the release. I will check with the cargo list. Thanks for your reply. Stefan -- View this message in context: http://maven-users.828.n2.nabble.com/Maven-3-and-cargo-plugin-tp6007841p6657911.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
Hi there, I have the same problem and followed this thread, however the solution ist not working for me. My result ist still; No plugin found for prefix 'cargo'. I'm a bit clueless. Have you solved your problem in between? Cheers Stefan C:\Users\Stefan\.m2mvn cargo:help [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metada ta.xml Downloading: http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadat a.xml (11 KB at 10.1 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml ( 18 KB at 13.7 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml (703 B at 0.5 KB/sec) [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.043s [INFO] Finished at: Thu Aug 04 23:11:04 CEST 2011 [INFO] Final Memory: 3M/90M [INFO] [ERROR] No plugin found for prefix 'cargo' in the current project and in the plu gin groups [org.codehaus.cargo, org.apache.maven.plugins, org.codehaus.mojo] ava ilable from the repositories [local (d:\dev\maven-3.0.3\repository), central (ht tp://repo1.maven.org/maven2)] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF orPrefixException C:\Users\Stefan\.m2 -- View this message in context: http://maven-users.828.n2.nabble.com/Maven-3-and-cargo-plugin-tp6007841p6654316.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
Hm I think i have found something. It looks like if my local repository is beeing ignored. Instead of downloading the plugin in the specified directory from the settings.xml my maven3 is creating a repository for the plugin in my users .m2 dir? Why, all other dependencies are going in the specified local repository. Does anyone now why? Here is my effective-settings: ?xml version=1.0 encoding=UTF-8? settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org /2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/SETTINGS/1 .1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd; localRepository xmlns=http://maven.apache.org/SETTINGS/1.1.0;d:\dev\maven-3 .0.3\repository/localRepository pluginGroups xmlns=http://maven.apache.org/SETTINGS/1.1.0; pluginGrouporg.codehaus.cargo/pluginGroup pluginGrouporg.apache.maven.plugins/pluginGroup pluginGrouporg.codehaus.mojo/pluginGroup /pluginGroups /settings [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 1.162s [INFO] Finished at: Thu Aug 04 23:27:19 CEST 2011 [INFO] Final Memory: 4M/90M [INFO] C:\Users\Stefan\.m2 -- View this message in context: http://maven-users.828.n2.nabble.com/Maven-3-and-cargo-plugin-tp6007841p6654331.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
bluewhale wrote: Downloaded: http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml [...] [ERROR] No plugin found for prefix 'cargo' It appears something went wrong during the last release of Cargo, the mentioned metadata file lists cargo2 as the plugin prefix which however contradicts the prefix stored in the cargo-maven2-plugin-1.1.1.jar/META-INF/maven/plugin.xml. So for now, mvn cargo2:goal should work. I already brought this up on the Cargo developer list, the release of 1.1.2 is currently open for voting, providing a good chance to see what happens with the metadata upon release. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven 3 and cargo plugin
Hi, according to the Cargo docs mvn cargo:help prints a short description, but that seems to work only with Maven 2; with Maven 3 I'm getting the following error: (...) [ERROR] No plugin found for prefix 'cargo' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/thorsten/.m2/repository), central (http://10.26.31.180:8080/nexus/content/groups/public), snapshots (http://10.26.31.180:8080/nexus/content/repositories/apache-snapshots)] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException To achieve the same I have to add both group Id and artifact Id in the command line, i.e. mvn org.codehaus.cargo:cargo-maven2-plugin:help Is there a better way? And why does Maven 2 find the plugin although according to the docs it searches for plugins in different groups, i.e. org.apache.maven.plugins and org.codehaus.mojo? Regards Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
Hi Thorsten, which version of the cargo plugin do you use? Can you give a snippet of your POM.xml where you configure cargo, cause i'm using cargo with maven 3.0.X Kind regards Karl Heinz Marbaise -- MfG Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
You need to declare 'org.codehaus.cargo' as a pluginGroup in your settings.xml: pluginGroups pluginGrouporg.codehaus.cargo/pluginGroup /pluginGroups /Anders On Wed, Feb 9, 2011 at 15:31, Thorsten Heit th...@gmx.de wrote: Hi, according to the Cargo docs mvn cargo:help prints a short description, but that seems to work only with Maven 2; with Maven 3 I'm getting the following error: (...) [ERROR] No plugin found for prefix 'cargo' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/thorsten/.m2/repository), central ( http://10.26.31.180:8080/nexus/content/groups/public), snapshots ( http://10.26.31.180:8080/nexus/content/repositories/apache-snapshots)] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException To achieve the same I have to add both group Id and artifact Id in the command line, i.e. mvn org.codehaus.cargo:cargo-maven2-plugin:help Is there a better way? And why does Maven 2 find the plugin although according to the docs it searches for plugins in different groups, i.e. org.apache.maven.plugins and org.codehaus.mojo? Regards Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
Hi, which version of the cargo plugin do you use? Can you give a snippet of your POM.xml where you configure cargo, cause i'm using cargo with maven 3.0.X For testing purposes I only added the following minimalist configuration snippet to my pom.xml as explained on the Cargo website [1]: build ... plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId /plugin /plugins ... /build I didn't specify a version so I assume Maven downloaded the newest available version. Using Maven 3 I get the mentioned error with mvn cargo:help whereas with Maven 2 the same command line works... [1] http://cargo.codehaus.org/Starting+and+stopping+a+container Regards Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
Hi, You need to declare 'org.codehaus.cargo' as a pluginGroup in your settings.xml: pluginGroups pluginGrouporg.codehaus.cargo/pluginGroup /pluginGroups Ok, thanks, I'll try it tomorrow when I'm back at work. OTOH: Why can Maven 2 find the Cargo plugin without having the above section in the settings.xml? AFAIK M2 only searches in the groups org.apache.maven.plugins and org.codehaus.mojo, i.e. mvn cargo:help should normally not work out of the box, right? Best regards Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
I have no clue. There shouldn't be any difference. I'm guessing there is some difference in your maven 2 and maven 3 execution environments. /Anders On Wed, Feb 9, 2011 at 20:52, Thorsten Heit th...@gmx.de wrote: Hi, You need to declare 'org.codehaus.cargo' as a pluginGroup in your settings.xml: pluginGroups pluginGrouporg.codehaus.cargo/pluginGroup /pluginGroups Ok, thanks, I'll try it tomorrow when I'm back at work. OTOH: Why can Maven 2 find the Cargo plugin without having the above section in the settings.xml? AFAIK M2 only searches in the groups org.apache.maven.plugins and org.codehaus.mojo, i.e. mvn cargo:help should normally not work out of the box, right? Best regards Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
I have no clue. There shouldn't be any difference. I'm guessing there is some difference in your maven 2 and maven 3 execution environments. Nope: I unpacked the binary tar archives for both Maven 2 and 3 in /usr/local, i.e. there are directories /usr/local/apache-maven-{2.2.1, 3.0.2}. There's a symlink /usr/local/maven that points to the latest version, i.e. 3.0.2, and M2_REPO defaults to this symlink. Therefore executing mvn ... from the command line fires Maven 3. When I want to use Maven 2 I only have to redirect the M2_REPO variable and prepend the full path to the mvn shell script from the Maven 2 installation. This is exactly what I did a couple of hours ago. Regards Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Dependencies and cargo plugin?
Hello, I also use the cargo-maven2-plugin but don't need to specify all these dependencies. Btw I use cargo 1.0-alpha6. Here is my plugin configuration : plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. Wim Deblauwe a écrit : Hi, It seems that I need to add all my dependencies in my pom.xml 2 times when I use a war project with cargo. Is there a way to avoid this? This is very annoying to try to find out all the dependencies (and their transitive dependencies manually) and have to add those to the dependencies/ section of the cargo plugin. According to the documentation ( http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars) this is only needed if you want to share between web projects, but I only have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions. This is my pom.xml (partially): packagingwar/packaging build finalNameserver-web/finalName plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3/version configuration container containerIdtomcat5x/containerId zipUrlInstaller url http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip /url installDir${installDir}/installDir /zipUrlInstaller systemProperties java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack /systemProperties dependencies LONG LIST OF DEPENDENCIES HERE regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies and cargo plugin?
In what repo is that version? 2008/10/24 Marc Schneider [EMAIL PROTECTED] Hello, I also use the cargo-maven2-plugin but don't need to specify all these dependencies. Btw I use cargo 1.0-alpha6. Here is my plugin configuration : plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. Wim Deblauwe a écrit : Hi, It seems that I need to add all my dependencies in my pom.xml 2 times when I use a war project with cargo. Is there a way to avoid this? This is very annoying to try to find out all the dependencies (and their transitive dependencies manually) and have to add those to the dependencies/ section of the cargo plugin. According to the documentation ( http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars ) this is only needed if you want to share between web projects, but I only have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions. This is my pom.xml (partially): packagingwar/packaging build finalNameserver-web/finalName plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3/version configuration container containerIdtomcat5x/containerId zipUrlInstaller url http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip /url installDir${installDir}/installDir /zipUrlInstaller systemProperties java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack /systemProperties dependencies LONG LIST OF DEPENDENCIES HERE regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies and cargo plugin?
It can be found here: http://repository.codehaus.org/org/codehaus/cargo/cargo-maven2-plugin beta 1 is also available. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Fri, Oct 24, 2008 at 11:12 AM, Wim Deblauwe [EMAIL PROTECTED] wrote: In what repo is that version? 2008/10/24 Marc Schneider [EMAIL PROTECTED] Hello, I also use the cargo-maven2-plugin but don't need to specify all these dependencies. Btw I use cargo 1.0-alpha6. Here is my plugin configuration : plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. Wim Deblauwe a écrit : Hi, It seems that I need to add all my dependencies in my pom.xml 2 times when I use a war project with cargo. Is there a way to avoid this? This is very annoying to try to find out all the dependencies (and their transitive dependencies manually) and have to add those to the dependencies/ section of the cargo plugin. According to the documentation ( http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars ) this is only needed if you want to share between web projects, but I only have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions. This is my pom.xml (partially): packagingwar/packaging build finalNameserver-web/finalName plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3/version configuration container containerIdtomcat5x/containerId zipUrlInstaller url http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip /url installDir${installDir}/installDir /zipUrlInstaller systemProperties java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack /systemProperties dependencies LONG LIST OF DEPENDENCIES HERE regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies and cargo plugin?
It works! It would be good if they would update the documentation to let this know. There is no sign of any of those alpha or beta versions on the cargo website. regards thank you again, you just made me very happy :) Wim 2008/10/24 Nick Stolwijk [EMAIL PROTECTED] It can be found here: http://repository.codehaus.org/org/codehaus/cargo/cargo-maven2-plugin beta 1 is also available. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Fri, Oct 24, 2008 at 11:12 AM, Wim Deblauwe [EMAIL PROTECTED] wrote: In what repo is that version? 2008/10/24 Marc Schneider [EMAIL PROTECTED] Hello, I also use the cargo-maven2-plugin but don't need to specify all these dependencies. Btw I use cargo 1.0-alpha6. Here is my plugin configuration : plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. Wim Deblauwe a écrit : Hi, It seems that I need to add all my dependencies in my pom.xml 2 times when I use a war project with cargo. Is there a way to avoid this? This is very annoying to try to find out all the dependencies (and their transitive dependencies manually) and have to add those to the dependencies/ section of the cargo plugin. According to the documentation ( http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars ) this is only needed if you want to share between web projects, but I only have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions. This is my pom.xml (partially): packagingwar/packaging build finalNameserver-web/finalName plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3/version configuration container containerIdtomcat5x/containerId zipUrlInstaller url http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip /url installDir${installDir}/installDir /zipUrlInstaller systemProperties java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack /systemProperties dependencies LONG LIST OF DEPENDENCIES HERE regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies and cargo plugin?
See here : http://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven-plugin/ Wim Deblauwe a écrit : In what repo is that version? 2008/10/24 Marc Schneider [EMAIL PROTECTED] Hello, I also use the cargo-maven2-plugin but don't need to specify all these dependencies. Btw I use cargo 1.0-alpha6. Here is my plugin configuration : plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. Wim Deblauwe a écrit : Hi, It seems that I need to add all my dependencies in my pom.xml 2 times when I use a war project with cargo. Is there a way to avoid this? This is very annoying to try to find out all the dependencies (and their transitive dependencies manually) and have to add those to the dependencies/ section of the cargo plugin. According to the documentation ( http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars ) this is only needed if you want to share between web projects, but I only have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions. This is my pom.xml (partially): packagingwar/packaging build finalNameserver-web/finalName plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3/version configuration container containerIdtomcat5x/containerId zipUrlInstaller url http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip /url installDir${installDir}/installDir /zipUrlInstaller systemProperties java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack /systemProperties dependencies LONG LIST OF DEPENDENCIES HERE regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dependencies and cargo plugin?
Hi, It seems that I need to add all my dependencies in my pom.xml 2 times when I use a war project with cargo. Is there a way to avoid this? This is very annoying to try to find out all the dependencies (and their transitive dependencies manually) and have to add those to the dependencies/ section of the cargo plugin. According to the documentation ( http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars) this is only needed if you want to share between web projects, but I only have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions. This is my pom.xml (partially): packagingwar/packaging build finalNameserver-web/finalName plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3/version configuration container containerIdtomcat5x/containerId zipUrlInstaller url http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip /url installDir${installDir}/installDir /zipUrlInstaller systemProperties java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack /systemProperties dependencies LONG LIST OF DEPENDENCIES HERE regards, Wim
Re: [m2] how to specify a tomcat context with the cargo plugin to run in maven?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick Knutson a écrit : | So is this going to startup my local tomcat, verse embedded tomcat for | testing? Then the local tomcat just needs to be configured with my proper | context.xml...??? Yes it works for me like this. Marc. | --- | Thank You… | | Mick Knutson | BASE Logic, inc. | (415) 354-4215 | | Website: http://baselogic.com | Blog: http://baselogic.com/blog | BLiNC Magazine: http://blincmagazine.com | Linked IN: http://linkedin.com/in/mickknutson | DJ Mick: http://djmick.com | MySpace: http://myspace.com/mickknutson | Vacation Rental: http://tahoe.baselogic.com | | | On Fri, Jul 25, 2008 at 9:04 AM, Marc Schneider [EMAIL PROTECTED] | wrote: | | Mick Knutson a écrit : | | I want to specify a test version of my tomcat context with my cargo | plugin, | but can't seem to find anything about that on the site. Is this possible? | | --- | Thank You… | | Mick Knutson | BASE Logic, inc. | (415) 354-4215 | | Website: http://baselogic.com | Blog: http://baselogic.com/blog | BLiNC Magazine: http://blincmagazine.com | Linked IN: http://linkedin.com/in/mickknutson | DJ Mick: http://djmick.com | MySpace: http://myspace.com/mickknutson | Vacation Rental: http://tahoe.baselogic.com | | | May be you can try it like this : | (For me it also works for Tomcat 6x) | | plugin | groupIdorg.codehaus.cargo/groupId | artifactIdcargo-maven2-plugin/artifactId | configuration |waitfalse/wait |container | containerIdtomcat5x/containerId | home${tomcat.local.home}/home |/container |configuration | properties |cargo.logginghigh/cargo.logging |cargo.servlet.port${servlet.port}/cargo.servlet.port | /properties |/configuration | /configuration | executions |execution | idstart-container/id | phasepre-integration-test/phase | goals |goalstart/goal | /goals |/execution |execution | idstop-container/id | phasepost-integration-test/phase | goals |goalstop/goal | /goals |/execution | /executions | /plugin | | Marc. | | - | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | | | -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIjYtDOnFbH6/W/e8RAuSbAJ97HHej5t1ULDR+UGfKfC/AZ2jMPQCeM+dF ChdukypIBCPXLXrs2CNmIMY= =lfaN -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] how to specify a tomcat context with the cargo plugin to run in maven?
Mick Knutson a écrit : I want to specify a test version of my tomcat context with my cargo plugin, but can't seem to find anything about that on the site. Is this possible? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Vacation Rental: http://tahoe.baselogic.com May be you can try it like this : (For me it also works for Tomcat 6x) plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] how to specify a tomcat context with the cargo plugin to run in maven?
So is this going to startup my local tomcat, verse embedded tomcat for testing? Then the local tomcat just needs to be configured with my proper context.xml...??? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Vacation Rental: http://tahoe.baselogic.com On Fri, Jul 25, 2008 at 9:04 AM, Marc Schneider [EMAIL PROTECTED] wrote: Mick Knutson a écrit : I want to specify a test version of my tomcat context with my cargo plugin, but can't seem to find anything about that on the site. Is this possible? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Vacation Rental: http://tahoe.baselogic.com May be you can try it like this : (For me it also works for Tomcat 6x) plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId home${tomcat.local.home}/home /container configuration properties cargo.logginghigh/cargo.logging cargo.servlet.port${servlet.port}/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin Marc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] how to specify a tomcat context with the cargo plugin to run in maven?
I want to specify a test version of my tomcat context with my cargo plugin, but can't seem to find anything about that on the site. Is this possible? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Vacation Rental: http://tahoe.baselogic.com
Re: maven 2 + cargo plugin
Hi, in your parent project, define the pluginManagement: build pluginManagement plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration ... (your configuration) /configuration executions execution idredeploy/id goals goaldeployer-redeploy/goal /goals /execution /executions /plugin /plugins /pluginManagement /build This defines an execution of the plugin phase (deployer-redeploy). Then, in the sub-projects, define build plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId executions execution idredeploy/id phasetest/phase /execution /executions /plugin /plugins /build (you may need to change the phase) This will use the previously defined execution and run it in the given phase. Then, when you do mvn install on the parent project, it will execute the test-phase (among others) of the child projects and your goal will run. Stefan Urooj Khan wrote: hi everyone i have a project with three sub-projects which are web apps... i am currently using cargo to deploy each web app project and have the individual pom.xml and profiles.xml configured... i am trying to figure out what command i can use when building the parent project that will be the equivalent of calling something like: mvn cargo:deployer-redeploy -Pdev on each individual project -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven 2 + cargo plugin
hi everyone i have a project with three sub-projects which are web apps... i am currently using cargo to deploy each web app project and have the individual pom.xml and profiles.xml configured... i am trying to figure out what command i can use when building the parent project that will be the equivalent of calling something like: mvn cargo:deployer-redeploy -Pdev on each individual project -- Urooj Khan
Re: maven 2 + cargo plugin
You should ask this question on the Cargo Users list. Wayne On 4/10/08, Urooj Khan [EMAIL PROTECTED] wrote: hi everyone i have a project with three sub-projects which are web apps... i am currently using cargo to deploy each web app project and have the individual pom.xml and profiles.xml configured... i am trying to figure out what command i can use when building the parent project that will be the equivalent of calling something like: mvn cargo:deployer-redeploy -Pdev on each individual project -- Urooj Khan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] issue running selenium with Tomcat 5 with Cargo plugin.
Ok, I am trying to run Selenium tests on my web app. Now when I use this jetty plugin and start my webapp via jetty, I can see my app running fine and my index.html (jsf) page displays fine: *plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.6/version configuration contextPath//contextPath scanIntervalSeconds3/scanIntervalSeconds scanTargetPatterns scanTargetPattern directorysrc/main/webapp/WEB-INF/directory !-- unsure what this does -- excludes exclude**/*.jsp/exclude exclude**/*.xhtml/exclude /excludes includes include**/*.properties/include include**/*.xml/include /includes /scanTargetPattern /scanTargetPatterns /configuration /plugin * *This is just a small bit of the html source from jetty running manually or through Selenium IDE: http://localhost:8080/index.html * ?xml version=1.0 encoding=utf-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titleMain Index/title link rel=shortcut icon href=/favicon.ico / link href=/view/stylesheet/theme.css rel=stylesheet type=text/css / /head body id=mainPage div id=document div id=header *Now, when I run mvn install to deploy to the following tomcat5 server, all my tests show no html thus it appears that under tomcat5 via cargo, the pages are not there or they are blank:* *plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version configuration wait${cargo.wait}/wait container containerId${cargo.container }/containerId zipUrlInstaller url${cargo.container.url}/url installDir${installDir}/installDir /zipUrlInstaller /container configuration home${project.build.directory}/${ cargo.container}/container/home properties cargo.hostname${cargo.host }/cargo.hostname cargo.servlet.port${cargo.port }/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin ... **cargo.containertomcat5x/cargo.container* *cargo.container.url* * http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.zip * */cargo.container.url* ***cargo.hostlocalhost/cargo.host* *cargo.port8080/cargo.port* *cargo.waitfalse/cargo.wait* * * *Here is the selenium test:* *selenium.open(/index.html); log.debug (=); log.debug(selenium.getTitle(): + selenium.getTitle()); log.debug(selenium.getLocation(): + selenium.getLocation()); log.debug (=); log.debug(selenium.getHtmlSource(): + selenium.getHtmlSource()); log.debug (=); //Assert.assertEquals(selenium.getTitle(), Main Index, 'title' should equal \Main Index\); selenium.open(applicationAddress + index.html); log.debug (=);
Re: [m2] issue running selenium with Tomcat 5 with Cargo plugin.
Ok, I figured out that the context was being set to my 'artifactId-version/' and when I altered my URL, it worked. So how do I set the root context via Tomcat and Cargo? On Fri, Mar 28, 2008 at 7:53 AM, Mick Knutson [EMAIL PROTECTED] wrote: Ok, I am trying to run Selenium tests on my web app. Now when I use this jetty plugin and start my webapp via jetty, I can see my app running fine and my index.html (jsf) page displays fine: *plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.6/version configuration contextPath//contextPath scanIntervalSeconds3/scanIntervalSeconds scanTargetPatterns scanTargetPattern directorysrc/main/webapp/WEB-INF/directory !-- unsure what this does -- excludes exclude**/*.jsp/exclude exclude**/*.xhtml/exclude /excludes includes include**/*.properties/include include**/*.xml/include /includes /scanTargetPattern /scanTargetPatterns /configuration /plugin * *This is just a small bit of the html source from jetty running manually or through Selenium IDE: http://localhost:8080/index.html * ?xml version=1.0 encoding=utf-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titleMain Index/title link rel=shortcut icon href=/favicon.ico / link href=/view/stylesheet/theme.css rel=stylesheet type=text/css / /head body id=mainPage div id=document div id=header *Now, when I run mvn install to deploy to the following tomcat5 server, all my tests show no html thus it appears that under tomcat5 via cargo, the pages are not there or they are blank:* *plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version configuration wait${cargo.wait}/wait container containerId${cargo.container }/containerId zipUrlInstaller url${cargo.container.url}/url installDir${installDir}/installDir /zipUrlInstaller /container configuration home${project.build.directory}/${ cargo.container}/container/home properties cargo.hostname${cargo.host }/cargo.hostname cargo.servlet.port${cargo.port }/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal /goals /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin ... **cargo.containertomcat5x/cargo.container* *cargo.container.url* * http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.zip * */cargo.container.url* ***cargo.hostlocalhost/cargo.host* *cargo.port8080/cargo.port* *cargo.waitfalse/cargo.wait* * * *Here is the selenium test:* *selenium.open(/index.html); log.debug (=); log.debug(selenium.getTitle(): + selenium.getTitle()); log.debug(selenium.getLocation(): + selenium.getLocation()); log.debug (=); log.debug(selenium.getHtmlSource():
Re: M2 Cargo Plugin
Hi, you're right, poking through the cargo code, RELEASE, there exists only identifier jboss4x whereas in cargo-ant version does exist jboss42x identifier...too bad for me...sure they have a problem handling jboss 4.2.x. If you have any clues about it, let me know...thx Regards Daniele On Jan 18, 2008 1:38 PM, amit kumar [EMAIL PROTECTED] wrote: Hi Daniele, thanks. I tried with 0.3.1 version of cargo plugin and used the id as jboss42x but mvn cargo:start threw the error below [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'cargo'. [INFO] [INFO] Building jobsstest Maven Webapp [INFO]task-segment: [cargo:start] [INFO] [INFO] [cargo:start] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Cannot create configuration. There's no registered configuration for the parameters (container [id = [jboss42x], type = [installed]], conf iguration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? [INFO] [INFO] Trace org.codehaus.cargo.container.ContainerException: Cannot create configuration. There's no registered configuration for the parameters (container [ id = [jboss42x], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Mayb e you've made a mistake spelling it? at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation (AbstractGenericHintFactory.java:143) at org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation (AbstractIntrospectionGenericHintFactory.ja va:86) at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.createConfiguration (DefaultConfigurationFactory.java:205) at org.codehaus.cargo.maven2.configuration.Configuration.createConfiguration( Configuration.java:131) at org.codehaus.cargo.maven2.AbstractCargoMojo.createConfiguration( AbstractCargoMojo.java:292) at org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer( AbstractCargoMojo.java:380) at org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer( AbstractCargoMojo.java:320) at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute( ContainerStartMojo.java:52) at org.codehaus.cargo.maven2.AbstractCargoMojo.execute( AbstractCargoMojo.java:243) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals ( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 14 seconds [INFO] Finished at: Fri Jan 18 18:01:04 GMT+05:30 2008 [INFO] Final Memory: 3M/6M [INFO] Looks like the plugin is not recognizing jboss42x with type installed. Or is there something that I am missing? Below is relevant part of my pom.xml. pluginRepositories pluginRepository idcodehaus snapshot repository/id urlhttp
Re: M2 Cargo Plugin
Hi, What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or different? Because I tried fetching the plugin without version name and maven did download something newer than 0.3-SNAPSHOT but it threw the same error when I used container id jboss4x. Regards, Amit On Jan 18, 2008 11:00 AM, amit kumar [EMAIL PROTECTED] wrote: Thanks a ton. But using an older version of JBoss would not be a possibility reason being the product already on this version. On Jan 17, 2008 9:35 PM, David J. M. Karlsen [EMAIL PROTECTED] wrote: On Thu, 17 Jan 2008, amit kumar wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA Try the cargo users/dev list - there's a new commiter working on this. David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 Cargo Plugin
Hi, the id of the container is jboss42x...assure you have the latest version of maven 2 cargo plugin...alternatively do a full build yourself with the svn code...take a look at http://cargo.codehaus.org/Importing+sources hope this helps. Cheers Daniele On Jan 18, 2008 10:09 AM, amit kumar [EMAIL PROTECTED] wrote: Hi, What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or different? Because I tried fetching the plugin without version name and maven did download something newer than 0.3-SNAPSHOT but it threw the same error when I used container id jboss4x. Regards, Amit On Jan 18, 2008 11:00 AM, amit kumar [EMAIL PROTECTED] wrote: Thanks a ton. But using an older version of JBoss would not be a possibility reason being the product already on this version. On Jan 17, 2008 9:35 PM, David J. M. Karlsen [EMAIL PROTECTED] wrote: On Thu, 17 Jan 2008, amit kumar wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA Try the cargo users/dev list - there's a new commiter working on this. David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 Cargo Plugin
Hi Daniele, thanks. I tried with 0.3.1 version of cargo plugin and used the id as jboss42x but mvn cargo:start threw the error below [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'cargo'. [INFO] [INFO] Building jobsstest Maven Webapp [INFO]task-segment: [cargo:start] [INFO] [INFO] [cargo:start] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Cannot create configuration. There's no registered configuration for the parameters (container [id = [jboss42x], type = [installed]], conf iguration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? [INFO] [INFO] Trace org.codehaus.cargo.container.ContainerException: Cannot create configuration. There's no registered configuration for the parameters (container [ id = [jboss42x], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Mayb e you've made a mistake spelling it? at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation (AbstractGenericHintFactory.java:143) at org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation (AbstractIntrospectionGenericHintFactory.ja va:86) at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.createConfiguration (DefaultConfigurationFactory.java:205) at org.codehaus.cargo.maven2.configuration.Configuration.createConfiguration( Configuration.java:131) at org.codehaus.cargo.maven2.AbstractCargoMojo.createConfiguration( AbstractCargoMojo.java:292) at org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer( AbstractCargoMojo.java:380) at org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer( AbstractCargoMojo.java:320) at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute( ContainerStartMojo.java:52) at org.codehaus.cargo.maven2.AbstractCargoMojo.execute( AbstractCargoMojo.java:243) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 14 seconds [INFO] Finished at: Fri Jan 18 18:01:04 GMT+05:30 2008 [INFO] Final Memory: 3M/6M [INFO] Looks like the plugin is not recognizing jboss42x with type installed. Or is there something that I am missing? Below is relevant part of my pom.xml. pluginRepositories pluginRepository idcodehaus snapshot repository/id urlhttp://repository.codehaus.org//url releases enabledtrue/enabled /releases /pluginRepository /pluginRepositories dependencies /dependencies build finalNamejobsstest/finalName defaultGoalpackage/defaultGoal plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version configuration container
M2 Cargo Plugin
Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA regards, Hemant Malik
Re: M2 Cargo Plugin
Hi, I finally got to see the documentation on how to use cargo ( did not find an example for jboss), but when I put the required container configuration ( the most basic one, just as first to test the start of the server). I am seeing the below error at console [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home Dir: E:\jobsstest\target\jboss4x [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home URL: file:/E:/jobsstest/target/jboss4x/ [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Log Dir: E:\jobsstest\target\jboss4x\log [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Temp Dir: E:\jobsstest\target\jboss4x\tmp [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Root Deployment Filename: jboss-service.xml [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc. [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc. [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 [INFO] [talledLocalContainer] 18:05:55,734 INFO [Server] Core system initialized [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] Initializing store [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo- [INFO] [talledLocalContainer] 18:06:04,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml [INFO] [talledLocalContainer] 18:06:05,328 WARN [ServiceController] Problem starting service jboss:service=Naming [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.jnp.server.Main.getNamingInstance( Main.java:301) [INFO] [talledLocalContainer] at org.jnp.server.Main.initJnpInvoker( Main.java:354) [INFO] [talledLocalContainer] at org.jnp.server.Main.start(Main.java:316) [INFO] [talledLocalContainer] at org.jboss.naming.NamingService.startService(NamingService.java:284) [INFO] [talledLocalContainer] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart( ServiceMBeanSupport.java:289) [INFO] [talledLocalContainer] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle( ServiceMBeanSupport.java:245). I am using the below basic configuration my pom.xml build finalNamejobsstest/finalName defaultGoalpackage/defaultGoal plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3-SNAPSHOT/version configuration container containerIdjboss4x/containerId homeE:/jboss-4.2.0.GA/home /container /configuration /plugin /plugins /build Any help? Amit On Jan 17, 2008 5:32 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA regards, Hemant Malik
Re: M2 Cargo Plugin
Don't know if it'll help your problem much but try removing the version tag from the cargo plugin declaration. Unless you have a particular reason to use a snapshot version it's generaly best to let maven grab the latest release of a plugin. amit kumar-18 wrote: Hi, I finally got to see the documentation on how to use cargo ( did not find an example for jboss), but when I put the required container configuration ( the most basic one, just as first to test the start of the server). I am seeing the below error at console [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home Dir: E:\jobsstest\target\jboss4x [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home URL: file:/E:/jobsstest/target/jboss4x/ [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Log Dir: E:\jobsstest\target\jboss4x\log [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Temp Dir: E:\jobsstest\target\jboss4x\tmp [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Root Deployment Filename: jboss-service.xml [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc. [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc. [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 [INFO] [talledLocalContainer] 18:05:55,734 INFO [Server] Core system initialized [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] Initializing store [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo- [INFO] [talledLocalContainer] 18:06:04,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml [INFO] [talledLocalContainer] 18:06:05,328 WARN [ServiceController] Problem starting service jboss:service=Naming [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.jnp.server.Main.getNamingInstance( Main.java:301) [INFO] [talledLocalContainer] at org.jnp.server.Main.initJnpInvoker( Main.java:354) [INFO] [talledLocalContainer] at org.jnp.server.Main.start(Main.java:316) [INFO] [talledLocalContainer] at org.jboss.naming.NamingService.startService(NamingService.java:284) [INFO] [talledLocalContainer] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart( ServiceMBeanSupport.java:289) [INFO] [talledLocalContainer] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle( ServiceMBeanSupport.java:245). I am using the below basic configuration my pom.xml build finalNamejobsstest/finalName defaultGoalpackage/defaultGoal plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3-SNAPSHOT/version configuration container containerIdjboss4x/containerId homeE:/jboss-4.2.0.GA/home /container /configuration /plugin /plugins /build Any help? Amit On Jan 17, 2008 5:32 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA regards, Hemant Malik -- View this message in context: http://www.nabble.com/M2-Cargo-Plugin-tp14917416s177p14921409.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 Cargo Plugin
Hi, there is a known issue about cargo and jboss 4.2.x...I don't know if they have managed to patch it, just 1. Go codehaus-jira and look for cargo and jboss 4.2 2. Give a try to elder versions of jboss (i.e. jboss-4.0.3SP1 or later in the branch 4.0.x) Cheers Daniele On Jan 17, 2008 1:41 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, I finally got to see the documentation on how to use cargo ( did not find an example for jboss), but when I put the required container configuration ( the most basic one, just as first to test the start of the server). I am seeing the below error at console [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home Dir: E:\jobsstest\target\jboss4x [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Home URL: file:/E:/jobsstest/target/jboss4x/ [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Log Dir: E:\jobsstest\target\jboss4x\log [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Server Temp Dir: E:\jobsstest\target\jboss4x\tmp [INFO] [talledLocalContainer] 18:05:51,359 INFO [Server] Root Deployment Filename: jboss-service.xml [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc. [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc. [INFO] [talledLocalContainer] 18:05:53,468 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 [INFO] [talledLocalContainer] 18:05:55,734 INFO [Server] Core system initialized [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] Initializing store [INFO] [talledLocalContainer] 18:06:02,531 INFO [ServiceBindingManager] Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo- [INFO] [talledLocalContainer] 18:06:04,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml [INFO] [talledLocalContainer] 18:06:05,328 WARN [ServiceController] Problem starting service jboss:service=Naming [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at org.jnp.server.Main.getNamingInstance( Main.java:301) [INFO] [talledLocalContainer] at org.jnp.server.Main.initJnpInvoker( Main.java:354) [INFO] [talledLocalContainer] at org.jnp.server.Main.start(Main.java :316) [INFO] [talledLocalContainer] at org.jboss.naming.NamingService.startService(NamingService.java:284) [INFO] [talledLocalContainer] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart( ServiceMBeanSupport.java:289) [INFO] [talledLocalContainer] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle( ServiceMBeanSupport.java:245). I am using the below basic configuration my pom.xml build finalNamejobsstest/finalName defaultGoalpackage/defaultGoal plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3-SNAPSHOT/version configuration container containerIdjboss4x/containerId homeE:/jboss-4.2.0.GA/home /container /configuration /plugin /plugins /build Any help? Amit On Jan 17, 2008 5:32 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA regards, Hemant Malik
Re: M2 Cargo Plugin
On Thu, 17 Jan 2008, amit kumar wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA Try the cargo users/dev list - there's a new commiter working on this. David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 Cargo Plugin
Thanks a ton. But using an older version of JBoss would not be a possibility reason being the product already on this version. On Jan 17, 2008 9:35 PM, David J. M. Karlsen [EMAIL PROTECTED] wrote: On Thu, 17 Jan 2008, amit kumar wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA Try the cargo users/dev list - there's a new commiter working on this. David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Off-topic: Has anyone gotten Cargo plugin to deploy to Oc4j 10.1.3 ?
I see the docs talk about oc4j 9.x but we are running 10.1.3 and want to deploy to a running container. -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/BLiNCMagazine http://tahoe.baselogic.com ---
Re: [m2] Off-topic: Has anyone gotten Cargo plugin to deploy to Oc4j 10.1.3 ?
The deployment process changed a bit from 9.x to 10.1.3, and I don't believe anyone has written any new Cargo plugin/updates for 10.1.3, so I don't believe this will happen without some work on your end. Wayne On 1/15/08, Mick Knutson [EMAIL PROTECTED] wrote: I see the docs talk about oc4j 9.x but we are running 10.1.3 and want to deploy to a running container. -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/BLiNCMagazine http://tahoe.baselogic.com --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cargo plugin problems
hi all, i am trying to run selenium tests using maven2/ cargo / jetty / selenium plugin i am following instructions here ( http://wiki.foochal.org/index.php/Maven_Selenium) however, when cargo starts, i am getting this exceptions 2007-12-01 16:52:53.582::WARN: Failed startup of context [EMAIL PROTECTED]/BudgetWeb-1.0-SNAPSHOT ,jar:file:/home/marco/BudgetAppV2/BudgetWeb/target/BudgetWeb- 1.0-SNAPSHOT.war!/} org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@8c02cc for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@8c02cc for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance( LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance( LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance( LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.springframework.web.context.ContextLoader.init( ContextLoader.java:139) at org.springframework.web.context.ContextLoaderListener.createContextLoader( ContextLoaderListener.java:57) at org.springframework.web.context.ContextLoaderListener.contextInitialized( ContextLoaderListener.java:48) at org.mortbay.jetty.handler.ContextHandler.startContext( ContextHandler.java:511) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext( WebAppContext.java:1191) at org.mortbay.jetty.handler.ContextHandler.doStart( ContextHandler.java:481) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java :434) at org.mortbay.component.AbstractLifeCycle.start( AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart( HandlerCollection.java:147) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart( ContextHandlerCollection.java:120) at org.mortbay.component.AbstractLifeCycle.start( AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart( HandlerCollection.java:147) at org.mortbay.component.AbstractLifeCycle.start( AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart( HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:210) at org.mortbay.component.AbstractLifeCycle.start( AbstractLifeCycle.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run( JettyExecutorThread.java:68) Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@8c02cc for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor( LogFactoryImpl.java:413) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance( LogFactoryImpl.java:529) ... 25 more Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor( LogFactoryImpl.java:410) ... 26 more 2007-12-01 16:52:53.588::INFO: Extract jar:file:/home/marco/BudgetAppV2/BudgetWeb/target/jetty6x/cargocpc.war!/ to /tmp/Jetty_0_0_0_0_8080_cargocpc.war__cargocpc__xflgf3/webapp 2007-12-01 16:52:54.210::INFO: Started SelectChannelConnector @ 0.0.0.0:8080 [INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8080] [INFO] [cargo:deploy {execution: start-container}] [INFO] [mbeddedLocalDeployer] Deploying [/home/marco/BudgetAppV2/BudgetWeb/target/BudgetWeb-1.0-SNAPSHOT.war] 2007-12-01 16:52:58.114::INFO: Extract jar:file:/home/marco/BudgetAppV2/BudgetWeb/target/BudgetWeb- 1.0-SNAPSHOT.war!/ to /tmp/Jetty_0_0_0_0_8080_BudgetWeb- 1.0-SNAPSHOT.war__BudgetWeb-1_0-SNAPSHOT__8a04wa/webapp 2007-12-01 16:52:59.925::WARN: failed [EMAIL PROTECTED]/BudgetWeb-1.0-SNAPSHOT ,jar:file:/home/marco/BudgetAppV2/BudgetWeb/target/BudgetWeb-
Cargo plugin not found
I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version !-- or no version -- /plugin /plugins I also added the pluginRepositories as well in my parent project pom but still no luck. It seems to think that cargo is an internal Apache Maven plugin, I get: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found etc. What am I doing wrong? Anyone using Cargo? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Re: Cargo plugin not found
Not sure what exactly the problem is, but make sure you're following the directions... I'd start here: http://cargo.codehaus.org/Maven2+Plugin+Installation If you're still having problems, you can always use the long way to specify a plugin: mvn groupId:artifactId:version:mojo Which becomes: mvn org.codehaus.cargo:cargo-maven2-plugin:0.3.1:start Wayne On 8/23/07, Alexander Sack [EMAIL PROTECTED] wrote: I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version !-- or no version -- /plugin /plugins I also added the pluginRepositories as well in my parent project pom but still no luck. It seems to think that cargo is an internal Apache Maven plugin, I get: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found etc. What am I doing wrong? Anyone using Cargo? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo plugin not found
Yeesh, Wayne I must have read those pages now about 100 times. But of course, the javadoc thing still doesn't work and I still have no idea why..this might make me start looking at Maven source! :D! -aps On 8/23/07, Wayne Fay [EMAIL PROTECTED] wrote: Not sure what exactly the problem is, but make sure you're following the directions... I'd start here: http://cargo.codehaus.org/Maven2+Plugin+Installation If you're still having problems, you can always use the long way to specify a plugin: mvn groupId:artifactId:version:mojo Which becomes: mvn org.codehaus.cargo:cargo-maven2-plugin:0.3.1:start Wayne On 8/23/07, Alexander Sack [EMAIL PROTECTED] wrote: I read two threads in the archives and did not see a real fix but I can't get Maven2 to automatically download the Cargo plugin. How the heck is anyone using it? I'm just using: plugins plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3.1/version !-- or no version -- /plugin /plugins I also added the pluginRepositories as well in my parent project pom but still no luck. It seems to think that cargo is an internal Apache Maven plugin, I get: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found etc. What am I doing wrong? Anyone using Cargo? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
maven-cargo-plugin (??!) not found doing mvn cargo:deploy
I was using the cargo-maven2-plugin successfully yesterday. Today I cleared out my local repository and installed my project. All dependencies got downloaded the project was installed correctly. Now I'm trying to deploy using cargo (mvn cargo:deploy) and I get the following error [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-cargo-plugin' does not exist o r no valid version could be found [INFO] This is odd because I am using the cargo-maven2-pliugin, not the maven-cargo-plugin. plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId The full trace is at : http://www.nabble.com/file/5913/maven_cargo_plugin_error.txt maven_cargo_plugin_error.txt I saw some posts related to this problem in the forum but no final resolution. I have tried -U option to force updates as well as -npr to not use the plugin registry. What is the plugin registry anyway? There's no plugin-registry.xml being created in either the maven/conf or ^/.m2 Also added this same post at the Cargo Plugin. http://www.nabble.com/maven-cargo-plugin-%28--%21%29-not-found-doing-mvn-cargo%3Adeploy-tf3095668.html#a8594407 -- View this message in context: http://www.nabble.com/maven-cargo-plugin-%28--%21%29-not-found-doing-mvn-cargo%3Adeploy-tf3095839s177.html#a8594921 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cargo plugin to deploy on geronimo
go for apache site and read the plugin properties On 12/15/06, Vinita Joshi [EMAIL PROTECTED] wrote: I am having hard time configuring pom.xml to deploy code on geronimo. Does anybody know any tutorial or any document on this? Regards, Vinita - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 Cargo plugin now found...
Hi all, The problem I just spent 2 hours banging my head against was related to where I declared the cargo-maven2-plugin Declare the plugin under plugins and it downloads fine, declare it under reportingplugins and you get *NO* information about why it won't download I'd like to suggest to any mvn2 devs lurking that some kind of error/info message be displayed if the result of a build is failure and the reason is that a plugin couldn't be found. Perhaps: Failure [Build Error] xxx-plugin could not be found : Have you checked to ensure that you have declared it under plugins not reportingplugins ? A simple message like this would have saved me two hours Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 Cargo plugin now found...
Kevin, Please file it in JIRA, and please don't cross post in future. - Brett On 31/10/06, Kevin Jackson [EMAIL PROTECTED] wrote: Hi all, The problem I just spent 2 hours banging my head against was related to where I declared the cargo-maven2-plugin Declare the plugin under plugins and it downloads fine, declare it under reportingplugins and you get *NO* information about why it won't download I'd like to suggest to any mvn2 devs lurking that some kind of error/info message be displayed if the result of a build is failure and the reason is that a plugin couldn't be found. Perhaps: Failure [Build Error] xxx-plugin could not be found : Have you checked to ensure that you have declared it under plugins not reportingplugins ? A simple message like this would have saved me two hours Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org Better Builds with Maven book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 Cargo plugin not found/working
Hi all, Very frustrated with maven2: http://cargo.codehaus.org/Maven2+Plugin+Installation Followed the instructions here, and set my pom to use the snapshot repository suggested in the docs result - maven-cago-plugin not found [INFO] Searching repository for plugin with prefix: 'cargo'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-cargo-plugin' does not exist o r no valid version could be found Great except I didn't want that I wanted cargo-maven2-plugin - so change pom to use the ibiblio release (0.2, not 0.3-SNAPSHOT) Still not found Delete entry from ~.m2/org/apache/maven/plugins/ Still not found Download and do a manual install of the plugin jar Still not found --- So I've spent an hour getting nowhere when I can plainly download the damn jar, but m2 can't. Questions I began to ask myself: 1 - Can anyone get this to work - is it just me 2 - If this is 'supposed' to work, why can't maven find a jar + pom.xml at the specified uri 3 - Should I just re-write this using ant - after all that works 4 - Why are there no documents or other messages when you google for this (or yahoo or anything) Pom.xml section included in case anyone can see a problem: plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId !-- version0.3-SNAPSHOT/version-- version0.2/version ... pluginRepository idcodehaus-plugins-snapshots/id urlhttp://snapshots.maven.codehaus.org/maven2/url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] maven-cargo-plugin, no longer supported?
Hi, I lately started with my first webapp using Maven2. And i heard that the maven-cargo-plugin would work best, but the website seems to be down: http://cargo.codehaus.org/Maven2+plugin has the plugin moved? Or is it no longer supported? Which other plugins work good for developing webapps under Maven2? - maven-tomcat-plugin - maven-jetty6-plugin thx 4 help R.C. -- View this message in context: http://www.nabble.com/-M2--maven-cargo-plugin%2C-no-longer-supported--tf2500251.html#a6969876 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] maven-cargo-plugin, no longer supported?
-Original Message- From: CodingPlayer [mailto:[EMAIL PROTECTED] Sent: mardi 24 octobre 2006 11:44 To: users@maven.apache.org Subject: [M2] maven-cargo-plugin, no longer supported? Hi, I lately started with my first webapp using Maven2. And i heard that the maven-cargo-plugin would work best, but the website seems to be down: http://cargo.codehaus.org/Maven2+plugin has the plugin moved? Or is it no longer supported? It is definitely supported and working :-) Maybe the site was down temporarily for a maintenance operation at codehaus. It's up again. -Vincent Cargo committer PS: There's a cargo mailing list if you have any further question about Cargo. Which other plugins work good for developing webapps under Maven2? - maven-tomcat-plugin - maven-jetty6-plugin thx 4 help R.C. -- View this message in context: http://www.nabble.com/-M2--maven-cargo- plugin%2C-no-longer-supported--tf2500251.html#a6969876 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven with cargo plugin
Hello, With cargo plugin, I would like to know if it's possible in only one goal to deploy a war if it does not exist in a container (example tomcat), and redeploy it if it already exists. I try to use deployer-redeploy or deployer-deploy goals, but it throws an error. Thanks a lot. Franck HUGOT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven with cargo plugin
Hi Franck, -Original Message- From: HUGOT Franck [mailto:[EMAIL PROTECTED] Sent: mardi 22 août 2006 09:36 To: Maven Users List Subject: Maven with cargo plugin Hello, With cargo plugin, I would like to know if it's possible in only one goal to deploy a war if it does not exist in a container (example tomcat), and redeploy it if it already exists. I try to use deployer-redeploy or deployer-deploy goals, but it throws an error. No this is not currently in the cargo plugin but is a nice to have feature. Please feel free to create a JIRA issue for it (and a patch of course ;-)). Also, please use the Cargo mailing lists for discussing anything related to Cargo. Thanks -Vincent p5.vert.ukl.yahoo.com uncompressed Tue Aug 22 08:27:00 GMT 2006 ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cargo-plugin 0.3-SNAPSHOT problem?
Hi Michael, Please post to the cargo lists. When you post there please be sure to post your effective pom (mvn help:effective-pom). Also you shouldn't have both start and deploy goals as start does static deployment. Check the online docs. Let's continue this discussion on the cargo list. Thanks -Vincent -Original Message- From: Michael Mekaail [mailto:[EMAIL PROTECTED] Sent: mercredi 9 août 2006 04:49 To: users@maven.apache.org Subject: Cargo-plugin 0.3-SNAPSHOT problem? Hey, I'm trying to get the Cargo plugin working with Maven 2. My first problem was that the ping was timing out after 2000 (20 sec) which was too short. But this problem is fixed by using Cargo version 0.3-SNAPSHOTand using the tag pingTimeout24/pingTimeout. However my problem now is that when I do intregration-test I have the goals in this order: cargo:start cargo:deploy cargo:start Again??!?! Here is the code that I have in my POM plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3-SNAPSHOT/version configuration waitfalse/wait container containerIdtomcat5x/containerId zipUrlInstaller urlhttp://www.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta- tomcat-5.0.30.zip/url installDir${installDir}/installDir /zipUrlInstaller timeout12/timeout outputoutput.log/output logcargo-log.log/log /container configuration home${project.build.directory}/tomcat5x/container/home properties cargo.servlet.port9087/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal goaldeploy/goal /goals configuration deployer deployables deployable groupIdcom.company.project/groupId artifactIdproject/artifactId typewar/type location../project/target/project-1.0.war/location pingURLhttp://localhost:9087/project-1.0/pingURL pingTimeout24/pingTimeout /deployable /deployables /deployer /configuration /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cargo plugin question
Hello, I am setting up Maven2 for a new project which has an existing codebase. I specified the artifactId as, for example, foo and the version as 2.0-SNAPSHOT. There are no problems building or assembling the war for this web application. However, I would like to use a shorter URL when deploying for development/integration testing. For this reason, I customized the war plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0/version configuration warSourceDirectoryWebContent/warSourceDirectory warNamefoo/warName /configuration /plugin This also works in that my war gets generated in the target directory as foo.war...however, when I try to run the cargo plugin, it insists on looking for foo-2.0-SNAPSHOT.war. Is there any way to make the cargo plugin recognize the war setting in the war plugin? Thanks for your time, James
Re: cargo plugin question
On 8/8/06, James Richards [EMAIL PROTECTED] wrote: I am setting up Maven2 for a new project which has an existing codebase. I specified the artifactId as, for example, foo and the version as 2.0-SNAPSHOT. There are no problems building or assembling the war for this web application. However, I would like to use a shorter URL when deploying for development/integration testing. For this reason, I customized the war plugin configuration: ... Is there any way to make the cargo plugin recognize the war setting in the war plugin? I'm not sure about the war plugin config, but I use build/finalName to set the name of the war, and this works with 'mvn package cargo:start' . build finalNamefoo/finalName orfinalName${artifactId}/finalName HTH, Wendy -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cargo plugin question
Wendy, That worked like a charm. Thanks for your help! James -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tue 8/8/2006 5:27 PM To: Maven Users List Subject: Re: cargo plugin question On 8/8/06, James Richards [EMAIL PROTECTED] wrote: I am setting up Maven2 for a new project which has an existing codebase. I specified the artifactId as, for example, foo and the version as 2.0-SNAPSHOT. There are no problems building or assembling the war for this web application. However, I would like to use a shorter URL when deploying for development/integration testing. For this reason, I customized the war plugin configuration: ... Is there any way to make the cargo plugin recognize the war setting in the war plugin? I'm not sure about the war plugin config, but I use build/finalName to set the name of the war, and this works with 'mvn package cargo:start' . build finalNamefoo/finalName orfinalName${artifactId}/finalName HTH, Wendy -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cargo-plugin 0.3-SNAPSHOT problem?
Hey, I'm trying to get the Cargo plugin working with Maven 2. My first problem was that the ping was timing out after 2000 (20 sec) which was too short. But this problem is fixed by using Cargo version 0.3-SNAPSHOTand using the tag pingTimeout24/pingTimeout. However my problem now is that when I do intregration-test I have the goals in this order: cargo:start cargo:deploy cargo:start Again??!?! Here is the code that I have in my POM plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId version0.3-SNAPSHOT/version configuration waitfalse/wait container containerIdtomcat5x/containerId zipUrlInstaller urlhttp://www.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.zip/url installDir${installDir}/installDir /zipUrlInstaller timeout12/timeout outputoutput.log/output logcargo-log.log/log /container configuration home${project.build.directory}/tomcat5x/container/home properties cargo.servlet.port9087/cargo.servlet.port /properties /configuration /configuration executions execution idstart-container/id phasepre-integration-test/phase goals goalstart/goal goaldeploy/goal /goals configuration deployer deployables deployable groupIdcom.company.project/groupId artifactIdproject/artifactId typewar/type location../project/target/project-1.0.war/location pingURLhttp://localhost:9087/project-1.0/pingURL pingTimeout24/pingTimeout /deployable /deployables /deployer /configuration /execution execution idstop-container/id phasepost-integration-test/phase goals goalstop/goal /goals /execution /executions /plugin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo Plugin
What can I do to help make this happen. This is a priority for me, and I have no problem helping to make it happen Alex On 7/29/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, -- *From:* Alex Turner [mailto:[EMAIL PROTECTED] *Sent:* samedi 29 juillet 2006 21:03 *To:* Maven Users List; [EMAIL PROTECTED] *Subject:* Re: Cargo Plugin To make it easier, I might break it down into scenarios. In a kind of how do I? format. How do I deploy a war file to a container? How do I deploy a war file exploded to a conatiner? How do I restart a container? This is what we have for the m2 plugin: testCreateCustomDeployable. We don't have it in general though so I believe the problem is in generalizing this to all the different APIs. That's a good idea. I've created a jira issue for this: http://jira.codehaus.org/browse/CARGO-399 The other thing is, I haven't found a way to update my deployment. I want to just copy files that have changes and ask the container to redeploy the web app. This is something ant can do quite easily, and I can't figure out how to do with maven/cargo. Yep, I agree. It is undocumented for now. I have created a jira issue for it: http://jira.codehaus.org/browse/CARGO-398 Now all we need are contributors to help us and speed this up. Thanks for the feedback -Vincent Thanks for all the great support, Alex. On 7/29/06, *Vincent Massol* [EMAIL PROTECTED] wrote: Hi Alex, -Original Message- From: Alex Turner [mailto: [EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cargo Plugin
Hi Alex, _ From: Alex Turner [mailto:[EMAIL PROTECTED] Sent: dimanche 30 juillet 2006 22:12 To: [EMAIL PROTECTED] Cc: Maven Users List Subject: Re: Cargo Plugin What can I do to help make this happen. This is a priority for me, and I have no problem helping to make it happen Very cool :-) You mean helping on improving the documentation, right? If so, give me your confluence id on http://docs.codehaus.org http://docs.codehaus.org/ and Ill give you access to the cargo wiki so that you can edit any page. The best is for us to discuss all this on the cargo user or dev list. Thanks -Vincent PS: Moving this mail to the cargo dev list. Please follow me there to continue the discussion. Alex On 7/29/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, _ From: Alex Turner [mailto:[EMAIL PROTECTED] Sent: samedi 29 juillet 2006 21:03 To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Cargo Plugin To make it easier, I might break it down into scenarios. In a kind of how do I? format. How do I deploy a war file to a container? How do I deploy a war file exploded to a conatiner? How do I restart a container? This is what we have for the m2 plugin: testCreateCustomDeployable. We don't have it in general though so I believe the problem is in generalizing this to all the different APIs. That's a good idea. I've created a jira issue for this: http://jira.codehaus.org/browse/CARGO-399 The other thing is, I haven't found a way to update my deployment. I want to just copy files that have changes and ask the container to redeploy the web app. This is something ant can do quite easily, and I can't figure out how to do with maven/cargo. Yep, I agree. It is undocumented for now. I have created a jira issue for it: http://jira.codehaus.org/browse/CARGO-398 Now all we need are contributors to help us and speed this up. Thanks for the feedback -Vincent Thanks for all the great support, Alex. On 7/29/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, -Original Message- From: Alex Turner [mailto: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo Plugin
Vincent, I get an error trying to go to the mailing list page for cargo at http://archive.codehaus.org/cargo/ If you could give me the subscribe addy, I'll sign up directly Thanks, Alex On 7/30/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, -- *From:* Alex Turner [mailto:[EMAIL PROTECTED] *Sent:* dimanche 30 juillet 2006 22:12 *To:* [EMAIL PROTECTED] *Cc:* Maven Users List *Subject:* Re: Cargo Plugin What can I do to help make this happen. This is a priority for me, and I have no problem helping to make it happen Very cool J You mean helping on improving the documentation, right? If so, give me your confluence id on http://docs.codehaus.org and I'll give you access to the cargo wiki so that you can edit any page. The best is for us to discuss all this on the cargo user or dev list. Thanks -Vincent PS: Moving this mail to the cargo dev list. Please follow me there to continue the discussion. Alex On 7/29/06, *Vincent Massol* [EMAIL PROTECTED] wrote: Hi Alex, -- *From:* Alex Turner [mailto:[EMAIL PROTECTED] *Sent:* samedi 29 juillet 2006 21:03 *To:* Maven Users List; [EMAIL PROTECTED] *Subject:* Re: Cargo Plugin To make it easier, I might break it down into scenarios. In a kind of how do I? format. How do I deploy a war file to a container? How do I deploy a war file exploded to a conatiner? How do I restart a container? This is what we have for the m2 plugin: testCreateCustomDeployable. We don't have it in general though so I believe the problem is in generalizing this to all the different APIs. That's a good idea. I've created a jira issue for this: http://jira.codehaus.org/browse/CARGO-399 The other thing is, I haven't found a way to update my deployment. I want to just copy files that have changes and ask the container to redeploy the web app. This is something ant can do quite easily, and I can't figure out how to do with maven/cargo. Yep, I agree. It is undocumented for now. I have created a jira issue for it: http://jira.codehaus.org/browse/CARGO-398 Now all we need are contributors to help us and speed this up. Thanks for the feedback -Vincent Thanks for all the great support, Alex. On 7/29/06, *Vincent Massol* [EMAIL PROTECTED] wrote: Hi Alex, -Original Message- From: Alex Turner [mailto: [EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo Plugin
Ok - my id is 'plexq' Thanks, Alex On 7/30/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, -- *From:* Alex Turner [mailto:[EMAIL PROTECTED] *Sent:* dimanche 30 juillet 2006 22:12 *To:* [EMAIL PROTECTED] *Cc:* Maven Users List *Subject:* Re: Cargo Plugin What can I do to help make this happen. This is a priority for me, and I have no problem helping to make it happen Very cool J You mean helping on improving the documentation, right? If so, give me your confluence id on http://docs.codehaus.org and I'll give you access to the cargo wiki so that you can edit any page. The best is for us to discuss all this on the cargo user or dev list. Thanks -Vincent PS: Moving this mail to the cargo dev list. Please follow me there to continue the discussion. Alex On 7/29/06, *Vincent Massol* [EMAIL PROTECTED] wrote: Hi Alex, -- *From:* Alex Turner [mailto:[EMAIL PROTECTED] *Sent:* samedi 29 juillet 2006 21:03 *To:* Maven Users List; [EMAIL PROTECTED] *Subject:* Re: Cargo Plugin To make it easier, I might break it down into scenarios. In a kind of how do I? format. How do I deploy a war file to a container? How do I deploy a war file exploded to a conatiner? How do I restart a container? This is what we have for the m2 plugin: testCreateCustomDeployable. We don't have it in general though so I believe the problem is in generalizing this to all the different APIs. That's a good idea. I've created a jira issue for this: http://jira.codehaus.org/browse/CARGO-399 The other thing is, I haven't found a way to update my deployment. I want to just copy files that have changes and ask the container to redeploy the web app. This is something ant can do quite easily, and I can't figure out how to do with maven/cargo. Yep, I agree. It is undocumented for now. I have created a jira issue for it: http://jira.codehaus.org/browse/CARGO-398 Now all we need are contributors to help us and speed this up. Thanks for the feedback -Vincent Thanks for all the great support, Alex. On 7/29/06, *Vincent Massol* [EMAIL PROTECTED] wrote: Hi Alex, -Original Message- From: Alex Turner [mailto: [EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cargo Plugin
Hi Alex, -Original Message- From: Alex Turner [mailto:[EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo Plugin
To make it easier, I might break it down into scenarios. In a kind of how do I? format. How do I deploy a war file to a container? How do I deploy a war file exploded to a conatiner? How do I restart a container? The other thing is, I haven't found a way to update my deployment. I want to just copy files that have changes and ask the container to redeploy the web app. This is something ant can do quite easily, and I can't figure out how to do with maven/cargo. Thanks for all the great support, Alex. On 7/29/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, -Original Message- From: Alex Turner [mailto:[EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cargo Plugin
Hi Alex, _ From: Alex Turner [mailto:[EMAIL PROTECTED] Sent: samedi 29 juillet 2006 21:03 To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Cargo Plugin To make it easier, I might break it down into scenarios. In a kind of how do I? format. How do I deploy a war file to a container? How do I deploy a war file exploded to a conatiner? How do I restart a container? This is what we have for the m2 plugin: testCreateCustomDeployable. We dont have it in general though so I believe the problem is in generalizing this to all the different APIs. Thats a good idea. Ive created a jira issue for this: http://jira.codehaus.org/browse/CARGO-399 The other thing is, I haven't found a way to update my deployment. I want to just copy files that have changes and ask the container to redeploy the web app. This is something ant can do quite easily, and I can't figure out how to do with maven/cargo. Yep, I agree. It is undocumented for now. I have created a jira issue for it: http://jira.codehaus.org/browse/CARGO-398 Now all we need are contributors to help us and speed this up. Thanks for the feedback -Vincent Thanks for all the great support, Alex. On 7/29/06, Vincent Massol [EMAIL PROTECTED] wrote: Hi Alex, -Original Message- From: Alex Turner [mailto: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Sent: samedi 29 juillet 2006 06:46 To: Maven Users List Subject: Re: Cargo Plugin Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. What do you think would the single most important point to improve it? [snip] Thanks -Vincent ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cargo Plugin
I'm trying to find some good documentation on the cargo plugin, but I'm obviously having a brain dead moment. Any chance someone out there could point me in the right direction. If you are wondering what I am trying to do, I am wishing to deploy my web application to tomcat 5.5.12 in an exploded fasion and have the app reload. Thanks, Alex.
Re: Cargo Plugin
On 7/28/06, Alex Turner [EMAIL PROTECTED] wrote: I'm trying to find some good documentation on the cargo plugin, but I'm obviously having a brain dead moment. Any chance someone out there could point me in the right direction. http://cargo.codehaus.org/Maven2+plugin If you are wondering what I am trying to do, I am wishing to deploy my web application to tomcat 5.5.12 in an exploded fasion and have the app reload. I'm fairly sure this use case has been discussed recently either on the Cargo user list, or here. If it's not one of the examples in the docs, check the archives for posts by Vincent Massol. HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo Plugin
Thanks for the pointer - the documentation isn't the easiest to follow, but I figured it out. Alex On 7/29/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 7/28/06, Alex Turner [EMAIL PROTECTED] wrote: I'm trying to find some good documentation on the cargo plugin, but I'm obviously having a brain dead moment. Any chance someone out there could point me in the right direction. http://cargo.codehaus.org/Maven2+plugin If you are wondering what I am trying to do, I am wishing to deploy my web application to tomcat 5.5.12 in an exploded fasion and have the app reload. I'm fairly sure this use case has been discussed recently either on the Cargo user list, or here. If it's not one of the examples in the docs, check the archives for posts by Vincent Massol. HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: M2-Cargo Plugin Question
Hi Matilda, (this question would be better asked on the cargo user list) See below -Original Message- From: Matilda Robert [mailto:[EMAIL PROTECTED] Sent: mercredi 14 juin 2006 22:15 To: users@maven.apache.org Subject: M2-Cargo Plugin Question Hi all maven 2.0 users, I am still fairly new to maven 2.0 and I have to questions for anyone that can provide feedback. I wanted to know if or when will local or remote deployer support for weblogic8x be added to the Maven 2 plugin for Cargo in the near future? There's static deployment supported as of now (i.e. deployment when the container starts) but there's no Deployer proper. The answer to your question is: when someone is interested to implement it. I can help anyone interested to do so by providing directions. There's currently nobody working on it. I personally don't use WL. Second, are there any SNAPSHOTs with this support? This feature (remote deployments) is not implemented yet. I built the configuration settings for the cargo plugin in the super pom with the dependicies and noticed that maven doesn't support the weblogic8.1 features yet. I guess you meant Cargo and not Maven. Can anyone please help me with this? What you can do first is create a JIRA issue in the Cargo's jira. At least this means it won't be forgotten. Then the best to get this done quickly is provide a patch which implements it. Thanks -Vincent ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: M2-Cargo Plugin Question
Probably best to ask on the Cargo email list however there is a Maven-2 plugin that supports Weblogic 8.1 and 9.0 on the sandbox at Mojo. I plan on releasing the final version next week as it has gotten pretty good testing. Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -Original Message- From: Matilda Robert [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 2:15 PM To: users@maven.apache.org Subject: M2-Cargo Plugin Question Hi all maven 2.0 users, I am still fairly new to maven 2.0 and I have to questions for anyone that can provide feedback. I wanted to know if or when will local or remote deployer support for weblogic8x be added to the Maven 2 plugin for Cargo in the near future? Second, are there any SNAPSHOTs with this support? I built the configuration settings for the cargo plugin in the super pom with the dependicies and noticed that maven doesn't support the weblogic8.1 features yet. Can anyone please help me with this? Thank all of you in advanced, Matilda - Attention: Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2-Cargo Plugin Question
Hi all maven 2.0 users, I am still fairly new to maven 2.0 and I have to questions for anyone that can provide feedback. I wanted to know if or when will local or remote deployer support for weblogic8x be added to the Maven 2 plugin for Cargo in the near future? Second, are there any SNAPSHOTs with this support? I built the configuration settings for the cargo plugin in the super pom with the dependicies and noticed that maven doesn't support the weblogic8.1 features yet. Can anyone please help me with this? Thank all of you in advanced, Matilda - Attention: Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.
Cargo plugin and JNDI datasources?
Hi everyone, I'm trying to deploy my webapp to Tomcat 5.5 via the cargo-plugin. Now, my app expects some Objects in JNDI present, mainly JDBC datasources, JavaMail datasources and some java.lang.Strings. How can I define those, possibly in a profile? Regards, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]