mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 13:05:09 +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>
|
||||
</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>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<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>
|
||||
</properties>
|
||||
</profile>
|
||||
|
Loading…
Reference in New Issue
Block a user