From f12af769071ba2cadbd63699fb8aef5b83ead955 Mon Sep 17 00:00:00 2001 From: jan-molak Date: Wed, 3 Jul 2013 13:37:19 +0100 Subject: [PATCH] It's should now be obvious who the maintainer is and that the plugin is licensed under the MIT license. --- LICENSE | 21 ++++++++++++++ .../buildmonitor/BuildMonitorView.java | 26 +++++++++++++++++ .../buildmonitor/viewmodel/JobView.java | 3 ++ src/main/webapp/themes/industrial.css | 28 +++++++++++++++++++ .../plugins/buildmonitor/SyntacticSugar.java | 3 ++ .../viewmodel/BuildStateRecipe.java | 3 ++ .../viewmodel/JobStateRecipe.java | 3 ++ .../buildmonitor/viewmodel/JobViewTest.java | 3 ++ 8 files changed, 90 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..4fc7260b8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2012, Jan Molak, SmartCode Ltd http://smartcodeltd.co.uk + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/BuildMonitorView.java b/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/BuildMonitorView.java index 6f309ff24..ac298805c 100644 --- a/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/BuildMonitorView.java +++ b/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/BuildMonitorView.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * + * Copyright (c) 2012, Jan Molak, SmartCode Ltd http://smartcodeltd.co.uk + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package com.smartcodeltd.jenkinsci.plugins.buildmonitor; import com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView; @@ -15,6 +38,9 @@ import java.util.ArrayList; import java.util.List; +/** + * @author Jan Molak + */ public class BuildMonitorView extends ListView { /** diff --git a/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobView.java b/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobView.java index 06da73e63..0bbf3d0d9 100644 --- a/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobView.java +++ b/src/main/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobView.java @@ -7,6 +7,9 @@ import static hudson.model.Result.SUCCESS; +/** + * @author Jan Molak + */ public class JobView { private final Date systemTime; private final Job job; diff --git a/src/main/webapp/themes/industrial.css b/src/main/webapp/themes/industrial.css index 25c5427ab..2c66dad14 100644 --- a/src/main/webapp/themes/industrial.css +++ b/src/main/webapp/themes/industrial.css @@ -1,3 +1,31 @@ +/* + * Industrial Theme for Jenkins Build Monitor Plugin + */ + +/* + * The MIT License + * + * Copyright (c) 2012, Jan Molak, SmartCode Ltd http://smartcodeltd.co.uk + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + /* * Hide Jenkins UI */ diff --git a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/SyntacticSugar.java b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/SyntacticSugar.java index e1997cee1..6205c0d93 100644 --- a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/SyntacticSugar.java +++ b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/SyntacticSugar.java @@ -3,6 +3,9 @@ import java.util.Arrays; import java.util.List; +/** + * @author Jan Molak + */ public class SyntacticSugar { public static List asFollows(T... examples) { diff --git a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/BuildStateRecipe.java b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/BuildStateRecipe.java index c0d7b9454..e17f9a03f 100644 --- a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/BuildStateRecipe.java +++ b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/BuildStateRecipe.java @@ -10,6 +10,9 @@ import static org.mockito.Mockito.*; +/** + * @author Jan Molak + */ public class BuildStateRecipe { private AbstractBuild build; diff --git a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobStateRecipe.java b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobStateRecipe.java index 48470ebca..c3a702fb5 100644 --- a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobStateRecipe.java +++ b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobStateRecipe.java @@ -7,6 +7,9 @@ import static org.mockito.Mockito.*; +/** + * @author Jan Molak + */ public class JobStateRecipe { private Job job; private Stack buildHistory = new Stack(); diff --git a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobViewTest.java b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobViewTest.java index 0fbd04986..683799fa5 100644 --- a/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobViewTest.java +++ b/src/test/java/com/smartcodeltd/jenkinsci/plugins/buildmonitor/viewmodel/JobViewTest.java @@ -22,6 +22,9 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +/** + * @author Jan Molak + */ public class JobViewTest { private static final String theName = "Test Job Name";