Fix single jar file bug

use nave shade plugin
use Sping xml configuration instead of java based configuration