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/
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
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
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
; 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
="'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
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
7.1.8-SNAPSHOT
org.codehaus.mojo
exec-maven-plugin
npm-install
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
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
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/
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
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
:
> 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
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
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
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
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
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
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
|--- 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
|--- 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
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
-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
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 ?
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
. 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
(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
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
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
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
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
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
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
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
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
.
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
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
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
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
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.
-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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
@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
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
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
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
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
-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
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
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
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
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
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
. 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
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
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
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
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
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
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
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
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
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
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
96 matches
Mail list logo