Skip to content

Commit 19a70d6

Browse files
committed
[MASFRES-71] Move IT/Verifier resources to dedicated directory and
ignore with m-surefire/failsafe-p
1 parent fd9bcef commit 19a70d6

File tree

139 files changed

+17
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+17
-1
lines changed

source-release/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ under the License.
101101
</excludes>
102102
</configuration>
103103
</plugin>
104+
<plugin>
105+
<artifactId>maven-surefire-plugin</artifactId>
106+
<configuration>
107+
<excludes>
108+
<exclude>**/maven-projects/**</exclude>
109+
</excludes>
110+
</configuration>
111+
</plugin>
104112
</plugins>
105113
</pluginManagement>
106114
</build>
@@ -124,6 +132,7 @@ under the License.
124132
</includes>
125133
<excludes>
126134
<exclude>**/util/*</exclude>
135+
<exclude>**/maven-projects/**</exclude>
127136
</excludes>
128137
<forkCount>0</forkCount>
129138
<systemProperties>

source-release/src/test/java/org/apache/its/util/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private static void assertArchiveContents(
165165

166166
public static File getTestDir(String name) throws IOException, URISyntaxException {
167167
ClassLoader cloader = Thread.currentThread().getContextClassLoader();
168-
URL resource = cloader.getResource(name);
168+
URL resource = cloader.getResource("maven-projects/" + name);
169169

170170
if (resource == null) {
171171
throw new IOException("Cannot find test directory: " + name);

0 commit comments

Comments
 (0)