1

I want to use the jackson module parameter-names with Java 8 in my spring boot application. I need to provide the option "-parameters" to the compiler. Could you please let me know how to do this in pom.xml for the spring boot plug-in spring-boot-maven-plugin.

I found only following answer (How to compile Spring Boot applications with Java 8 --parameter flag), but the answer refers to different plug-in.

Thanks.

Community
  • 1
  • 1
Tomek
  • 63
  • 1
  • 6
  • 1
    Have you tried? That's actually the right answer, the `spring-boot-maven-plugin` does not do any compilation at all and does not support/require/need that parameter. – Stephane Nicoll Aug 16 '16 at 12:05
  • Thank you for the comment. This was my mistake that it did not work for me earlier (the class was included in an external module managed by separate pom.xml). – Tomek Aug 16 '16 at 12:34

1 Answers1

0

Spring Boot relies on maven-compiler-plugin. Check Spring Boot parent pom. Or check my answer here

yuranos
  • 8,799
  • 9
  • 56
  • 65