Skip to content

File.mkdir return value not checked in EjbMojo.execute #195

Open

Description

@elharo

Affected version

HEAD

Bug description

return value should be checked and failure to create directory throw a MojoExecutionException

also warning should be

            getLog().warn("The created EJB jar will be empty because the source directory " + sourceDirectory.getPath()
                    + " does not exist.");

Activity

  1. added
    bug
    on Nov 17, 2025
  2. AzazelSensei commented on Aug 29, 2026

    @AzazelSensei

    Opened #234 for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions