Added maven settings for publish, modified makefile