fix some maven mistakes and license

Fix maven