Skip to content

Commit ef59eda

Browse files
committed
Add license-maven-plugin configuration
1 parent 340b8a1 commit ef59eda

File tree

5 files changed

+82
-0
lines changed

5 files changed

+82
-0
lines changed

license/README.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
These license files are for use with the license-maven-plugin:
2+
3+
http://mojo.codehaus.org/license-maven-plugin/
4+
5+
To update the LICENSE.txt files, run:
6+
7+
mvn license:update-project-license
8+
9+
To update the license headers at the top of each source file, run:
10+
11+
mvn license:update-file-header

license/licenses.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scijava=Simplified BSD License

license/scijava/header.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions are met:
3+
4+
1. Redistributions of source code must retain the above copyright notice,
5+
this list of conditions and the following disclaimer.
6+
2. Redistributions in binary form must reproduce the above copyright notice,
7+
this list of conditions and the following disclaimer in the documentation
8+
and/or other materials provided with the distribution.
9+
10+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
13+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
14+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
15+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
16+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
17+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
18+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
19+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
20+
POSSIBILITY OF SUCH DAMAGE.
21+
22+
The views and conclusions contained in the software and documentation are
23+
those of the authors and should not be interpreted as representing official
24+
policies, either expressed or implied, of any organization.

license/scijava/license.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
SciJava Common shared library for SciJava software.
2+
3+
Copyright (C) 2009 - 2013 Board of Regents of the University of
4+
Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
5+
Institute of Molecular Cell Biology and Genetics.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions are met:
9+
10+
1. Redistributions of source code must retain the above copyright notice,
11+
this list of conditions and the following disclaimer.
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
20+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26+
POSSIBILITY OF SUCH DAMAGE.
27+
28+
The views and conclusions contained in the software and documentation are
29+
those of the authors and should not be interpreted as representing official
30+
policies, either expressed or implied, of any organization.

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,22 @@
5656
<groupId>org.codehaus.mojo</groupId>
5757
<artifactId>buildnumber-maven-plugin</artifactId>
5858
</plugin>
59+
<plugin>
60+
<groupId>org.codehaus.mojo</groupId>
61+
<artifactId>license-maven-plugin</artifactId>
62+
<configuration>
63+
<licenseName>scijava</licenseName>
64+
<licenseResolver>file://${basedir}/license</licenseResolver>
65+
<inceptionYear>2009</inceptionYear>
66+
<organizationName>Board of Regents of the University of
67+
Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
68+
Institute of Molecular Cell Biology and Genetics.</organizationName>
69+
<projectName>SciJava Common shared library for SciJava software.</projectName>
70+
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
71+
<canUpdateDescription>true</canUpdateDescription>
72+
<canUpdateCopyright>true</canUpdateCopyright>
73+
</configuration>
74+
</plugin>
5975
</plugins>
6076
</build>
6177

0 commit comments

Comments
 (0)