Ardesco/driver-binary-downloader-maven-plugin

maven property is not forwarded into forked execution

SchlauFuchs opened this issue · 1 comments

Hi,

I have set up my project to extract the latest chrome driver, and I got confirmation
[INFO] Setting maven property - ${webdriver.chrome.driver} = C:\Users\my\Documents\eclipse-workspace\app\binaries\windows\googlechrome\64bit\chromedriver.exe
Then maven is set to execute a spring-boot application. (spring-boot:run). This then complaints that either the variable webdriver.chrome.driver is not set (probably because running forked), or if I configure the plugin to use the configuration

<configuration>
    <mainClass>com.myorg.Main</mainClass>
    <layout>ZIP</layout>
    <jvmArguments>
      -Dwebdriver.chrome.driver=${webdriver.chrome.driver}
    </jvmArguments>
<configuration>```

the application then complains about 
`IllegalStateException: The driver executable does not exist: C:\Users\my\Documents\eclipse-workspace\app\${webdriver.chrome.driver}` 
Please give further instructions.

Can you upload a minimal POM file showing your problem so I can have a look at it?