Skip to content

Commit

Permalink
Add missing license headers, verify license headers on build
Browse files Browse the repository at this point in the history
  • Loading branch information
zford committed Nov 13, 2012
1 parent 9f2e5dc commit e8587b8
Show file tree
Hide file tree
Showing 54 changed files with 633 additions and 176 deletions.
15 changes: 15 additions & 0 deletions HEADER-GPL.txt
@@ -0,0 +1,15 @@
${description}
Copyright (C) ${year} ${owner} <${email}>

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/>.
13 changes: 13 additions & 0 deletions HEADER-JFEP.txt
@@ -0,0 +1,13 @@
Copyright 2006 Bertoli Marco

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
20 changes: 20 additions & 0 deletions HEADER-Sfun.txt
@@ -0,0 +1,20 @@
-------------------------------------------------------------------------
$Id: Sfun.java,v 1.1.1.1 2005/06/06 07:43:35 Administrator Exp $
-------------------------------------------------------------------------
Copyright (c) 1997 - 1998 by Visual Numerics, Inc. All rights reserved.

Permission to use, copy, modify, and distribute this software is freely
granted by Visual Numerics, Inc., provided that the copyright notice
above and the following warranty disclaimer are preserved in human
readable form.

Because this software is licenses free of charge, it is provided
"AS IS", with NO WARRANTY. TO THE EXTENT PERMITTED BY LAW, VNI
DISCLAIMS LEVEL_ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO ITS PERFORMANCE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
VNI WILL NOT BE LIABLE FOR ANY DAMAGES WHATSOEVER ARISING OUT OF THE USE
OF OR INABILITY TO USE THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO DIRECT,
INDIRECT, SPECIAL, CONSEQUENTIAL, PUNITIVE, AND EXEMPLARY DAMAGES, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

-------------------------------------------------------------------------
43 changes: 43 additions & 0 deletions pom.xml
Expand Up @@ -15,6 +15,19 @@
<url>http://repo.bukkit.org/content/groups/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>mc-release</id>
<name>Local Maven repository of releases</name>
<url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
Expand Down Expand Up @@ -54,6 +67,36 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<configuration>
<encoding>UTF-8</encoding>
<header>${basedir}/HEADER-GPL.txt</header>
<validHeaders>
<validHeader>${basedir}/HEADER-JFEP.txt</validHeader>
<validHeader>${basedir}/HEADER-Sfun.txt</validHeader>
</validHeaders>
<strictCheck>true</strictCheck>
<includes>
<include>src/main/java/**</include>
</includes>
<properties>
<description>Jobs Plugin for Bukkit</description>
<year>2011</year>
<owner>Zak Ford</owner>
<email>zak.j.ford@gmail.com</email>
</properties>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/Jobs.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs;

import java.io.File;
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/me/zford/jobs/bukkit/JobsCommands.java
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit;
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/me/zford/jobs/bukkit/JobsPlugin.java
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/bukkit/PlayerLoginManager.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs.bukkit;

import java.util.concurrent.LinkedBlockingQueue;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/bukkit/PlayerManager.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs.bukkit;

import java.util.ArrayList;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/bukkit/actions/BlockActionInfo.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs.bukkit.actions;

import me.zford.jobs.container.ActionInfo;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/bukkit/actions/EntityActionInfo.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs.bukkit.actions;

import me.zford.jobs.container.ActionInfo;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/bukkit/actions/ItemActionInfo.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs.bukkit.actions;

import me.zford.jobs.container.ActionInfo;
Expand Down
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit.config;
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/me/zford/jobs/bukkit/config/JobConfig.java
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit.config;
Expand Down
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit.config;
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/me/zford/jobs/bukkit/config/MessageConfig.java
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit.config;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/me/zford/jobs/bukkit/economy/BufferedEconomy.java
@@ -1,3 +1,21 @@
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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/>.
*/

package me.zford.jobs.bukkit.economy;

import java.util.ArrayList;
Expand Down
@@ -1,6 +1,6 @@
/*
/**
* Jobs Plugin for Bukkit
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
* Copyright (C) 2011 Zak Ford <zak.j.ford@gmail.com>
*
* 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
Expand All @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package me.zford.jobs.bukkit.listeners;
Expand Down

0 comments on commit e8587b8

Please sign in to comment.