Skip to content

[MPLUGIN-421] descriptor goal fails when there is .java file present with content that's just a comment #718

Open
@jira-importer

Description

@jira-importer

Leszek Jadacki opened MPLUGIN-421 and commented

Hello,

As I was learning to create own custom plugin, during development process I decided not to compile one of my Mojo's. For ease I simply commented all its content. 

When trying to build my "custom" plugin Install fails when it executes descriptor goal.

It seems like when there is a file in the source folder with .java extension but contains only commented lines the compiler omits the file, but the descriptor is taking it into account and fails during parsing the file with error "syntax error @[X,Y]" pointing to it's last line and column.


Affects: 3.6.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions