MASFRES-64 test avoiding dependency-reduced-pom.xml
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 b904d31..4d10cac 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
@@ -78,6 +78,7 @@
banned.add(archivePathFromProject(BASENAME, VERSION, "/cobertura.ser"));
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(archivePathFromChild(BASENAME, VERSION, "child2", "/cobertura.ser"));
diff --git a/source-release/src/test/resources/misc-excludes/dependency-reduced-pom.xml b/source-release/src/test/resources/misc-excludes/dependency-reduced-pom.xml
new file mode 100644
index 0000000..d8444c0
--- /dev/null
+++ b/source-release/src/test/resources/misc-excludes/dependency-reduced-pom.xml
@@ -0,0 +1,72 @@
+<?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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.assembly.it</groupId>
+ <artifactId>misc-excludes</artifactId>
+ <version>1</version>
+ <packaging>pom</packaging>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <modules>
+ <module>misc-excludes-child1</module>
+ <module>misc-excludes-child2</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>@assemblyPluginVersion@</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.apache.resources</groupId>
+ <artifactId>apache-source-release-assembly-descriptor</artifactId>
+ <version>@project.version@</version>
+ </dependency>
+ </dependencies>
+
+ <executions>
+ <execution>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+ <descriptorRefs>
+ <descriptorRef>source-release</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>