On Thu, Mar 13, 2014 at 4:54 AM, Alex Karasulu wrote:
> Hello,
>
> I've got a module that builds an executable jar file using the Maven
> Assembly Plugin. I'm trying to setup an integration test (in the same
> module) that runs this executable jar file as a separate process and
> interacts with i
Well with Netbeans you just add the following:
org.apache.maven.plugins
maven-surefire-plugin
${surefire.version}
${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar
If you are using Eclipse you could also pass the system property directly
to the JRE. ( Windows/Preferences/installed JRE/ edit /default VM arguments)
It require less work than putting it in all run configuration, but all your
process will have it.
On Thu, Mar 13, 2014 at 8:56 AM, Stephen Connol
You could use test resource filtering to put the path into a resource file
on the test classpath.
That way the IDE will pick up the same path.
On Thursday, 13 March 2014, Alex Karasulu wrote:
> Hello,
>
> I've got a module that builds an executable jar file using the Maven
> Assembly Plugin. I'
Hello,
I've got a module that builds an executable jar file using the Maven
Assembly Plugin. I'm trying to setup an integration test (in the same
module) that runs this executable jar file as a separate process and
interacts with it. To fire up the executable jar file, my integration test
requires