Skip to content

Commit 1c9f610

Browse files
authored
[MRESOURCES-288] Make tests-jar reproducible (#56)
By moving out UT outputs into separate place, to not have them packed up into it. --- https://issues.apache.org/jira/browse/MRESOURCES-288
1 parent 1946127 commit 1c9f610

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/it/user-filters/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@
5252
<version>@project.version@</version>
5353
<classifier>tests</classifier>
5454
</dependency>
55-
<dependency>
56-
<groupId>commons-io</groupId>
57-
<artifactId>commons-io</artifactId>
58-
<version>2.7</version>
59-
</dependency>
6055
</dependencies>
6156
</plugin>
6257
</plugins>

src/test/java/org/apache/maven/plugins/resources/stub/MavenProjectBasicStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class MavenProjectBasicStub extends MavenProjectStub {
3737
public MavenProjectBasicStub(String id) {
3838
properties = new Properties();
3939
identifier = id;
40-
testRootDir = PlexusTestCase.getBasedir() + "/target/test-classes/unit/test-dir/" + identifier;
40+
testRootDir = PlexusTestCase.getBasedir() + "/target/unit/test-dir/" + identifier;
4141

4242
if (!FileUtils.fileExists(testRootDir)) {
4343
FileUtils.mkdir(testRootDir);

0 commit comments

Comments
 (0)