Set a different classpath for just one grails command
I need to set a different classpath
for one single grails xxx
command.
The point is that my application uses latest version of commons-httpclient
. I have no problems with this. But after building my application I need to use grails maven-deploy
to store my war
file in a webdav
repository, and the command conflicts with the latest version of commons-httpclient
. This command works great if I add commons-httpclient-2.0.2.jar
in the classpath
(lib folder for example), but the app will fail on trying to use the regular features that depends on commons-httpclient
.
I need to add this other jar in the classpath
just fo开发者_运维技巧r running the maven-deploy
command, any ideas?
I'm using jenkins (huson) to build the app, so, any tips on making the solution achievable with grails jenkins plugins will be appreciated.
Thanks a lot,
Does the grails maven-deploy
command conflicts due to another dependency on httpclient
?
Which one is it? May be you could exclude the dependency it?
精彩评论