Re: Forking based on skipped execution

2014-06-16 Thread Hervé BOUTEMY
Hello, Yes, it's expected behaviour: forking happens when preparing the plugin, before running report generation. Skip happens at the beginning of report generation, just to not do it. Notice the situation will get better with m-site-p 3.4, with http://jira.codehaus.org/browse/MSITE-454 fixed

Re: Forking based on skipped execution

2014-06-16 Thread Maxim Solodovnik
Thanks a lot! Maybe you know what time 3.4 will be released? OFF maybe you know is there any way to get JIRA account to Vote/Watch issues? On 16 June 2014 13:09, Hervé BOUTEMY herve.bout...@free.fr wrote: Hello, Yes, it's expected behaviour: forking happens when preparing the plugin,

AW: serviced running maven running java based services

2014-06-16 Thread Hohl, Gerrit
Hello Jim, we are using the Tanuki Wrapper: http://wrapper.tanukisoftware.com/ But there are other options as well. E.g. simply adding the Java calls to service script itself (haven't test it myself): http://stackoverflow.com/questions/11203483/run-a-java-application-as-a-service-on-linux Here

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
Anyone? On Sun, Jun 15, 2014 at 12:49 PM, William Ferguson william.fergu...@xandar.com.au wrote: I have a Mojo that needs to work with Maven 3.0.* and 3.1+ In the Mojo I have an Artifact and I need to resolve it's dependencies. How can/should I do it? If I can resolve the Artifact to a

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread james northrup
mvn dependency:build-classpath is tricky in my experience but i have at least one script in guithub using it to launch a java service withoutr maven assembly plugin or untoward grepping. https://github.com/jnorthrup/RelaxFactory/blob/master/bin/run.sh On Mon, Jun 16, 2014 at 12:21 AM, William

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
Thanks James, but perhaps I wasn't clear. I need to be able to resolve the dependencies for a given artifact from within my Mojo (ie within my plugin). That's the problem I am trying to solve. William On Mon, Jun 16, 2014 at 5:38 PM, james northrup northrup.ja...@gmail.com wrote: mvn

Re: Forking based on skipped execution

2014-06-16 Thread Hervé BOUTEMY
Le lundi 16 juin 2014 13:19:59 Maxim Solodovnik a écrit : Thanks a lot! Maybe you know what time 3.4 will be released? I should be doing it if a few weeks: I have still a few improvements I want to do before releasing OFF maybe you know is there any way to get JIRA account to Vote/Watch

Re: Forking based on skipped execution

2014-06-16 Thread Maxim Solodovnik
Thanks a lot! On 16 June 2014 23:53, Hervé BOUTEMY herve.bout...@free.fr wrote: Le lundi 16 juin 2014 13:19:59 Maxim Solodovnik a écrit : Thanks a lot! Maybe you know what time 3.4 will be released? I should be doing it if a few weeks: I have still a few improvements I want to do

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread james northrup
what's not clear is how build-classpath doesn't give you the deps you want. On Mon, Jun 16, 2014 at 1:23 AM, William Ferguson william.fergu...@xandar.com.au wrote: Thanks James, but perhaps I wasn't clear. I need to be able to resolve the dependencies for a given artifact from within my

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
I'm not looking for the dependencies of the current project. I'm looking for the dependencies of a given artifact. Perhaps I'm not reading maven-dependecy-tree:build-classpath correctly, but I don't see how it can be configured to provide that. On Tue, Jun 17, 2014 at 4:32 AM, james northrup

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread Curtis Rueden
Hi William, Am I even on the right path or is there a much more straight forward way of getting the dependencies for the Artifact? My naive impression, having dabbled with writing Maven plugins without spending too much time doing it, is that there is a lot of copying and pasting going on.

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
Thanks Curtis, that method (#getArtifactsInTopologicalOrder) is not far from my own code (they both use DependecyGraphBuilder to resolve the deps). But the first parameter of that method is the MavenProject for which you want the resolved dependencies, and that is the piece I am missing. I have

newbie problem with deploy:deploy-file

2014-06-16 Thread Andrew Davidson
Hi I recently joined an existing project that uses the maven ant plug into to build artifacts that we need to distribute. I am trying to add support for deploy-file $ mvn deploy:deploy-file -DskipTests 21 | tee mvn.deploy-file.out [ERROR] Failed to execute goal