From 095df4a87a223b5f23e20c6f1657f63e7ab137f4 Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Wed, 10 Oct 2012 12:59:30 +0200 Subject: licensing matters --- LICENSE | 22 ++++++++++++++++++++++ README.md | 8 +++++++- .../cc/spray/boilerplate/BoilerplatePlugin.scala | 6 ++++++ .../scala/cc/spray/boilerplate/Generator.scala | 6 ++++++ .../cc/spray/boilerplate/TemplateParser.scala | 6 ++++++ 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 LICENSE 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 -- cgit v1.2.3