apache / apache/maven-ejb-plugin

File.mkdir return value not checked in EjbMojo.execute

Open
#195 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14
Forks
12
Avg merge
1d 6h
Merged PRs (30d)
2

Description

### 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.");
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.