apache / apache/maven-war-plugin

mkdirs return value is ignored

Open
#590 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
50
Forks
97
Avg merge
16h 49m
Merged PRs (30d)
3

Description

### Affected version

HEAD

### Bug description

There is a lot of code scattered throughout the project where we do things like

metainfDir.mkdirs();

without checking if the operation succeeded. Depending on context this can result in a harder to diagnose exception further down the line, or a war file that is simply missing things it should have. Either way we should check the results of these operations and throw the available mojo exception earlier.

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.