We have a problem in our team that only happens on some workstations and we’re trying to figure out what can be the cause.
During the maven build, in the package stage while building the shaded JAR, we get the following error:
[ERROR] Failed to execute goal io.gatling.frontline:frontline-maven-plugin:1.2.1:package (default) on project MyProject: Execution default of goal io.gatling.frontline:frontline-maven-plugin:1.2.1:package failed: Failed to process zip entry 'license/' with action org.zeroturnaround.zip.ZipUtil$Unpacker@438496a9: File C:\Users\myuser\AppData\Local\Temp\frontline9061542107390020153\license exists and is not a directory. Unable to create directory.
We tried reimporting all Gatling dependencies, compared Maven version with workstations that do not get this error and didn’t come up with a solution.
Do you have any idea what can be the cause and how to fix it?
Yes, gatling-maven-plugin is the way to go. But ensure that your Gatling Enterprise server is recent enough: frontline-maven-plugin was mandatory for very old version of FrontLine (former name of Gatling Enterprise).
And about the switch, except for the breaking change (you have to add the scala maven plugin yourself as we provide Java DSL now) we didn’t receive any complaint.
You can check the documentation of the gatling-maven-plugin for more information.
Thank you @sbrevet, I will examine this option.
As for getting the current plugin to work, if you have any other ideas please share I will try to figure out if there’s a collision between the “license” dependencies.