You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2024/07/13 11:39:33 UTC
(maven-apache-resources) branch master updated: [MASFRES-67] Add IT for excluded ".flattened-pom.xml" (#14)
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-resources.git
The following commit(s) were added to refs/heads/master by this push:
new fff673f [MASFRES-67] Add IT for excluded ".flattened-pom.xml" (#14)
fff673f is described below
commit fff673f7208a135fd3fe088b9556a143927c1b4f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Jul 13 13:39:28 2024 +0200
[MASFRES-67] Add IT for excluded ".flattened-pom.xml" (#14)
---
.../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 efbe73b..057bc2e 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
@@ -61,6 +61,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