IntelliJ Idea: Maven compilation warning about supported annotation processor source version 'RELEASE_6' on Java 11

Nikolas :

Upon mvn clean install smart execution in IntelliJ Idea using Java 11 I get the following warning:

Warning:java: Supported source version 'RELEASE_6' from annotation processor 'net.java.dev.hickory.prism.internal.PrismGenerator' less than -source '11'

How to fix it and where does it come from? Note I use:

  • Lombok version 1.18.12
  • Mapstruct version 1.3.1.Final

I have also enabled annotation processing in the IDE with default settings:

  • Build, Execution, Deployment -> Compiler -> Annotation processors -> check Enable annotation processing
Nikolas :

As could be found in the comments section, this is an IntelliJ Idea bug IDEA-200481.

The MapStruct issue (1644) at GitHub contains a comprehensive explanation 1644#437463737.

See IDEA-200481. IntelliJ is picking up the provided dependencies when doing the compilation.

...skipped... We can't move the hickory dependency to the annotationProcessorPaths section of the maven compiler because the @GeneratePrisms annotations are part of the dependency, so we won't be able to use them. If you think that we could do something on our side reopen this issue.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Error: Java: invalid target release: 11 - IntelliJ IDEA

IntelliJ: Error: java: release version 10 not supported

Java 11 JShell inside Intellij IDEA

Fatal error compiling: release version 10.0.1 not supported using IntelliJ IDEA and Maven

intellij idea - Error: java: invalid source release 1.9

Maven annotation processing processor not found

IntelliJ: Error:java: error: release version 5 not supported

Annotation processor output in maven

Forward compatible Java 6 annotation processor and SupportedSourceVersion

Writing an annotation processor for maven-processor-plugin

Java 11 module-info: how to register an annotation processor

How to find Processor class of an annotation in Intellij IDEA?

Maven Java not warning about nonexhaustive switch

Warning: warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.lifecycle.LifecycleProcessor' less than -source '1.8'

Databinding annotation processor kapt warning

Debug Java annotation processors using Intellij and Maven

No compilation warning with @Deprecated annotation?

Annotation Processor in IntelliJ and Gradle

Maven: excluding files from compilation doesn't work in IntelliJ IDEA

Set up picocli Annotation Processor in Intellij maven project with modules

warning: annotation processor 'org.apache.openjpa.persistence.meta.AnnotationProcessor6' less than -source '1.8'

Java Annotation Processor: only generate a source file if it does not exist

Java error: release version 14 not supported in IntelliJ IDEA

Supported source version RELEASE_6 from annotation processor org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor less than source1.7

Agenda code compilation via maven error: AgendaSample1Impl.java:[47,81] error: diamond operator is not supported in -source 1.5

Scala/Java compilation order in Intellij Idea

How to make IntelliJ Idea stop warning about certain attributes?

IntelliJ IDEA does not recognize JAVA source directory

Why annotation processor doesn't work with Maven and java11?

TOP Ranking

  1. 1

    Failed to listen on localhost:8000 (reason: Cannot assign requested address)

  2. 2

    How to import an asset in swift using Bundle.main.path() in a react-native native module

  3. 3

    Loopback Error: connect ECONNREFUSED 127.0.0.1:3306 (MAMP)

  4. 4

    pump.io port in URL

  5. 5

    Spring Boot JPA PostgreSQL Web App - Internal Authentication Error

  6. 6

    BigQuery - concatenate ignoring NULL

  7. 7

    ngClass error (Can't bind ngClass since it isn't a known property of div) in Angular 11.0.3

  8. 8

    Do Idle Snowflake Connections Use Cloud Services Credits?

  9. 9

    maven-jaxb2-plugin cannot generate classes due to two declarations cause a collision in ObjectFactory class

  10. 10

    Compiler error CS0246 (type or namespace not found) on using Ninject in ASP.NET vNext

  11. 11

    Can't pre-populate phone number and message body in SMS link on iPhones when SMS app is not running in the background

  12. 12

    Generate random UUIDv4 with Elm

  13. 13

    Jquery different data trapped from direct mousedown event and simulation via $(this).trigger('mousedown');

  14. 14

    Is it possible to Redo commits removed by GitHub Desktop's Undo on a Mac?

  15. 15

    flutter: dropdown item programmatically unselect problem

  16. 16

    Change dd-mm-yyyy date format of dataframe date column to yyyy-mm-dd

  17. 17

    EXCEL: Find sum of values in one column with criteria from other column

  18. 18

    Pandas - check if dataframe has negative value in any column

  19. 19

    How to use merge windows unallocated space into Ubuntu using GParted?

  20. 20

    Make a B+ Tree concurrent thread safe

  21. 21

    ggplotly no applicable method for 'plotly_build' applied to an object of class "NULL" if statements

HotTag

Archive