Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Compiler option --enable-preview #59

@giugallo

Description

@giugallo

I didn't find a way to specify compiler option --enable-preview like in maven-compiler-plugin. In the maven-compiler-plugin can be specified in this way

<configuration>
   <release>14</release>
     <compilerArgs>
	--enable-preview
     </compilerArgs>
</configuration>

I'm tring to use the new TextBlocks feature of java 13/14, but now the apt-maven-plugin is not anymore able to generate QClasses. The error is text blocks are a preview feature and are disabled by default. (use --enable-preview to enable text blocks)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions