Fixed product build script for buildmetadata-maven-plugin