wagon-maven-plugin with ssh-agent

2016-03-31 Thread Thomas Larsson
eed.0 Is that something stable or is there a recommended way to do this? Best Regards /Thomas -- *Thomas Larsson* Senior developer Odin - Backoffice core Klarna AB Sveavägen 46, 111 34 Stockholm Tel: +46 8 120 120 00 Reg no: 556737-0431 klarna.com

Re: Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Thomas Larsson
Thanks Karl, This seems like the sensible thing to do, and yes, we have already encountered the headache of keeping the submodules version number in sync after a release :-) Perhaps this should have been obvious. Thanks for the help anyway! /Thomas On Fri, Aug 29, 2014 at 8:28 PM, Karl Heinz Ma

Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Thomas Larsson
Hello all. I am trying to create an archetype with two modules, one main and one itest. I would like to have the itest module only active when run with a profile. In my original project, the root pom includes a part like this: itest itest

Re: Why doesn't wagon ssh look at exit codes instead of error stream content

2014-07-29 Thread Thomas Larsson
Thank you. I'm still interested in the wagon code btw. On Tue, Jul 29, 2014 at 8:21 PM, Benson Margulies wrote: > http://evgeny-goldin.com/wiki/Sshexec-maven-plugin? > > On Tue, Jul 29, 2014 at 10:04 AM, Thomas Larsson > wrote: > > Well, the use case is that we perform

Re: Why doesn't wagon ssh look at exit codes instead of error stream content

2014-07-29 Thread Thomas Larsson
use the wagon-maven-plugin to do anything > except move Maven artifacts around is a really exciting experience. If > you describe your entire use case perhaps someone can offer another > approach? > > On Tue, Jul 29, 2014 at 9:47 AM, Thomas Larsson > wrote: > > Hello all, &g

Why doesn't wagon ssh look at exit codes instead of error stream content

2014-07-29 Thread Thomas Larsson
Hello all, I am wondering why it is that org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon is not looking at non-zero exit codes instead of non-null error streams to determine whether a command has succeeded or not? We have a case where we execute an Apache Hive query over ssh using the

Classpath issues for mvn:exec

2008-03-31 Thread Thomas Larsson
Hello, This is probably most related to how to specify the classpath to the mvn:exec plugin. I have a project that needs to do some setup before its test are run. These setup tasks are doing use the mvn exec plugin that is configured to run during the test-compile phase. However, I also want to

Javadoc fails when running aggregated from the root on a multimodule project

2008-03-31 Thread Thomas Larsson
Hello, I've found this issue before on the mailing list but I want to report that I still have it with maven 2.0.8 and the javadoc plugin version 2.4. I get several errors but all seem related to my test time dependencies in the subprojects. For example cannot find symbol @NonTransactional pack

NoClassDefFoundError when running maven-exec-plugin and Cobertura

2008-03-18 Thread Thomas Larsson
Hi, I have configured my reporting section with the cobertura plugin, version 2.0. I also have a maven-exec-plugin defined to setup my testdatabase during the test-compile phase as shown below: (notice the classpath definition. If I understand this correctly, this configuration should make all pro