Skip to content

Commit

Permalink
Merge pull request #9 from moacirrf/6-define-a-license
Browse files Browse the repository at this point in the history
Show license when install the plugin.
  • Loading branch information
moacirrf authored May 30, 2022
2 parents f86bf4c + c09d844 commit 08f31bb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
20 changes: 20 additions & 0 deletions licenseheader.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<#if licenseFirst??>
${licenseFirst}
</#if>
${licensePrefix}Copyright (C) ${date?date?string("yyyy")} ${project.organization!user}
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}This program is free software: you can redistribute it and/or modify
${licensePrefix}it under the terms of the GNU General Public License as published by
${licensePrefix}the Free Software Foundation, either version 3 of the License, or
${licensePrefix}(at your option) any later version.
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}This program is distributed in the hope that it will be useful,
${licensePrefix}but WITHOUT ANY WARRANTY; without even the implied warranty of
${licensePrefix}MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
${licensePrefix}GNU General Public License for more details.
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}You should have received a copy of the GNU General Public License
${licensePrefix}along with this program. If not, see <http://www.gnu.org/licenses/>.
<#if licenseLast??>
${licenseLast}
</#if>
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
<version>4.5</version>
<extensions>true</extensions>
<configuration>
<author>Moacir da Roza Flores-moacirrf@gmail.com</author>
<licenseName>GNU GENERAL PUBLIC LICENSE 3.0</licenseName>
<licenseFile>LICENSE</licenseFile>
<publicPackages>
<publicPackage>com.mrf.javadecompiler</publicPackage>
</publicPackages>
</publicPackages>
<netbeansInstallation>/home/PROGRAMAS/instalados/ides/netbeans/</netbeansInstallation>
<!-- <netbeansInstallation>${netbeansInstalationPath}</netbeansInstallation>-->
</configuration>
Expand Down

0 comments on commit 08f31bb

Please sign in to comment.