Invalid base directory: .../install.xml; The value for <installerFile> is being used for <baseDir>, WHY?

Description

I have a maven project, and have read and followed the documentation to the T, and placed all the files/folders to match the default locations. Yet I get an error message "Invalid base directory: Invalid base directory: /home/applicaiton/src/main/izpack/install.xml". When I debug the izpack-maven-plugin, I see that the values I provide for installFile, baseDir... are read in, but then somewhere in the construction of CompilerConfig, the value of baseDir is changed to be the same as that set for installFile, hence since installFile is an xml file and not a directory, that leads to the message 'invalid directory'. The value I set for baseDir IS A DIRECTORY, but it get's changed during the execution of the maven plugin to be the install file. WHY? What is the fix? I see a similar closed issue exists https://izpack.atlassian.net/browse/IZPACK-671 , but, there are NO COMENTS on what the problem/solution was. Please don't close issues without commenting otherwise this leads to duplicates.

Below is the console output I see from maven when with debug/verbose (-X -e) turned on.
It shows the <installFile>, <baseDir> values provided, yet the error message states that Base directory is the value of installFile, which it should not be.

Pom.xml maven plugin definition.

Environment

None

Assignee

Unassigned

Reporter

roger

Impact

None

Components

Affects versions

Priority

Highest
Configure