Skip to content

Commit

Permalink
[MRESOURCES-288] Make tests-jar reproducible (#56)
Browse files Browse the repository at this point in the history
By moving out UT outputs into separate place, to not have
them packed up into it.

---

https://issues.apache.org/jira/browse/MRESOURCES-288
  • Loading branch information
cstamas authored Mar 21, 2023
1 parent 1946127 commit 1c9f610
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/it/user-filters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
<version>@project.version@</version>
<classifier>tests</classifier>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class MavenProjectBasicStub extends MavenProjectStub {
public MavenProjectBasicStub(String id) {
properties = new Properties();
identifier = id;
testRootDir = PlexusTestCase.getBasedir() + "/target/test-classes/unit/test-dir/" + identifier;
testRootDir = PlexusTestCase.getBasedir() + "/target/unit/test-dir/" + identifier;

if (!FileUtils.fileExists(testRootDir)) {
FileUtils.mkdir(testRootDir);
Expand Down

0 comments on commit 1c9f610

Please sign in to comment.