From 0eef8d911599e56fdc9f78de6599d2881ddd4632 Mon Sep 17 00:00:00 2001 From: Christian Wulf <chw@informatik.uni-kiel.de> Date: Mon, 15 Jun 2015 14:21:39 +0200 Subject: [PATCH] added failOnError to javadoc plugin --- .settings/edu.umd.cs.findbugs.core.prefs | 2 +- pom.xml | 5 ++++- src/main/java/teetime/util/Connection.java | 15 +++++++++++++++ .../framework/RunnableProducerStageTest.java | 15 +++++++++++++++ .../java/teetime/framework/RunnableTestStage.java | 15 +++++++++++++++ .../teetime/stage/io/File2SeqOfWordsTest.java | 15 +++++++++++++++ src/test/java/teetime/stage/io/PrinterTest.java | 15 +++++++++++++++ 7 files changed, 80 insertions(+), 2 deletions(-) diff --git a/.settings/edu.umd.cs.findbugs.core.prefs b/.settings/edu.umd.cs.findbugs.core.prefs index 6aba28e5..0e77dd3b 100644 --- a/.settings/edu.umd.cs.findbugs.core.prefs +++ b/.settings/edu.umd.cs.findbugs.core.prefs @@ -1,5 +1,5 @@ #FindBugs User Preferences -#Fri Jun 12 08:15:02 CEST 2015 +#Mon Jun 15 14:19:55 CEST 2015 detector_threshold=2 effort=max excludefilter0=.fbExcludeFilterFile|true diff --git a/pom.xml b/pom.xml index 10a5797c..e901b55f 100644 --- a/pom.xml +++ b/pom.xml @@ -185,6 +185,9 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> + <configuration> + <failOnError>false</failOnError> + </configuration> <executions> <execution> <id>attach-javadocs</id> @@ -286,7 +289,7 @@ <linkXref>true</linkXref> <includeTests>true</includeTests> <targetJdk>${java.version}</targetJdk> -<!-- <failurePriority>1</failurePriority> --> + <!-- <failurePriority>1</failurePriority> --> <failOnViolation>true</failOnViolation> </configuration> <executions> diff --git a/src/main/java/teetime/util/Connection.java b/src/main/java/teetime/util/Connection.java index c8e3740d..f110c3da 100644 --- a/src/main/java/teetime/util/Connection.java +++ b/src/main/java/teetime/util/Connection.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime.sourceforge.net) + * + * 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 teetime.util; import teetime.framework.InputPort; diff --git a/src/test/java/teetime/framework/RunnableProducerStageTest.java b/src/test/java/teetime/framework/RunnableProducerStageTest.java index 4f2120ac..60ae16e9 100644 --- a/src/test/java/teetime/framework/RunnableProducerStageTest.java +++ b/src/test/java/teetime/framework/RunnableProducerStageTest.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime.sourceforge.net) + * + * 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 teetime.framework; import static org.junit.Assert.assertFalse; diff --git a/src/test/java/teetime/framework/RunnableTestStage.java b/src/test/java/teetime/framework/RunnableTestStage.java index 47f4cd0c..a9651a8d 100644 --- a/src/test/java/teetime/framework/RunnableTestStage.java +++ b/src/test/java/teetime/framework/RunnableTestStage.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime.sourceforge.net) + * + * 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 teetime.framework; class RunnableTestStage extends AbstractProducerStage<Object> { diff --git a/src/test/java/teetime/stage/io/File2SeqOfWordsTest.java b/src/test/java/teetime/stage/io/File2SeqOfWordsTest.java index 66cdd883..d6990c69 100644 --- a/src/test/java/teetime/stage/io/File2SeqOfWordsTest.java +++ b/src/test/java/teetime/stage/io/File2SeqOfWordsTest.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime.sourceforge.net) + * + * 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 teetime.stage.io; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/teetime/stage/io/PrinterTest.java b/src/test/java/teetime/stage/io/PrinterTest.java index 362b1caa..26477894 100644 --- a/src/test/java/teetime/stage/io/PrinterTest.java +++ b/src/test/java/teetime/stage/io/PrinterTest.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime.sourceforge.net) + * + * 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 teetime.stage.io; import static org.hamcrest.CoreMatchers.containsString; -- GitLab