Change default server dir to target directory

This commit is contained in:
2026-05-24 22:29:01 +02:00
parent 49cd788a68
commit b9e49b387f
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<groupId>org.strassburger</groupId>
<artifactId>mcrun-maven-plugin</artifactId>
<version>0.0.14</version>
<version>0.0.15</version>
<packaging>maven-plugin</packaging>
<name>MCRun Maven Plugin</name>
@@ -24,9 +24,9 @@ public class InstallServerMojo extends AbstractMojo {
/**
* Directory where the test server will be created and run.
* The server jar, plugins folder, and all generated files (eula.txt, world, logs, etc.)
* will be placed here. Defaults to <code>${project.basedir}/server</code>.
* will be placed here. Defaults to <code>${project.build.directory}/server</code>.
*/
@Parameter(defaultValue = "${project.basedir}/server")
@Parameter(defaultValue = "${project.build.directory}/server")
private File serverDirectory;
/**
@@ -69,9 +69,9 @@ public class RunServerMojo extends AbstractMojo {
/**
* Directory where the test server will be created and run.
* The server jar, plugins folder, and all generated files (eula.txt, world, logs, etc.)
* will be placed here. Defaults to <code>${project.basedir}/server</code>.
* will be placed here. Defaults to <code>${project.build.directory}/server</code>.
*/
@Parameter(defaultValue = "${project.basedir}/server")
@Parameter(defaultValue = "${project.build.directory}/server")
private File serverDirectory;
/**
@@ -30,9 +30,9 @@ public class StartServerMojo extends AbstractMojo {
/**
* Directory where the test server will be created and run.
* The server jar, plugins folder, and all generated files (eula.txt, world, logs, etc.)
* will be placed here. Defaults to <code>${project.basedir}/server</code>.
* will be placed here. Defaults to <code>${project.build.directory}/server</code>.
*/
@Parameter(defaultValue = "${project.basedir}/server")
@Parameter(defaultValue = "${project.build.directory}/server")
private File serverDirectory;
/**