Re: Exec Maven Plugin

2018-01-30 Thread Sandra Parsick
Hi, I'd recommend you to use the fronend-maven-plugin [1] for your use case. This plugin installs and configures npm for you, so your build is regardless of external tools. Best regards, Sandra [1]https://github.com/eirslett/frontend-maven-plugin Am 29.01.2018 um 22:02 schrieb yossi

RE: Exec Maven Plugin

2018-01-30 Thread Yaron Golan
From a first glance, It doesn't look like a maven nor the plugin issue. Please try to : 1. Run the NPM command from command line 2. Run a script (sh/batch) instead the NPM command. In the script, you can set your proxy, NPM proxy, NPM registry and etc. Yaron Golan CI/CD, ALM Team AT Network

Re: exec-maven-plugin want to pass maven.dependency.classpath as a variable in my EXEC Goal

2011-08-19 Thread Daivish Shah
Hi, I think only way for me to USE apache-maven-2.0.11 version. Which supports Java 1.4.2 Version. As my issue is my project is using RT.JAR and TOOLS.JAR which compiler can't change it unless and untill i project MAVEN with JDK 1.4.2 version and this version supports JDK 1.4.2 so i have to

RE: exec-maven-plugin want to pass maven.dependency.classpath as a variable in my EXEC Goal

2011-08-18 Thread Robert Scholte
Looks to me you're trying to use the wrong plugin. This one seems to fit more:http://maven.apache.org/plugins/maven-antrun-plugin/ -Robert Date: Thu, 18 Aug 2011 15:21:49 -0700 Subject: exec-maven-plugin want to pass maven.dependency.classpath as a variable in my EXEC Goal From:

Re: exec-maven-plugin want to pass maven.dependency.classpath as a variable in my EXEC Goal

2011-08-18 Thread Daivish Shah
Yes i tried using maven-antrun-plugin but i am not able to setup JDK 1.4.2 version in it. I am trying to specify all possible way to apply JDK version 1.4.2 but it's still taking tools.jar or JDK version, Which maven.bat file is using (jdk 1.5) I was using following code in MAVEN-ANTRUN-PLUGIN as

Re: Exec-maven plugin invoked twice during release process

2010-09-14 Thread Prashant Bhate
Hi, It depends if you want to run exec during prepare or during release. If you want to run it only during prepare phase put it in a profile and pass that profile as argument to release:prepare goal If you want to run it during release:perform put it in release profile and enable release

Re: Exec-maven plugin invoked twice during release process

2010-09-14 Thread Stephen Connolly
are you sure it only needs to run once? remember that prepare runs from $(pwd) while perform runs from $(pwd)/target/checkout so if it is doing things like generating source code, or such, you might actually need to run it twice. otherwise put it it a profile that is only activated for

Re: exec-maven-plugin java goal question

2009-09-24 Thread David Hoffer
One more data point, this happens running the site-deploy goal. I don't think it has been seen with other goals. -Dave On Thu, Sep 24, 2009 at 8:03 AM, David Hoffer dhoff...@gmail.com wrote: We have an issue where sometimes the exec-maven-plugin will hang forever, but we are not sure

Re: exec-maven-plugin exit Code Issue

2008-10-31 Thread Petr V.
Okay here is some more update. I called the simple bat file returning 0 and 1 via exec-maven-plugin and then maven build failed/passed accordingly. So it means that ant script is not returning proper error code to exec-maven-plugin So next question arises that can we force ant to return error

Re: exec-maven-plugin exit Code Issue

2008-10-31 Thread Stephen Connolly
if you're running ant you'd be better off with maven-antrun-plugin I thought you were running nant 2008/10/31 Petr V. [EMAIL PROTECTED] Okay here is some more update. I called the simple bat file returning 0 and 1 via exec-maven-plugin and then maven build failed/passed accordingly. So it

Re: exec-maven-plugin exit Code Issue

2008-10-31 Thread Petr V.
I am able to call my nant buid via exec-maven-plugin but my nnat script is keep callin agian and again and build process never ends. I put the following in my top pom file of project. I guess phase mean when we need to call the nant script iof folliwng snippet but what does goalexec/goal mean

Re: exec-maven-plugin exit Code Issue

