This is an automated email from the ASF dual-hosted git repository. kwin pushed a commit to branch feature/add-it-for-flattened-pom.xml in repository https://gitbox.apache.org/repos/asf/maven-apache-resources.git
commit 0734d5bddf4296adffe17c2752b93e98de34cca1 Author: Konrad Windszus <k...@apache.org> AuthorDate: Mon Jul 8 20:31:10 2024 +0200 [MASFRES-67] Add IT for excluded ".flattened-pom.xml" --- .../apache/its/IT_005_MiscellaneousExcludes.java | 1 + .../test/resources/misc-excludes/.flattened-pom.xml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/source-release/src/test/java/org/apache/its/IT_005_MiscellaneousExcludes.java b/source-release/src/test/java/org/apache/its/IT_005_MiscellaneousExcludes.java index d986d60..38b1fc0 100644 --- a/source-release/src/test/java/org/apache/its/IT_005_MiscellaneousExcludes.java +++ b/source-release/src/test/java/org/apache/its/IT_005_MiscellaneousExcludes.java @@ -60,6 +60,7 @@ public class IT_005_MiscellaneousExcludes { banned.add(archivePathFromProject(BASENAME, VERSION, "/release.properties")); banned.add(archivePathFromProject(BASENAME, VERSION, "/pom.xml.releaseBackup")); banned.add(archivePathFromProject(BASENAME, VERSION, "/dependency-reduced-pom.xml")); + banned.add(archivePathFromProject(BASENAME, VERSION, "/.flattened-pom.xml")); banned.add(archivePathFromChild(BASENAME, VERSION, "child2", "/cobertura.ser")); diff --git a/source-release/src/test/resources/misc-excludes/.flattened-pom.xml b/source-release/src/test/resources/misc-excludes/.flattened-pom.xml new file mode 100644 index 0000000..1235170 --- /dev/null +++ b/source-release/src/test/resources/misc-excludes/.flattened-pom.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +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. +--> +<irrelevant /> \ No newline at end of file