aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes_rudolph@gmx.de>2012-10-10 12:59:30 +0200
committerJohannes Rudolph <johannes_rudolph@gmx.de>2012-10-10 12:59:50 +0200
commit095df4a87a223b5f23e20c6f1657f63e7ab137f4 (patch)
tree62f4c7608fe86568bd19f55368b257245a862a15
parent33e0ae2de69eef191dbff69709ad5b78628e57ca (diff)
downloadsbt-boilerplate-095df4a87a223b5f23e20c6f1657f63e7ab137f4.tar.gz
sbt-boilerplate-095df4a87a223b5f23e20c6f1657f63e7ab137f4.tar.bz2
sbt-boilerplate-095df4a87a223b5f23e20c6f1657f63e7ab137f4.zip
licensing matters
-rw-r--r--LICENSE22
-rw-r--r--README.md8
-rw-r--r--src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala6
-rw-r--r--src/main/scala/cc/spray/boilerplate/Generator.scala6
-rw-r--r--src/main/scala/cc/spray/boilerplate/TemplateParser.scala6
5 files changed, 47 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..964ecad
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012, Johannes Rudolph
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/README.md b/README.md
index 900f469..592f001 100644
--- a/README.md
+++ b/README.md
@@ -84,4 +84,10 @@ to your `build.sbt`.
The templates have to be put into the `src/main/boilerplate` directory and the file name
must end with `.template`. The generated files will be put into the same hierarchy as they
-appear in `src/main/boilerplate` with the `.template` extension stripped off. \ No newline at end of file
+appear in `src/main/boilerplate` with the `.template` extension stripped off.
+
+## License
+
+Copyright (c) 2012 Johannes Rudolph
+
+Published under the [BSD 2-Clause License](http://www.opensource.org/licenses/BSD-2-Clause). \ No newline at end of file
diff --git a/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala b/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala
index 41d2b65..b0fb909 100644
--- a/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala
+++ b/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala
@@ -1,3 +1,9 @@
+/*
+ * sbt-boilerplate is distributed under the 2-Clause BSD license. See the LICENSE file in the root
+ * of the repository.
+ *
+ * Copyright (c) 2012 Johannes Rudolph
+ */
package cc.spray.boilerplate
import sbt._
diff --git a/src/main/scala/cc/spray/boilerplate/Generator.scala b/src/main/scala/cc/spray/boilerplate/Generator.scala
index 9a9b5ab..46527ce 100644
--- a/src/main/scala/cc/spray/boilerplate/Generator.scala
+++ b/src/main/scala/cc/spray/boilerplate/Generator.scala
@@ -1,3 +1,9 @@
+/*
+ * sbt-boilerplate is distributed under the 2-Clause BSD license. See the LICENSE file in the root
+ * of the repository.
+ *
+ * Copyright (c) 2012 Johannes Rudolph
+ */
package cc.spray.boilerplate
import util.parsing.combinator.RegexParsers
diff --git a/src/main/scala/cc/spray/boilerplate/TemplateParser.scala b/src/main/scala/cc/spray/boilerplate/TemplateParser.scala
index 4e280a4..dfaddd7 100644
--- a/src/main/scala/cc/spray/boilerplate/TemplateParser.scala
+++ b/src/main/scala/cc/spray/boilerplate/TemplateParser.scala
@@ -1,3 +1,9 @@
+/*
+ * sbt-boilerplate is distributed under the 2-Clause BSD license. See the LICENSE file in the root
+ * of the repository.
+ *
+ * Copyright (c) 2012 Johannes Rudolph
+ */
package cc.spray.boilerplate
import util.parsing.combinator.RegexParsers