Skip to content

Maven's choking on the UTF #2

Description

@CPaxtonProgrammer

Can you advise please? I added this line
but Maven is still stripping up over 7 for some reason at the compile stage

`
4.0.0
training.maven.quick
minimal-example
1.0

yields error:
[INFO] --- compiler:3.10.1:compile (default-compile) @ minimal-example ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\Users\7J8033897\Documents\Maven_Training\projects\minimal\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 7 is no longer supported. Use 8 or later.
[ERROR] Target option 7 is no longer supported. Use 8 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

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