how to use maven exec plugin with modules?

2023-10-18 Thread Siddharth Jain
I am developing an application using Java modules. when i try to run it using exec:java it seems the exec-plugin adds all dependencies to the classpath. i verified this using the -X option. the behavior expected is the modularized dependencies should be added to the module path. i am using plugin

How to use Vector API with Maven Exec Plugin

2023-08-21 Thread Siddharth Jain
> > > Hello, How can I use the Vector API with maven exec plugin? I compiled my project with these settings and it worked fine: org.apache.maven.plugins maven-compiler-plugin 20 20 --enable-preview --add-modules jdk.incubator.vector 20 But when I try to run it using mvn exec:j

[ANN] Maven Exec Plugin 1.3.2 Released

2014-07-27 Thread Dan Tran
Hi, The Mojo team is pleased to announce the release of the exec-maven-plugin version 1.3.2. This plugin provides 2 goals to help execute system and Java programs. http://mojo.codehaus.org/exec-maven-plugin/ http://mojo.codehaus.org/build-helper-maven-plugin/ To get this update, simply specify

[ANN] Maven Exec Plugin 1.3.1 Released

2014-06-10 Thread Dan Tran
Hi, The Mojo team is pleased to announce the release of the exec-maven-plugin version 1.3.1. This plugin provides 2 goals to help execute system and Java programs. http://mojo.codehaus.org/exec-maven-plugin/ http://mojo.codehaus.org/build-helper-maven-plugin/ To get this update, simply specify

Re: maven-exec-plugin

2013-06-07 Thread Stephen Connolly
donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 6 Jun 2013 15:18:12 +0530 Subject: maven-exec-plugin From: 06v...@gmail.com javascript:; To: users@maven.apache.org javascript:; Hi

Re: maven-exec-plugin

2013-06-07 Thread Baptiste MATHUS
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 6 Jun 2013 15:18:12 +0530 Subject: maven-exec-plugin

maven-exec-plugin

2013-06-07 Thread Stephen Connolly
fourni. Date: Thu, 6 Jun 2013 15:18:12 +0530 Subject: maven-exec-plugin From: 06v...@gmail.com javascript:_e({}, 'cvml', '06v...@gmail.com'); javascript:; To: users@maven.apache.org javascript:_e({}, 'cvml', 'users@maven.apache.org'); javascript:; Hi, I am having

Re: maven-exec-plugin

2013-06-07 Thread Baptiste MATHUS
pour le contenu fourni. Date: Thu, 6 Jun 2013 15:18:12 +0530 Subject: maven-exec-plugin From: 06v...@gmail.com javascript:_e({}, 'cvml', '06v...@gmail.com'); javascript:; To: users@maven.apache.org javascript:_e({}, 'cvml', 'users@maven.apache.org'); javascript

RE: maven-exec-plugin

2013-06-07 Thread Martin Gainty
! Martin Gainty __ Date: Fri, 7 Jun 2013 11:07:10 +0100 Subject: maven-exec-plugin From: stephen.alan.conno...@gmail.com To: users@maven.apache.org Unless you have hard evidence that Martin is in actual fact a bot, it is quite insulting

maven-exec-plugin

2013-06-06 Thread virg g
Hi, I am having a problem in using maven-exec-plugin. I have requirement that i need to use SVN MOVE command to rename labels. Since SCM does not support MOVE svn tags/labels i am using maven-exec-plugin to rename svn tags with required arguments including svn username and password. The problem i

Re: maven-exec-plugin

2013-06-06 Thread Wolf Geldmacher
On 06.06.2013 11:48, virg g wrote: Hi, I am having a problem in using maven-exec-plugin. I have requirement that i need to use SVN MOVE command to rename labels. Since SCM does not support MOVE svn tags/labels i am using maven-exec-plugin to rename svn tags with required arguments including svn

RE: maven-exec-plugin

2013-06-06 Thread Martin Gainty
sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 6 Jun 2013 15:18:12 +0530 Subject: maven-exec-plugin From: 06v...@gmail.com To: users@maven.apache.org Hi, I am having a problem in using maven-exec-plugin. I have requirement that i

maven-exec-plugin and VM args

2012-12-05 Thread Mark Derricutt
Hey all, Seeing some odd behaviour with maven-exec-plugin and JVM arguments that seem to be eluding me. I have the following config: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId version1.2.1/version configuration executablejava/executable classpathScopetest

Re: maven-exec-plugin and VM args

2012-12-05 Thread Anders Hammar
Derricutt m...@talios.com wrote: Hey all, Seeing some odd behaviour with maven-exec-plugin and JVM arguments that seem to be eluding me. I have the following config: plugin groupIdorg.codehaus.mojo/**groupId artifactIdexec-maven-plugin**/artifactId version1.2.1/version configuration

Re: maven-exec-plugin and VM args

2012-12-05 Thread Mark Derricutt
Anders, Mmm that sounds plausible altho so far I don't seem to see any difference in behaviour, my ps aux output shows amrk 6040 0.0 5.7 4054184 478464 s000 S+ 10:53am 3:57.72 /usr/bin/java -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Xmx1024m -XX:+CMSClassUnloadingEnabled

Re: Using maven-exec-plugin as a non-reusable plugin?

2011-04-01 Thread Anders Hammar
to that project that it is too large of an overhead to author it as a reusable maven plugin. Using maven-exec-plugin, the class can be run, but then the question becomes who will compile it? Since the class is only used by the build, it should not be included in the produced artifact (jar, war, etc

Using maven-exec-plugin as a non-reusable plugin?

2011-03-31 Thread Andrew Robinson
It is sometimes very convenient to have a java class with a main method used to help build a maven project, but one that is so specific to that project that it is too large of an overhead to author it as a reusable maven plugin. Using maven-exec-plugin, the class can be run, but then the question

Re: NoClassDefFoundError when running maven-exec-plugin and Cobertura

2010-11-17 Thread PaulGee
sure cobertura version is the same as the one used by your version of cobertura plugin (in our case it was 2.4) -- View this message in context: http://maven.40175.n5.nabble.com/NoClassDefFoundError-when-running-maven-exec-plugin-and-Cobertura-tp103455p3268700.html Sent from the Maven - Users

Re: executing maven-exec-plugin twice doesn't seem to work

2009-02-13 Thread Trevor Harmon
On Feb 12, 2009, at 3:42 PM, klimane wrote: I am trying to get a maven-exec-plugin to run two different main programs in a particular order within the same build. Have you looked at this? http://article.gmane.org/gmane.comp.java.maven-plugins.mojo.user/1307 Trevor

Re: executing maven-exec-plugin twice doesn't seem to work

2009-02-13 Thread klimane
happening that made me think that it was the plugin causing the problem. However, it was my own mistake (an incorrect variable specified in the pom) that was causing the problem. Thanks for the info. -- View this message in context: http://www.nabble.com/executing-maven-exec-plugin-twice-doesn%27t-seem

executing maven-exec-plugin twice doesn't seem to work

2009-02-12 Thread klimane
I am trying to get a maven-exec-plugin to run two different main programs in a particular order within the same build. Here's what I've got in my pom: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId version1.1/version executions execution idexec

Re: Problem using maven-exec-plugin exec:exec command

2008-07-21 Thread seanoc
/Problem-using-maven-exec-plugin-exec%3Aexec-command-tp18469173p18566455.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]

Problem using maven-exec-plugin exec:exec command

2008-07-15 Thread seanoc
/Problem-using-maven-exec-plugin-exec%3Aexec-command-tp18469173p18469173.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Problem using maven-exec-plugin exec:exec command

2008-07-15 Thread Haim Ashkenazi
On Tue, Jul 15, 2008 at 7:14 PM, seanoc [EMAIL PROTECTED] wrote: I'm using maven 2.0.9 using the pom attached I run the command, mvn exec:exec -Dserver I'm not sure this tells maven which execution to run. I think you have to either connect the executions to a phase or to a profile and then

Re: Problem using maven-exec-plugin exec:exec command

2008-07-15 Thread Haim Ashkenazi
On Tue, Jul 15, 2008 at 8:10 PM, Haim Ashkenazi [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2008 at 7:14 PM, seanoc [EMAIL PROTECTED] wrote: I'm using maven 2.0.9 using the pom attached I run the command, mvn exec:exec -Dserver I'm not sure this tells maven which execution to run. I think you

Re: Maven exec plugin

2008-05-10 Thread Jerome Lacoste
On Fri, May 9, 2008 at 4:50 AM, avin98 [EMAIL PROTECTED] wrote: I'm trying to run a shell script from a maven goal. Here's my definition build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions

Maven exec plugin

2008-05-08 Thread avin98
] Finished at: Thu May 08 19:49:56 PDT 2008 [INFO] Final Memory: 3M/6M [INFO] -- View this message in context: http://www.nabble.com/Maven-exec-plugin-tp17140512p17140512.html Sent from the Maven - Users mailing list archive

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

Is there a way to redirect the output of maven-exec plugin to a file?

2007-10-24 Thread Yan Huang
Hello, Quick question: is there a way to direct the execution log of maven-exec plugin (on the fly) to a file rather than the console? I think all Mojo is using log4j property for the logging. However, if I want it to dump the log of whatever it invokes, how can i do it? It seems to me

Re: Is there a way to redirect the output of maven-exec plugin to a file?

2007-10-24 Thread Wayne Fay
If its not obvious in the docs, it probably does not exist. Feel free to add the functionality you need and contribute it back. Wayne On 10/24/07, Yan Huang [EMAIL PROTECTED] wrote: Hello, Quick question: is there a way to direct the execution log of maven-exec plugin (on the fly) to a file

maven-exec-plugin: Launching a main class in a module?

2007-03-23 Thread jason r tibbetts
Here's another maven-exec-plugin question: how can it be made to work in a multi-module project? Right now, I've added the exec plugin configuration to the pom.xml in my 'client' subproject, but that requires me to do mvn install mvn -f client/pom.xml exec:java every time, and the second

[M2] Finding the Maven exec plugin

2007-02-07 Thread Siegmann Daniel, NY
I am trying to use the exec-maven-plugin, but when I run exec:exec I get the following: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'exec'. [INFO] [ERROR] BUILD ERROR [INFO]

Re: [M2] Finding the Maven exec plugin

2007-02-07 Thread Jerome Lacoste
On 2/7/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: I am trying to use the exec-maven-plugin, but when I run exec:exec I get the following: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'exec'. [INFO]