Plugin does not create parent directory

Description

The plugin does not create the parent directory for changelog file if it does not exist. Suppose you set the changeLogFile property with src/main/resources/db/changelog.xml and the db directory does not exist, an error will occur: FileNotFoundException: src/main/resources/db/changelog.xml (No such file or directory) -> [Help 1]

I know that will only happen during the plugin's first execution. But why not just create the directory when the file does not exist?

Environment

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T14:41:47-02:00)
Maven home: /opt/maven
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-112-generic", arch: "amd64", family: "unix"

Status

Assignee

Unassigned

Reporter

Former user

Labels

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure