When you're using activiti.cfg.xml, the only thing that is required is the spring-beans dependency (for parsing and inflating the XML). If you don't want that, you can create the configuration completely manual, with our reading form a cfg.xml-file but rather do the config in Java-code.