Hi, I wrote some code that uses the class path string from:
System.getProperty("java.class.path");
When I build with Maven on the command line it, this code:
System.out.println(System.getProperty("java.class.path");
produces this output:
C:\Program Files\Apache Software Foundation\Maven
1.0.2\lib\forehead-1.0-beta-5.jar
When I run the same code from inside Eclipse, it produces the output I
expect which is a long string of file directories separated by ';' -- this
is what I need.
Why doesn't it work with maven cmd line build?
Why does maven seem to override that system property?
Is there some easy fix?
Regards,
Davis