2008-10-31 Thread Petr V.
will make my Halloween evening cool  :-) Thanks, Petr --- On Sat, 11/1/08, Petr V. [EMAIL PROTECTED] wrote: From: Petr V. [EMAIL PROTECTED] Subject: Re: exec-maven-plugin exit Code Issue To: Maven Users List users@maven.apache.org Date: Saturday, November 1, 2008, 3:51 AM I am able to call my nant

Re: exec-maven-plugin exit Code Issue

2008-10-31 Thread Stephen Connolly
plugin definition in top pom file but it is executed for each sub module How could I stop it from doing it ? Any help will make my Halloween evening cool :-) Thanks, Petr --- On Sat, 11/1/08, Petr V. [EMAIL PROTECTED] wrote: From: Petr V. [EMAIL PROTECTED] Subject: Re: exec-maven-plugin

Re: exec-maven-plugin exit Code Issue

2008-10-31 Thread Petr V.
Worked like a charm. BIG THANK YOU Stephen. --- On Sat, 11/1/08, Stephen Connolly [EMAIL PROTECTED] wrote: From: Stephen Connolly [EMAIL PROTECTED] Subject: Re: exec-maven-plugin exit Code Issue To: Maven Users List users@maven.apache.org Cc: Maven Users List users@maven.apache.org Date

Re: Exec-maven-plugin usage

2007-11-16 Thread Dirk Olmes
Vishal Pahwa wrote: Hi I need to run a java program from maven. For that m gonna use exec-maven-plugin. But don't know how to use this. Is it possible that I will create one new project with folder structure src/main/java/com/sky/Main.java. N then use plugin like this build [...]

Re: exec-maven-plugin

2007-10-05 Thread Tim Kettler
Hi, have a look here [1] for the execution code of the plugin. If the executable returns with an error return code or fails for another reason the plugin fails the build and logs this on the console. As neither of this log statements is in your log output, the shell script you invoke most

Re: exec-maven-plugin

2007-10-05 Thread robert . egan
Tim Kettler [EMAIL PROTECTED] wrote on 10/05/2007 02:02:51 AM: Hi, have a look here [1] for the execution code of the plugin. If the executable returns with an error return code or fails for another reason the plugin fails the build and logs this on the console. As neither of this log

Re: exec-maven-plugin - how to skip execution in a sub-project

2007-09-04 Thread Wayne Fay
This should work. In root/pom.xml, in the exec plugin config, set inherited=false. plugin artifactIdmaven-exec-plugin/artifactId inheritedfalse/inherited Alternatively, you could put the exec plugin in a profile, and only use that profile when building from the root ie -Pdoexec. Wayne On

Re: exec-maven-plugin - how to skip execution in a sub-project

2007-09-04 Thread szefo
Inherited=false works! Thanks Wayne Fay wrote: This should work. In root/pom.xml, in the exec plugin config, set inherited=false. plugin artifactIdmaven-exec-plugin/artifactId inheritedfalse/inherited Alternatively, you could put the exec plugin in a profile, and only use that

Re: exec-maven-plugin: Swing app disappears immediately?

2007-03-30 Thread Jerome Lacoste
On 3/23/07, jason r tibbetts [EMAIL PROTECTED] wrote: I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

RE: exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread Barrett Nuzum
Jason: I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

Re: exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread jason r tibbetts
I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

Re: exec-maven-plugin and classpath

2006-07-26 Thread Kaare Nilsen
Hi.. What you actually do here is to mix the configuration style og the exec and the java goal. In the configuration of the java goal there is no classpath element because it will automaticly be build based on the project dependencies. Also I would remove the systemProperties section (well that

Re: exec-maven-plugin and classpath

2006-07-26 Thread Sean Mitchell
On Wednesday 26 July 2006 7:14 am, Kaare Nilsen wrote: This is at least the setup that works for me. I see that a little more documentation is needed on the mojo site. But for any further question, please use the mojo user group . Thanks for your help... in fact, my problem was that the class

Re: exec-maven-plugin and classpath

2006-07-26 Thread Kaare Nilsen
Glad to help, and to make the commandline a little shorter you could keep the following configuration in the pom (this is my preferred way of use) plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId version1.0.1/version configuration