I’m in the process of upgrading a build environment from 2.x to 5x and I have the following artifact configured:

``````artifact {
type = "wls.War"
from("build/dist/war/\${componentName}.war")

}
properties {
activateTimeout = "1800000"
automaticVersioning = "true"
tags = labels.appTags("service")
versioned = "true"
}
}
``````

This all worked fine in 2.x and now I’m getting the following error related to the outputs of the Copy task: