Re: escaping single quote for Exec Maven Plugin `exc.args`

2023-10-15 Thread Alexander Kriegisch
rguments? > > I guess at this point it's easier just to dig into the source code. The > relevant plugin source code seems to be here (after a cursory glance): > > https://github.com/mojohaus/exec-maven-plugin/blob/ddefecff84ebbf6427a6bb9eb6c2fdb332bfac7c/src/main/java/org/codehaus/

Re: escaping single quote for Exec Maven Plugin `exc.args`

2023-10-15 Thread Garret Wilson
code seems to be here (after a cursory glance): https://github.com/mojohaus/exec-maven-plugin/blob/ddefecff84ebbf6427a6bb9eb6c2fdb332bfac7c/src/main/java/org/codehaus/mojo/exec/ExecMojo.java#L600 It appears to be using `CommandLineUtils.translateCommandline( argsProp )` to parse the string input

Re: escaping single quote for Exec Maven Plugin `exc.args`

2023-10-15 Thread Garret Wilson
On 10/15/2023 1:31 AM, Alexander Kriegisch wrote: … Let us settle on only using double quotes to enclose arguments containing spaces. Then, we do not need to escape single quotes and can use them literally. But we do need to escape nested double quotes. Let's make sure we don't confuse

Re: escaping single quote for Exec Maven Plugin `exc.args`

2023-10-14 Thread Alexander Kriegisch
t; single quotes, like this: >>> >>> ```bash >>> mvn exec:java -Dexec.mainClass="com.example.MyApplication" >>> -Dexec.args="'foo bar'" --quiet >>> ``` >>> >>> That passes a single string "foo bar" to m

Re: escaping single quote for Exec Maven Plugin `exc.args`

2023-10-14 Thread Alexander Kriegisch
; single quotes, like this: >> >> ```bash >> mvn exec:java -Dexec.mainClass="com.example.MyApplication" >> -Dexec.args="'foo bar'" --quiet >> ``` >> >> That passes a single string "foo bar" to my application `main()` method

Re: escaping single quote for Exec Maven Plugin `exc.args`

