We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77ce192 commit 2e321a6Copy full SHA for 2e321a6
1 file changed
src/main/java/io/openapiprocessor/maven/ProcessMojo.java
@@ -54,7 +54,7 @@ public void execute () throws MojoExecutionException {
54
String relativeSource = stripBaseDir (source.getAbsolutePath ());
55
getLog().info(String.format ("%10s - ${project.basedir}%s%s", "apiPath", File.pathSeparator, relativeSource));
56
57
- String targetDir = (String) properties.computeIfAbsent (TARGET_DIR, k -> project.getBuild().getDirectory() + File.pathSeparator + "generated-sources" + File.pathSeparator + id);
+ String targetDir = (String) properties.computeIfAbsent (TARGET_DIR, k -> project.getBuild().getDirectory() + File.separator + "generated-sources" + File.separator + id);
58
59
if (addSourceRoot) {
60
project.addCompileSourceRoot(targetDir);
0 commit comments