Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven property is not forwarded into forked execution #84

Open
SchlauFuchs opened this issue Jul 12, 2018 · 1 comment
Open

maven property is not forwarded into forked execution #84

SchlauFuchs opened this issue Jul 12, 2018 · 1 comment

Comments

@SchlauFuchs
Copy link

SchlauFuchs commented Jul 12, 2018

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.
@Ardesco
Copy link
Owner

Ardesco commented Aug 20, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants