exec-maven-plugin Questions
2
Solved
I want to taste the newest Java 19 feature, also do not change the default Java Home( Java 17).
So I create a toolchains.xml in the ~/.m2, and define a jdk type toolchain like this.
<?xml versio...
Catercorner asked 23/9, 2022 at 16:20
2
In my project, we've created a Maven module to get the specific JBoss AS and unpacked.
Then all the test cases can be run under this Jboss AS as embedded container.
We're using jboss-ejb3-embedded...
Polystyrene asked 8/2, 2012 at 9:9
4
Solved
I want to use the exec:java plugin to invoke the main class from command line. I can pass arguments from the command line using -Dexec.args="arg0 arg1 arg2", I don't know how to pass system propert...
Helton asked 14/9, 2010 at 12:29
6
My Java EE proj builds fine, but when trying to execute get following error:
gert@gert-VirtualBox:~/workspace/CDBOOKSTORE$ mvn exec:java
[INFO] Scanning for projects...
[INFO]
[INFO] ----------...
Tieratierce asked 8/11, 2013 at 3:11
2
Solved
I have a project configured to build and run with Maven. The project depends on platform specific native libraries, and I'm using the strategy found here to manage those dependencies.
Essentially,...
Wyoming asked 21/2, 2013 at 22:42
4
Solved
I am trying to run TestNG tests. My Project organization is - src->test->java->com->shn->library
The below command works well in Windows but fails in Linux.
mvn -X clean exec:java -Dexec.mainClass...
Holtorf asked 3/7, 2013 at 21:14
2
I'm making a maven application that uses a sparql endpoint service. I'd like to have a maven goal to download the sparql endpoint and start the service but it seems that maven have some problems to...
Rent asked 7/6, 2017 at 10:7
5
Solved
I am trying to perform integration tasting of the deployment of my application on the top of a custom container. Since my container is custom, I cannot use Maven Cargo plugin to setup the container...
Wilks asked 26/9, 2012 at 8:47
3
Three weeks ago I had finished work on a web application. Everything was running without problems.
Now, three weeks later, having changed nothing(!!!), I wanted to run the application again but th...
Concentrated asked 23/4, 2020 at 18:45
3
I have a pom that uses the exec-maven-plugin to execute a shell script with three parameters. When running mvn clean install -X -e, it fails at that step with the error,
[DEBUG] Toolchains are ig...
Tessera asked 21/9, 2017 at 15:31
5
Im working on Smooks - Camel Integration.Im stuck with an error.The Build Fails
when I try to Run it using mvn exec:java
[ERROR]:
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1....
Beelzebub asked 2/8, 2013 at 7:47
3
Solved
When executing mvn exec:java it fails to correctly parse the configuration arguments, throwing the following error:
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:java...
Merchandising asked 17/4, 2012 at 10:30
1
Solved
I am using the exec-maven-plugin to execute a java application to do some code generation in my project:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-m...
Expertize asked 30/1, 2018 at 10:46
2
Solved
I have a question regarding how maven calculates the classpath during building. Specifically, what controls when the "target/classes" is used and when the "jar" from a repository (local/remote) is ...
Lighterman asked 11/5, 2018 at 8:53
1
Solved
I am using exec-maven-plugin to run java app. I need to pass both JVM params and program arguments. I am setting JVM params like this:
<artifactId>exec-maven-plugin</artifactId>
<v...
Hysterotomy asked 9/5, 2018 at 19:28
2
Solved
I would like to run a daemon thread which should start on maven package phase. This is what I have in pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</...
Koumis asked 20/11, 2012 at 10:44
1
Solved
I want to use exec-maven-plugin to get git 'revision', so I'm using following configuration:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin&l...
Siding asked 31/7, 2013 at 6:33
4
I am trying to execute the following scenario using maven :
pre-integration-phase : Start a java based application using a main class (using exec-maven-plugin)
integration-phase : Run the integra...
Coeducation asked 30/3, 2012 at 5:25
2
From the documentation:
exec:exec execute programs and Java programs in a separate process.
exec:java execute Java programs in the same VM.
I want to fork a java program. I've already got it work...
Tentage asked 10/6, 2013 at 18:41
3
Solved
I am running jUnit4 tests, built with Maven, on a Jenkins box. My goal is to restore a test database before executing the tests.
It looks like exec-maven-plugin is the way to go, but I cannot get ...
Carman asked 14/5, 2014 at 16:7
2
Solved
Is it possible to execute the exec goal with the exec-maven-plugin with the -e switch? I am getting a MojoExecutionException.
Nowhere asked 27/7, 2011 at 9:48
2
Solved
I'm trying to set up a build process during which, a Windows service has to be started and stopped. I tried doing that by using the exec-maven-plugin:
<plugin>
<groupId>org.codehaus.m...
Blumenthal asked 20/12, 2017 at 9:2
2
Solved
I am using maven on Win 7 to build an application. I use the exec plugin to invoke a python script.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-...
Delozier asked 20/12, 2012 at 14:35
3
Solved
I'm trying to run exec-maven-plugin's exec:java goal on a simple two-module project where one module depends on the other. So far I can't find a configuration that works. Here's a boiled-down test ...
Fogbound asked 18/6, 2012 at 21:24
1
Solved
I am running JavaScript unit tests in a maven project using exec-maven-plugin
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>...
Grayson asked 16/6, 2016 at 12:7
1 Next >
© 2022 - 2024 — McMap. All rights reserved.