mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-05 21:17:52 +00:00
mvn, source and target java8, maven-compiler-plugin default still is java7.
This commit is contained in:
parent
1bb80c929c
commit
2d4024f2f3
5
pom.xml
5
pom.xml
@ -242,14 +242,13 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<!-- the source contains java11+ syntax, let mvn shout. allow "mvn test" with java8 as rendering sometimes
|
|
||||||
can give different results with java8. -->
|
|
||||||
<id>javac-source-flag</id>
|
<id>javac-source-flag</id>
|
||||||
<activation>
|
<activation>
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>true</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<!-- maven-compiler-plugin source default with 3.9.0 is still 1.7, so set it for java8. -->
|
||||||
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
Loading…
Reference in New Issue
Block a user