2023-10-14 Thread Alexander Kriegisch
="'foo bar'" --quiet > ``` > > That passes a single string "foo bar" to my application `main()` method > args array. > > Now … what if I want to pass a single string "foo'bar" (note just one > single quote in the string) as a single string

escaping single quote for Exec Maven Plugin `exc.args`

2023-10-14 Thread Garret Wilson
my `main()` method args array? is there some way to escape the single quote? The [documention](https://www.mojohaus.org/exec-maven-plugin/java-mojo.html#commandlineArgs) doesn't give any clues. I guess I could look at the Exec Maven Plugin source code (if it's available), but that would take ha

How to build multimodule projects with nodejs projects and java project as module susing exec-maven-plugin

2023-09-07 Thread Thai Le
7.1.8-SNAPSHOT org.codehaus.mojo exec-maven-plugin npm-install

exec-maven-plugin Could not find or load main class

2019-01-14 Thread Liang, Yashu
I want to execute a java program during my maven build, so I have in my POM: org.codehaus.mojo exec-maven-plugin java true -classpath com.mycodegenerator.MyCodeGeneratorApplication

Re: Problem with exec-maven-plugin

2018-05-24 Thread Alex
To generate sources with above, use: mvn -PexcludeDependency generate-sources Also filed a bug against the plugin at: https://github.com/mojohaus/exec-maven-plugin/issues/106 -- Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html

Re: Problem with exec-maven-plugin

2018-05-20 Thread Alex
Hi Francois, Someone on SO has explained that this is related to bug https://issues.apache.org/jira/browse/MNG-3283 The maven-exec-plugin has "requiresDependencyResolution = ResolutionScope.TEST" You can see that annotation here: https://github.com/mojohaus/exec-maven-plugin/blob/

Re: Problem with exec-maven-plugin

2018-05-19 Thread Francois MAROT
Hi Alex, maybe you could paste here the output logs of the failing execution. I'd like them to be sure I understand the problem. Cheers Francois -- Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html - To

Problem with exec-maven-plugin

2018-05-18 Thread Alex
Hello all, I have a problem running exec-maven-plugin in a multi-module project _without_ installing snapshots to my local repository. What happens is that Maven seems to require that dependencies are "resolved" during the "generate-sources" phase so if I run "mvn gener

Re: Exec Maven Plugin

2018-01-30 Thread Sandra Parsick
: > Hi > > I tried to use the plugin and run npm install from java application > > > org.codehaus.mojo > exec-maven-plugin > 1.6.0 > > > > npm install (initialize) > > exec > > initialize > > npm > ${project.basedir}/../ > &g

RE: Exec Maven Plugin

2018-01-30 Thread Yaron Golan
application org.codehaus.mojo exec-maven-plugin 1.6.0 npm install (initialize) exec initialize npm ${project.basedir}/../ install when I run mvn build I got error [INFO] --- exec-maven-plugin:1.6.0:exec (npm install mynpm) @ srv --- 10:37:31 PM npm ERR! ...' npm ERR! A complete

Exec Maven Plugin

2018-01-29 Thread yossi balan
Hi I tried to use the plugin and run npm install from java application org.codehaus.mojo exec-maven-plugin 1.6.0 npm install (initialize) exec initialize npm ${project.basedir}/../ install when I run mvn build I got error [INFO] --- exec-maven-plugin:1.6.0:exec (npm install mynpm

[ANN] Exec Maven Plugin 1.6.0 Released

2017-03-06 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the Exec Maven Plugin version 1.6.0. The plugin provides 2 goals to help execute system and Java programs. http://www.mojohaus.org/exec-maven-plugin/ To get this update, simply specify the version in your project's plugin

[ANN] Exec Maven Plugin 1.4.0 Released

2015-03-26 Thread Dennis Lundberg
Hi, The Mojo team is pleased to announce the release of the Exec Maven Plugin version 1.4.0. The plugin helps with execution of system and Java programs. http://mojo.codehaus.org/exec-maven-plugin/ To get this update, simply specify the version in your project's plugin configuration: plugin

[ANNOUNCE] Release Mojo's Exec Maven Plugin version 1.3

2014-04-22 Thread Karl Heinz Marbaise
Hi, The Mojo team is pleased to announce the release of the Exec Maven Plugin version 1.3. The plugin provides 2 goals to help execute system and Java programs. http://mojo.codehaus.org/exec-maven-plugin/ To get this update, simply specify the version in your project's plugin configuration

RE: [Q] v3.0.3 exec-maven-plugin hanging

2012-08-30 Thread Hoying, Ken
Of Curtis Rueden Sent: Wednesday, August 29, 2012 4:08 PM To: Maven Users List Subject: Re: [Q] v3.0.3 exec-maven-plugin hanging Hi Ken, Does anyone have any ideas? Just one: did you try hitting Ctrl+backslash (Ctrl+break on Windows) from the console after it hangs to get a full stack trace

[Q] v3.0.3 exec-maven-plugin hanging

2012-08-29 Thread Hoying, Ken
|--- services |--- pom.xml |--- web |--- pom.xml The pom file under the web directory uses exec-maven-plugin and the exec goal to run a java program that compiles Dojo for me. When I install on this pom under the web

Re: [Q] v3.0.3 exec-maven-plugin hanging

2012-08-29 Thread Curtis Rueden
|--- pom.xml |--- services |--- pom.xml |--- web |--- pom.xml The pom file under the web directory uses exec-maven-plugin and the exec goal to run a java program that compiles

[ANN] Exec-Maven-Plugin 1.2.1 Released

2011-09-23 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the Exec-Maven-Plugin version 1.2.1. This plugin provides 2 goals to help execute system and Java programs. http://mojo.codehaus.org/exec-maven-plugin/ To get this update, simply specify the version in your project's plugin

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

2011-08-19 Thread Daivish Shah
-0700 Subject: exec-maven-plugin want to pass maven.dependency.classpath as a variable in my EXEC Goal From: daivish.s...@gmail.com To: users@maven.apache.org Hi, I want to define property or want to use maven.plugin.classpath and maven.dependency.classpath in my build.xml. How

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

2011-08-18 Thread Daivish Shah
Hi, I want to define property or want to use maven.plugin.classpath and maven.dependency.classpath in my build.xml. How can i do it ? Sample code is as below... property /property is not working and not able to read the values from my build.xml so please explain me how can i do it ?

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: daivish.s

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

2011-08-18 Thread Daivish Shah
. 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: daivish.s...@gmail.com To: users@maven.apache.org Hi, I

Exec-maven plugin invoked twice during release process

2010-09-14 Thread C. Benson Manica
(Asking this question again in a different form, since I feel like there *has* to be an answer...) I have a Maven project that invokes exec-maven in the prepare-package phase, as below, so that its work is done for package creation. That all works fine, deployment also works fine, but my issue

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

Invoke exec-maven-plugin only for package and release:perform

2010-09-01 Thread C. Benson Manica
I have a Maven project whose sole purpose is to synthesize a deployable artifact by executing some time-consuming Java code. I'd like it to build this artifact on package and deploy, but I really don't want it to build it once for release:prepare and again for release:perform. How can I

[ANN] Exec Maven Plugin 1.2 Released

2010-07-21 Thread Robert Scholte
The Mojo team is pleased to announce the release of the Exec Maven Plugin version 1.2. The plugin provides 2 goals to help execute system and Java programs. http://mojo.codehaus.org/exec-maven-plugin To get this update, simply specify the version in your project's plugin configuration

exec-maven-plugin: Dependency in POM causes IAE

2010-01-19 Thread awolf_ccc
Hi, I am using the exec-maven plugin from codehaus,and it seems that there is problem with the exec:java goal's JAR dependency resolution. Or (since I'm a new user) I'm doing something wrong. Comments welcome!! Here is the scenario: (A) I build an application tool, packaged into a JAR

exec-maven-plugin java goal question

2009-09-24 Thread David Hoffer
We have an issue where sometimes the exec-maven-plugin will hang forever, but we are not sure why...its very non-repeatable. It only happens sometimes with our CI builds which are Linux. In our case we are using the java goal, I understand this is run in the same process. And the main method

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 why

How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread janszm
I have a java program which takes an input-file and output-file as parameters. I need to run this for a set of files in a directory. How can I best achieve this with Maven? I have looked at the Exec Maven plugin and as per http://mojo.codehaus.org/exec-maven-plugin/usage.html I can use

Re: How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread Stephen Connolly
. probably take you about 10-20 min -Stephen 2009/5/26 janszm me...@jansz.com I have a java program which takes an input-file and output-file as parameters. I need to run this for a set of files in a directory. How can I best achieve this with Maven? I have looked at the Exec Maven plugin

Re: How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread Baptiste MATHUS
use shell or ant. Cheers. 2009/5/26 janszm me...@jansz.com I have a java program which takes an input-file and output-file as parameters. I need to run this for a set of files in a directory. How can I best achieve this with Maven? I have looked at the Exec Maven plugin and as per http

Re: How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread janszm
also see references to beanshell. Cheers, Menno -- View this message in context: http://www.nabble.com/How-to-run-Exec-Maven-plugin-for-each-file-in-a-directory--tp23722927p23727754.html Sent from the Maven - Users mailing list archive at Nabble.com

RE: How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread Stan Devitt
providing that a suitable jar is in the plugin dependency list. Stan. -Original Message- From: janszm [mailto:me...@jansz.com] Sent: Tuesday, May 26, 2009 9:25 AM To: users@maven.apache.org Subject: How to run Exec Maven plugin for each file in a directory? I have a java program which

Re: How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread Baptiste MATHUS
2009/5/26 janszm me...@jansz.com Baptiste MATHUS wrote: Well, it depends on what you want to do. Maven is not designed to be used as a scripting engine for administration tasks. Do you want to do this as a part of your packaging/build process? If so, then look at Stephen answer.

Re: How to add a local jar to the classpath of exec-maven-plugin

2008-12-08 Thread Jaikiran
-to-the-classpath-of-exec-maven-plugin-tp20893674p20894581.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: How to add a local jar to the classpath of exec-maven-plugin

2008-12-08 Thread Stephen Connolly
and then it will bite you in the ass somewhere else) 2008/12/8 Jaikiran [EMAIL PROTECTED] I am using Maven2 and trying to run a java class from Maven using the exec-maven-plugin. Here's how it looks like: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

How to add a local jar to the classpath of exec-maven-plugin

2008-12-08 Thread Jaikiran
I am using Maven2 and trying to run a java class from Maven using the exec-maven-plugin. Here's how it looks like: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId version1.1-beta-1/version executions execution

Re: Ignore errors from exec-maven-plugin

2008-11-27 Thread Eric Rotick
It's quite simple really. You create a shell script which always returns an exit status of zero and then call the binary application within that. On Wed, Nov 26, 2008 at 10:49 AM, Eric Rotick [EMAIL PROTECTED] wrote: Hi All, I'm having a problem getting the exec-maven-plugin to support my

Re: Ignore errors from exec-maven-plugin

2008-11-27 Thread Dan Tran
of zero and then call the binary application within that. On Wed, Nov 26, 2008 at 10:49 AM, Eric Rotick [EMAIL PROTECTED] wrote: Hi All, I'm having a problem getting the exec-maven-plugin to support my requirements and I hoped the list might be able to help. I need to run a binary

Ignore errors from exec-maven-plugin

2008-11-26 Thread Eric Rotick
Hi All, I'm having a problem getting the exec-maven-plugin to support my requirements and I hoped the list might be able to help. I need to run a binary application to tickle some hardware into life before I run a test. This application exits with various status codes to indicate certain aspects

exec-maven-plugin exit Code Issue

2008-10-31 Thread Petr V.
at documentation of plugin but I don't see any option that would help me setting up what to do when my called program or script via exec-maven-plugin fails   plugin     groupIdorg.codehaus.mojo/groupId     artifactIdexec-maven-plugin/artifactId     version1.1/version     executions

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

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

multiple execution in exec-maven-plugin

2008-05-15 Thread syllepsa
Hi, I have to run two system applications using exec-maven-plugin thus I tried an example from the FAQ of that plugin. Unfortunatelly the example doesn't work on my machine. I'm using: Maven version: 2.1-SNAPSHOT Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Here is my

exec-maven-plugin exec:java question

2008-02-18 Thread robert . egan
What is the difference between arguments and commandLineArgs? I would guess, based on the descriptions, that the former affect the class while the latter affect the JVM, the command line being java. Yet elsewhere in the documentation it says that this runs within the same JVM and you must use

Re: Now what's up with exec-maven-plugin?

2008-01-17 Thread Stephen Coy
The site works for me and I can see the plugin at http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.1-beta-1/ Maybe you're having issues with your internal proxy? Steve On 18/01/2008, at 12:52 AM, Jeff Mutonho wrote: Why am I getting : [INFO] The plugin

Now what's up with exec-maven-plugin?

2008-01-17 Thread Jeff Mutonho
Why am I getting : [INFO] The plugin 'org.codehaus.mojo:exec-maven-plugin' does not exist or no val id version could be found Is this no longer available? Has it moved ? I've also noticed the plugin website http://mojo.codehaus.org/exec-maven-plugin/ has mostly broken links( eg Introduction

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

Exec-maven-plugin usage

2007-11-14 Thread Vishal Pahwa
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 plugins plugin

Re: exec-maven-plugin

2007-10-05 Thread Tim Kettler
probably just doesn't return a proper error return code. -Tim [1] https://svn.codehaus.org/mojo/tags/exec-maven-plugin-1.1-beta-1/src/main/java/org/codehaus/mojo/exec/ExecMojo.java [EMAIL PROTECTED] schrieb: I am using the exec-maven-plugin to manipulate some classes and the exec fails

Re: exec-maven-plugin

2007-10-05 Thread robert . egan
statements is in your log output, the shell script you invoke most probably just doesn't return a proper error return code. -Tim [1] https://svn.codehaus.org/mojo/tags/exec-maven-plugin-1.1- beta-1/src/main/java/org/codehaus/mojo/exec/ExecMojo.java I sort of expected this. I had to generate

exec-maven-plugin

2007-10-04 Thread robert . egan
I am using the exec-maven-plugin to manipulate some classes and the exec fails. plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution phaseprocess-classes/phase goals

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

2007-09-04 Thread szefo
it to be executed only during the compilation of the root project. How can I achieve it? Thanks in advance. Tom -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3E-how-to-skip-execution-in-a-sub-project-tf4379678s177.html#a12484500 Sent from the Maven - Users mailing list archive

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

2007-09-04 Thread Wayne Fay
like to skip it. I would like it to be executed only during the compilation of the root project. How can I achieve it? Thanks in advance. Tom -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3E-how-to-skip-execution-in-a-sub-project-tf4379678s177.html#a12484500 Sent

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

2007-09-04 Thread szefo
from root project is executed and causes errors - thus I would like to skip it. I would like it to be executed only during the compilation of the root project. How can I achieve it? Thanks in advance. Tom -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3E-how-to-skip

[m2] anyone have exec-maven-plugin JDeveloper genInterface working for webservices?

2007-06-06 Thread Mick Knutson
I could really use some examples to help getting this to run through maven... -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches

multiple execution in exec-maven-plugin

2007-05-18 Thread Erez Nahir
Hi, I need to call some executables from a single pom file and using exec-maven-plugin for that. Is there a way to configure it to run a set of executions and not just one? Thanks, Erez. - To unsubscribe, e-mail: [EMAIL

Re: [m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Steven Rowe
Hi Adrian, How are you invoking Maven? mvn package? (or some lifecycle phase after process-test-resources)? Steve Adrian Herscu wrote: Hi all, I am using the exec-maven-plugin to run some Java program. The java goal is bound to the process-test-resource build phase. The exec-maven

[m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Adrian Herscu
Hi all, I am using the exec-maven-plugin to run some Java program. The java goal is bound to the process-test-resource build phase. The exec-maven-plugin:java runs at the designated phase but no other thing runs afterwards -- the build finishes with this message: BUILD SUCCESSFUL Total time

Re: [m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Adrian Herscu
Hi Steven, I am invoking Maven as usual: mvn clean install If I am removing the exec-maven-plugin then the build lifecycle completes as expected. Adrian. Steven Rowe wrote: Hi Adrian, How are you invoking Maven? mvn package? (or some lifecycle phase after process-test-resources)? Steve

Re: [m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Jerome Lacoste
On 4/22/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi Steven, I am invoking Maven as usual: mvn clean install If I am removing the exec-maven-plugin then the build lifecycle completes as expected. Adrian. 1- report problems releated to the exec mojo project on the mojo user list ( [EMAIL

Re: [m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Adrian Herscu
OK -- I am posting the issue on the [EMAIL PROTECTED] list. Adrian. Jerome Lacoste wrote: On 4/22/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi Steven, I am invoking Maven as usual: mvn clean install If I am removing the exec-maven-plugin then the build lifecycle completes as expected

[m2] exec-maven-plugin in a multiproject

2007-04-17 Thread Adrian Herscu
Hi all, I am using Maven 2.0.6 with the exec-maven-plugin 1.1-beta-1. My project has a structure similar to this: root +child1 +child2 In child2 I am using the java goal and in child1 I am using the exec goal. When I am building child2 alone everything works fine. When I am

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread franz see
@maven.apache.org Subject: [m2] exec-maven-plugin fails because path containing spaces Hi all, I am trying to run Ant 1.7 from within Maven 2 using the exec-maven-plugin. plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread Adrian Herscu
program files == progra~1 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: April 16, 2007 3:07 PM To: users@maven.apache.org Subject: [m2] exec-maven-plugin fails because path containing spaces Hi all, I am trying to run Ant 1.7 from within Maven

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread Jerome Lacoste
On 4/17/07, Adrian Herscu [EMAIL PROTECTED] wrote: Good idea! Only problem is that antrun doesn't know about Ant 1.7... (and I need a specific feature of a specific task which is available only in Ant 1.7) http://jira.codehaus.org/browse/MANTRUN-68 You can fix it yourself. You probably just

[m2] exec-maven-plugin fails because path containing spaces

2007-04-16 Thread Adrian Herscu
Hi all, I am trying to run Ant 1.7 from within Maven 2 using the exec-maven-plugin. plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution phaseprocess-test-resources/phase goals

RE: [m2] exec-maven-plugin fails because path containing spaces

2007-04-16 Thread Phill Moran
Surround them in quotes or use the dos short for. For instance program files == progra~1 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: April 16, 2007 3:07 PM To: users@maven.apache.org Subject: [m2] exec-maven-plugin fails because path

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-16 Thread Adrian Herscu
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: April 16, 2007 3:07 PM To: users@maven.apache.org Subject: [m2] exec-maven-plugin fails because path containing spaces Hi all, I am trying to run Ant 1.7 from within Maven 2 using the exec-maven-plugin

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 https://webmail.valtech.com/exchange

exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread jason r tibbetts
so that I can use it. This is a multi-module project. (parent)/ - common/ - client/ - src/main/java/FooTool I've configured the exec-maven-plugin in the client's pom.xml: build plugins pluginorg.codehaus.mojo/plugin artifactIdexec-maven-plugin/artifactId executions

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 https://webmail.valtech.com/exchange/Barrett.Nuzum/Drafts/RE:%20exec-maven-plugin:%20Swing

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 https://webmail.valtech.com/exchange/Barrett.Nuzum/Drafts/RE:%20exec-maven-plugin:%20Swing%20app

Re: [m2] exec-maven-plugin = path with spaces is truncated

2007-02-25 Thread Jerome Lacoste
On 2/21/07, bkbonner [EMAIL PROTECTED] wrote: It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem. Is there any chance of a 1.1 release for this exec-maven-plugin? Some of the threading management semantics introduced in 1.1-SNAPSHOT have to be revised before the plugin

exec-maven-plugin = path with spaces is truncated

2007-02-21 Thread bkbonner
. Is anyone else seeing this, or should I log a JIRA for it? Brian -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9087792 Sent from the Maven - Users mailing list archive at Nabble.com

exec-maven-plugin = using exec to run a java program

2007-02-21 Thread bkbonner
fixes this bug and the other bug I problem I had. -- View this message in context: http://www.nabble.com/exec-maven-plugin-%3D-using-exec-to-run-a-java-program-tf3269006s177.html#a9088216 Sent from the Maven - Users mailing list archive at Nabble.com

Re: [m2] exec-maven-plugin = path with spaces is truncated

2007-02-21 Thread bkbonner
It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem. Is there any chance of a 1.1 release for this exec-maven-plugin? Brian -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9088232 Sent from

Re: JAXB 2.0-SNAPSHOT with exec Maven plugin

2007-01-31 Thread Jerome Lacoste
On 1/24/07, Michael Roepke [EMAIL PROTECTED] wrote: Hi there, I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven plugin, please see Caused by: java.lang.LinkageError: loader constraint violation: when resolving field DATETIME the class loader (instance of org/codehaus

Re: JAXB 2.0-SNAPSHOT with exec Maven plugin

2007-01-31 Thread Aleksei Valikov
Hi. I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven plugin, please see Why don't you simply use maven-jaxb2-plugin? https://maven-jaxb2-plugin.dev.java.net/ Bye. /lexi - To unsubscribe, e-mail

JAXB 2.0-SNAPSHOT with exec Maven plugin

2007-01-23 Thread Michael Roepke
Hi there, I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven plugin, please see Caused by: java.lang.LinkageError: loader constraint violation: when resolving field DATETIME the class loader (instance of org/codehaus/mojo/exec/ExecJavaMoj o$IsolatedClassLoader

[m2] how to config exec-maven-plugin to run different java programs?

2006-09-29 Thread Man-Chi Leung
hi, i would like to a use mvn to exec different java programs between the same project directory just similarly like Ant tasks $ant prog1 (execute my first java program) $ant prog2 (execute my secound java program) this is my current setting in pom.xml: plugin

Re: exec-maven-plugin and classpath

2006-07-26 Thread Kaare Nilsen
documentation is needed on the mojo site. But for any further question, please use the mojo user group . Best regards Kaare Nilsen On 25/07/06, Sean Mitchell [EMAIL PROTECTED] wrote: Hi All... I'm trying to make the exec-maven-plugin run a java Main using the project's classpath, but I'm running

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

exec-maven-plugin and classpath

2006-07-25 Thread Sean Mitchell
Hi All... I'm trying to make the exec-maven-plugin run a java Main using the project's   classpath, but I'm running into trouble. As per TFM I have specified the arguments thusly:           arguments             argument-classpath/argument             !-- automatically creates the classpath