Hi I am using maven-compile plugin to compile classes. Now i would like to add one jar file into current classpath. that file stays in another location (let says c:/jars/abc.jar . i prefer to leave this file here). How can i do that. If i use classpath in the argument:
<configuration>
<compilerArguments>
<classpath>c:/jars/abc.jar</classpath>
</compilerArguments>
</configuration>
it will not working because it will override the current classpath (that include all the dependencies)
Please help me.