add support to build with command 'mvn package'