Fixed license check during 'mvn install'.