From 51bbf72e195e34229a1d3ebba2f9608255068a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 2 May 2020 11:31:51 +0200 Subject: [PATCH] [MSHADE-363] add IT showing broken compatibility --- .../MSHADE-363_old-Transformer/pom.xml | 69 +++++++++++++++++++ .../src/main/resources/Message.properties | 18 +++++ 2 files changed, 87 insertions(+) create mode 100644 src/it/projects/MSHADE-363_old-Transformer/pom.xml create mode 100644 src/it/projects/MSHADE-363_old-Transformer/src/main/resources/Message.properties diff --git a/src/it/projects/MSHADE-363_old-Transformer/pom.xml b/src/it/projects/MSHADE-363_old-Transformer/pom.xml new file mode 100644 index 00000000..8cfdd33b --- /dev/null +++ b/src/it/projects/MSHADE-363_old-Transformer/pom.xml @@ -0,0 +1,69 @@ + + + + 4.0.0 + + org.apache.maven.its.shade.pp + mshade-363 + 1.0-SNAPSHOT + + check non-breaking change to ResourceTransformer's API + support for Reproducible Builds in MSHADE-352 requires a new long time parameter to + void processResource( String resource, InputStream is, List<Relocator> relocators, long time ) + breaking old maven-shade-plugin extensions implementing interface without this parameter + + + + UTF-8 + + + + + + org.apache.maven.plugins + maven-shade-plugin + @project.version@ + + + org.springframework.boot + spring-boot-maven-plugin + 1.5.22.RELEASE + + + + + use-extra-resource-transformer + package + + shade + + + + + Message.properties + + + + + + + + + diff --git a/src/it/projects/MSHADE-363_old-Transformer/src/main/resources/Message.properties b/src/it/projects/MSHADE-363_old-Transformer/src/main/resources/Message.properties new file mode 100644 index 00000000..f94d1d0b --- /dev/null +++ b/src/it/projects/MSHADE-363_old-Transformer/src/main/resources/Message.properties @@ -0,0 +1,18 @@ +# 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. + +one = one