jonbullock/JBake — pull request #72 by RainerW (2014-01-05 12:16:09+00:00)
Title: added weld / CDI

Added JBoss weld (http://weld.cdi-spec.org/) for CDI support

why:
- no static var problem in tests
- code gets testable
- future code can now use CDI to decouple stuff ( e.g. melix modularization code could use this )

did:
- added weld as CDI
- removed static code from ConfigUtil
- changed Tests so no static reset needed
- added mockito as dependency will be usedfull for nice test ( e.g. http://docs.mockito.googlecode.com/hg/org/mockito/InjectMocks.html )
- all changes from https://github.com/jonbullock/JBake/pull/71 ( becuase i'm lazy, not per se necessary )