MojoHaus 프로젝트에서 제공하는 Apache Maven용 플러그인을 제공하는데 그 중에서 어플리케이션에서 사용하는 라이선스가 어떤 종류를 사용하고 있는지 확인 할 수 있는 플러그인이 존재합니다.
[오픈소스 라이선스 종류 확인 명령어]
mvn license:license-list
[ 오픈소스 라이선스 종류 확인 실행 결과]
[INFO] Available licenses :
* agpl_v3 : GNU Affero General Public License (AGPL) version 3.0
* apache_v2 : Apache License version 2.0
* bsd_2 : BSD 2-Clause License
* bsd_3 : BSD 3-Clause License
* cddl_v1 : COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* epl_only_v1 : Eclipse Public License - v 1.0
* epl_only_v2 : Eclipse Public License - v 2.0
* epl_v1 : Eclipse Public + Distribution License - v 1.0
* epl_v2 : Eclipse Public License - v 2.0 with Secondary License
* eupl_v1_1 : European Union Public License v1.1
* fdl_v1_3 : GNU Free Documentation License (FDL) version 1.3
* gpl_v1 : GNU General Public License (GPL) version 1.0
* gpl_v2 : GNU General Public License (GPL) version 2.0
* gpl_v3 : GNU General Public License (GPL) version 3.0
* lgpl_v2_1 : GNU General Lesser Public License (LGPL) version 2.1
* lgpl_v3 : GNU General Lesser Public License (LGPL) version 3.0
* mit : MIT-License
[오픈소스 라이선스 전문 내용까지 확인 명령어]
mvn license:license-list -Ddetail
[오픈소스 라이선스 전문 내용까지 실행 결과]
* gpl_v3 : GNU General Public License (GPL) version 3.0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/gpl-3.0.html>.
* lgpl_v2_1 : GNU General Lesser Public License (LGPL) version 2.1
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 2.1 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 General Lesser Public License for more details.
You should have received a copy of the GNU General Lesser Public
License along with this program. If not, see
<http://www.gnu.org/licenses/lgpl-2.1.html>.
* lgpl_v3 : GNU General Lesser Public License (LGPL) version 3.0
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 General Lesser Public License for more details.
You should have received a copy of the GNU General Lesser Public
License along with this program. If not, see
<http://www.gnu.org/licenses/lgpl-3.0.html>.
* mit : MIT-License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
위 명령을 실행하기 위한 전제는 maven 프로그램이 설치되 있어야 합니다.
MAVEN 설치 방법 (2) | 2024.12.18 |
---|---|
현장에서 최신 OpenJDK를 고려할 때 (0) | 2024.11.28 |
개발 프로세스에서 Ramp-down Ramp-up phase (0) | 2024.10.07 |
Java 프로그래밍에서 인코딩 및 디코딩 이야기 (0) | 2024.05.31 |
자바 DATA TYPE의 BYTE 크기 및 범위 (0) | 2024.05.28 |