Skip to content

Commit

Permalink
[maven-release-plugin] copy for tag license-maven-plugin-1.1
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/tiste/MOJOHAUS-TO-GIT/SVN-MOJO-WIP/tags/license-maven-plugin-1.1@16642 52ab4f32-60fc-0310-b215-8acea882cd1b
  • Loading branch information
Tony Chemit committed May 17, 2012
2 parents 7c27501 + a5c2c2a commit d7f9125
Show file tree
Hide file tree
Showing 164 changed files with 1,021 additions and 769 deletions.
23 changes: 23 additions & 0 deletions config/checkstyle-header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
^package
^\s*$
^/\*\s*$
^ \* #%L\s*$
^ \* License Maven Plugin\s*$
^ \* %%\s*$
^ \* Copyright \(C\).*$
^ \* %%\s*$
^ \* This program is free software: you can redistribute it and/or modify\s*$
^ \* it under the terms of the GNU Lesser General Public License as\s*$
^ \* published by the Free Software Foundation, either version 3 of the\s*$
^ \* License, or \(at your option\) any later version.\s*$
^ \*\s*$
^ \* This program is distributed in the hope that it will be useful,\s*$
^ \* but WITHOUT ANY WARRANTY; without even the implied warranty of\s*$
^ \* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\s*$
^ \* GNU General Lesser Public License for more details.\s*$
^ \*\s*$
^ \* You should have received a copy of the GNU General Lesser Public\s*$
^ \* License along with this program. If not, see\s*$
^ \* <http://www.gnu.org/licenses/lgpl-3.0.html>.\s*$
^ \* #L%\s*$
^ \*/\s*$
10 changes: 9 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#%L
License Maven Plugin
%%
Copyright (C) 2011-2012 CodeLutin, Codehaus
Copyright (C) 2011-2012 CodeLutin, Codehaus, tony Chzemit
%%
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand Down Expand Up @@ -387,6 +387,14 @@
<version>1.5</version>
</plugin>

<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<headerLocation>config/checkstyle-header.txt</headerLocation>
</configuration>
</plugin>

<!-- TODO Will be used after release of version 1.1 -->
<!--plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-2/child1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-2/child2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-2/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
###
# #%L
# License Maven Plugin
#
# $Id$
# $HeadURL$
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# %%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-2/postbuild.groovy
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* #%L
* License Maven Plugin
*
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-21/child1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-21/child2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-21/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
###
# #%L
# License Maven Plugin
#
# $Id$
# $HeadURL$
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# %%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-21/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-21/postbuild.groovy
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* #%L
* License Maven Plugin
*
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-23/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
###
# #%L
# License Maven Plugin
#
# $Id$
# $HeadURL$
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# %%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-23/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-25/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
###
# #%L
# License Maven Plugin
#
# $Id$
# $HeadURL$
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# %%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-25/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
22 changes: 22 additions & 0 deletions src/it/add-third-party/MLICENSE-25/postbuild.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
/*
* #%L
* License Maven Plugin
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
* 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>.
* #L%
*/

def assertExistsDirectory(file)
{
if ( !file.exists() || !file.isDirectory() )
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-36/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!--
#%L
License Maven Plugin
$Id$
$HeadURL$
%%
Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
%%
Expand Down
3 changes: 0 additions & 3 deletions src/it/add-third-party/MLICENSE-36/postbuild.groovy
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* #%L
* License Maven Plugin
*
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
###
# #%L
# License Maven Plugin
#
# $Id: invoker.properties 16632 2012-05-17 16:33:18Z tchemit $
# $HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/invoker.properties $
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
# %%
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
Expand Down
5 changes: 1 addition & 4 deletions src/it/add-third-party/MLICENSE-37/blacklist-fail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
<!--
#%L
License Maven Plugin
$Id: pom.xml 16632 2012-05-17 16:33:18Z tchemit $
$HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/pom.xml $
%%
Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
%%
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand Down
22 changes: 22 additions & 0 deletions src/it/add-third-party/MLICENSE-37/blacklist-fail/postbuild.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* #%L
* License Maven Plugin
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
* 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>.
* #L%
*/
return true;
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
###
# #%L
# License Maven Plugin
#
# $Id: invoker.properties 16632 2012-05-17 16:33:18Z tchemit $
# $HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/invoker.properties $
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
# %%
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
Expand Down
5 changes: 1 addition & 4 deletions src/it/add-third-party/MLICENSE-37/blacklist-success/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
<!--
#%L
License Maven Plugin
$Id: pom.xml 16632 2012-05-17 16:33:18Z tchemit $
$HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/pom.xml $
%%
Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
%%
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
/*
* #%L
* License Maven Plugin
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
* 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>.
* #L%
*/
return true;
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
###
# #%L
# License Maven Plugin
#
# $Id: invoker.properties 16632 2012-05-17 16:33:18Z tchemit $
# $HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/invoker.properties $
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
# %%
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
Expand Down
5 changes: 1 addition & 4 deletions src/it/add-third-party/MLICENSE-37/whitelist-fail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
<!--
#%L
License Maven Plugin
$Id: pom.xml 16632 2012-05-17 16:33:18Z tchemit $
$HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/pom.xml $
%%
Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
%%
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand Down
22 changes: 22 additions & 0 deletions src/it/add-third-party/MLICENSE-37/whitelist-fail/postbuild.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* #%L
* License Maven Plugin
* %%
* Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
* %%
* 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>.
* #L%
*/
return true;
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
###
# #%L
# License Maven Plugin
#
# $Id: invoker.properties 16632 2012-05-17 16:33:18Z tchemit $
# $HeadURL: https://svn.codehaus.org/mojo/trunk/mojo/license-maven-plugin/src/it/add-third-party/MLICENSE-37/invoker.properties $
# %%
# Copyright (C) 2008 - 2011 CodeLutin, Codehaus, Tony Chemit
# Copyright (C) 2012 CodeLutin, Codehaus, Tony Chemit
# %%
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
Expand Down
Loading

0 comments on commit d7f9125

Please sign in to comment.