У меня была эта проблема сама по себе при разработке плагина. Я думаю, вы использовали архетип сонара-плагина для создания своего окружения. Если вы сделаете это, весь ваш проект находится под лицензией GNU 3, и ожидается, что заголовок в каждом классе будет сообщать об этом. Предопределенный pom.xml содержит часть, в которой это определено. Найдите «лицензию» в вашем pom.xml и удалите эту часть.
Если это не решает вашу проблему, просто добавьте -Dlicense.skip=true
к своей цели maven.
Ожидаемый заголовок выглядит примерно так (обратите внимание, что первые вещи устанавливаются при использовании -sonar-archetype)
/*
* MyLanguage Plugin
* Copyright (C) MyYear MyCompany
* [email protected]
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
person
Krummy
schedule
13.05.2014