I am developing a maven plugin, which uses a third party jar file , in the sense that it execs this jar.
So what all this plugin does it , uses this specific third part jar, executes using some parameters , and thats the end of it.
I know there is a java exec plugin for maven, but for reasons of my own , I do not want to use that and rather go for this approach.
The issue is, I am not able to embed the jar file , unless it exists in the same directory as the pom.xml , for the project I would be using this plugin for.
Can someone suggest a robust and elegant way to do this?
Thanks
Neeraj
Make this JAR a dependency for the plugin you are developing.