Reputation: 6637
I'm wondering if it's possible to add an extra directory to the classpath of tomcat run by the maven tomcat plugin?
When I use "normal" tomcat 6, I set this via the bin/setClasspath.sh file, and it's pretty straightforward that way, but so far I haven't been able to figure it out how to do this when using maven.
So any help is appreciated!
cheers,
balázs
Upvotes: 1
Views: 6202
Reputation: 3302
Have a look at this question and the first (not accepted) answer. Maven profiles FTW!
Upvotes: 0
Reputation: 97348
You can use the classesDir parameter for the plugin configuration (tomcat-maven-plugin).
Upvotes: 2