Skip to content

Commit 7acfac7

Browse files
committed
Use pom property to specify Meson builddir
It's cleaner for the outer script to set builddir equally for Meson and Maven, so parameterize.
1 parent 10504bf commit 7acfac7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MMCoreJ_wrap/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<maven.compiler.source>1.8</maven.compiler.source>
4949
<maven.compiler.target>1.8</maven.compiler.target>
5050
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51+
<meson.build.dir>builddir</meson.build.dir>
5152
</properties>
5253

5354
<build>
@@ -89,7 +90,7 @@
8990
</goals>
9091
<configuration>
9192
<sources>
92-
<source>builddir/generated-java</source>
93+
<source>${meson.build.dir}/generated-java</source>
9394
</sources>
9495
</configuration>
9596
</execution>

0 commit comments

Comments
 (0)