Is it possible to ignore the CLASSPATH variable in Maven?

Viewed 105

Our IT department has set up a JRE on our machines we can't remove, and they also set the global CLASSPATH variable to point to that.

Is there a way to configure Maven to ignore it? It's blocking my ability to run javadoc from Maven and the only remedy on SO is to remove that variable. I can do it manually, but would like to know if I can have Maven just ignore it or unset it.

0 Answers
Related