From e6dc1b63d08fa19591db3ecd3ca799af488f6440 Mon Sep 17 00:00:00 2001 From: Robert Winkler Date: Fri, 24 Apr 2015 08:25:17 +0200 Subject: [PATCH] Added Apache2 Copyright Header --- README.adoc | 16 ++++++++++++++++ build.gradle | 2 +- .../builder/AbstractMarkupDocBuilder.java | 18 ++++++++++++++++++ .../github/robwin/markup/builder/Markup.java | 18 ++++++++++++++++++ .../markup/builder/MarkupDocBuilder.java | 18 ++++++++++++++++++ .../markup/builder/MarkupDocBuilders.java | 18 ++++++++++++++++++ .../robwin/markup/builder/MarkupLanguage.java | 19 +++++++++++++++++++ .../markup/builder/asciidoc/AsciiDoc.java | 18 ++++++++++++++++++ .../builder/asciidoc/AsciiDocBuilder.java | 18 ++++++++++++++++++ .../markup/builder/markdown/Markdown.java | 18 ++++++++++++++++++ .../builder/markdown/MarkdownBuilder.java | 18 ++++++++++++++++++ .../markup/builder/MarkupDocBuilderTest.java | 18 ++++++++++++++++++ 12 files changed, 198 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 571ca80d..5317f69d 100644 --- a/README.adoc +++ b/README.adoc @@ -113,3 +113,19 @@ You can generate your PDF or HTML documentation via https://github.com/asciidoct image::images/asciidoc_html.jpg[asciidoc_html] +== License + +Copyright 2015 Robert Winkler + +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. + diff --git a/build.gradle b/build.gradle index c1af7082..b4fbd128 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ buildscript { } } description = 'A Markup (Markdown, AsciiDoc) document builder' -version = '0.1.2' +version = '0.1.3' group = 'io.github.robwin' apply plugin: 'java' diff --git a/src/main/java/io/github/robwin/markup/builder/AbstractMarkupDocBuilder.java b/src/main/java/io/github/robwin/markup/builder/AbstractMarkupDocBuilder.java index ebbb56ac..7b8ef7ac 100644 --- a/src/main/java/io/github/robwin/markup/builder/AbstractMarkupDocBuilder.java +++ b/src/main/java/io/github/robwin/markup/builder/AbstractMarkupDocBuilder.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder; import org.slf4j.Logger; diff --git a/src/main/java/io/github/robwin/markup/builder/Markup.java b/src/main/java/io/github/robwin/markup/builder/Markup.java index dfeca83d..6b03897e 100644 --- a/src/main/java/io/github/robwin/markup/builder/Markup.java +++ b/src/main/java/io/github/robwin/markup/builder/Markup.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder; /** diff --git a/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilder.java b/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilder.java index fdecb2e7..63ebefff 100644 --- a/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilder.java +++ b/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilder.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder; import java.io.IOException; diff --git a/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilders.java b/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilders.java index 968408a1..9bbec144 100644 --- a/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilders.java +++ b/src/main/java/io/github/robwin/markup/builder/MarkupDocBuilders.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder; diff --git a/src/main/java/io/github/robwin/markup/builder/MarkupLanguage.java b/src/main/java/io/github/robwin/markup/builder/MarkupLanguage.java index 2f22a772..6c5283bc 100644 --- a/src/main/java/io/github/robwin/markup/builder/MarkupLanguage.java +++ b/src/main/java/io/github/robwin/markup/builder/MarkupLanguage.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ + package io.github.robwin.markup.builder; import java.util.Arrays; diff --git a/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDoc.java b/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDoc.java index d58a6d10..c7cecd96 100644 --- a/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDoc.java +++ b/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDoc.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder.asciidoc; diff --git a/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDocBuilder.java b/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDocBuilder.java index 1c5b3163..51a64abc 100644 --- a/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDocBuilder.java +++ b/src/main/java/io/github/robwin/markup/builder/asciidoc/AsciiDocBuilder.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder.asciidoc; import io.github.robwin.markup.builder.AbstractMarkupDocBuilder; diff --git a/src/main/java/io/github/robwin/markup/builder/markdown/Markdown.java b/src/main/java/io/github/robwin/markup/builder/markdown/Markdown.java index 192fb17e..65026afd 100644 --- a/src/main/java/io/github/robwin/markup/builder/markdown/Markdown.java +++ b/src/main/java/io/github/robwin/markup/builder/markdown/Markdown.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder.markdown; import io.github.robwin.markup.builder.Markup; diff --git a/src/main/java/io/github/robwin/markup/builder/markdown/MarkdownBuilder.java b/src/main/java/io/github/robwin/markup/builder/markdown/MarkdownBuilder.java index 9c0c64eb..18501020 100644 --- a/src/main/java/io/github/robwin/markup/builder/markdown/MarkdownBuilder.java +++ b/src/main/java/io/github/robwin/markup/builder/markdown/MarkdownBuilder.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder.markdown; import io.github.robwin.markup.builder.AbstractMarkupDocBuilder; diff --git a/src/test/java/io/github/robwin/markup/builder/MarkupDocBuilderTest.java b/src/test/java/io/github/robwin/markup/builder/MarkupDocBuilderTest.java index 0ef49d40..e4a729e6 100644 --- a/src/test/java/io/github/robwin/markup/builder/MarkupDocBuilderTest.java +++ b/src/test/java/io/github/robwin/markup/builder/MarkupDocBuilderTest.java @@ -1,3 +1,21 @@ +/* + * + * Copyright 2015 Robert Winkler + * + * 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. + * + * + */ package io.github.robwin.markup.builder; import org.junit.Before;