Skip to content

Commit 7c20088

Browse files
committed
fix: compatibility workflow
1 parent e6a52e0 commit 7c20088

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

fj-doc-mod-openpdf-ext/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<phase>verify</phase>
9999
<configuration>
100100
<target>
101-
<exec executable="mvn" failonerror="true">
101+
<exec executable="${maven.executable}" failonerror="true">
102102
<arg value="test"/>
103103
<arg value="-Pjava-jdk8on,test"/>
104104
</exec>

fj-doc-mod-openrtf-ext/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<phase>verify</phase>
103103
<configuration>
104104
<target>
105-
<exec executable="mvn" failonerror="true">
105+
<exec executable="${maven.executable}" failonerror="true">
106106
<arg value="test"/>
107107
<arg value="-Pjava-jdk8on,test"/>
108108
</exec>

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<poi5-version>${poi-version}</poi5-version>
3737
<kotlin.version>2.2.10</kotlin.version>
3838
<quarkus-version>3.26.3</quarkus-version>
39+
<!-- for backward compatibility test -->
40+
<maven.executable>mvn</maven.executable>
41+
<maven.executable.windows>mvn.cmd</maven.executable.windows>
3942
</properties>
4043

4144
<licenses>
@@ -355,5 +358,23 @@
355358
<url>https://www.fugerit.org</url>
356359
<name>Fugerit</name>
357360
</organization>
361+
362+
<profiles>
363+
<profile>
364+
365+
<id>windowsSetup</id>
366+
367+
<activation>
368+
<os>
369+
<family>Windows</family>
370+
</os>
371+
</activation>
372+
373+
<properties>
374+
<maven.executable>${maven.executable.windows}</maven.executable>
375+
</properties>
376+
377+
</profile>
378+
</profiles>
358379

359380
</project>

0 commit comments

Comments
 (0)