From 8b7c40a778bc14cba433a5e917857a1ef071a0f2 Mon Sep 17 00:00:00 2001 From: rfscholte Date: Mon, 11 Jun 2018 21:01:03 +0200 Subject: [PATCH] Set surefire to 2.21.0 to support java 10 Normalize LICENSE file for Windows in IT to get same checksums --- .../require-file-checksum/setup.groovy | 22 +++++++++++++++++++ pom.xml | 1 + 2 files changed, 23 insertions(+) create mode 100644 maven-enforcer-plugin/src/it/projects/require-file-checksum/setup.groovy diff --git a/maven-enforcer-plugin/src/it/projects/require-file-checksum/setup.groovy b/maven-enforcer-plugin/src/it/projects/require-file-checksum/setup.groovy new file mode 100644 index 00000000..059795a4 --- /dev/null +++ b/maven-enforcer-plugin/src/it/projects/require-file-checksum/setup.groovy @@ -0,0 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ + + def file = new File (basedir,"LICENSE") + + file.write(file.text.normalize()) \ No newline at end of file diff --git a/pom.xml b/pom.xml index a24099da..6fb079f0 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,7 @@ 3.0 enforcer-archives/enforcer-LATEST + 2.21.0