michael-o commented on code in PR #203:
URL: https://github.com/apache/maven-site-plugin/pull/203#discussion_r1694318223
##########
src/test/java/org/apache/maven/plugins/site/deploy/AbstractSiteDeployWebDavTest.java:
##########
@@ -51,15 +53,18 @@
@RunWith(JUnit4.class)
public abstract class AbstractSiteDeployWebDavTest extends
AbstractMojoTestCase {
- File siteTargetPath = new File(getBasedir() + File.separator + "target" +
File.separator + "siteTargetDeploy");
+ @Rule
+ public TemporaryFolder folder = new TemporaryFolder();
+
+ private File siteTargetPath;
@Override
@Before
public void setUp() throws Exception {
super.setUp();
+ siteTargetPath = new File(new File(folder.newFolder(), "target"),
"siteTargetDeploy");
Review Comment:
Alright.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]