searls/jasmine-maven-plugin — pull request #223 by chrishenzie (2014-01-29 17:15:00+00:00)
Title: List boolean capability map values

@jhovell @klieber

With this pull request you are able to provide chromeOptions whose value are a boolean or a list, like so
```xml

com.github.searls
jasmine-maven-plugin
1.3.1.5-SNAPSHOT

Run jasmine tests
test

test

org.openqa.selenium.chrome.ChromeDriver

browserName
chrome

chromeOptions

[crash-test,no-sandbox]
/usr/bin/google-chrome
true

```

I don't particularly like some of the things I had to do to get this to work. Capability is a bean and shouldn't contain this logic for setting the map like this, however everything read in the pom was being treated as a string. I'm not that familiar with AbstractMojo. Is there a way you can have it evaluate values with square brackets as a list of strings, and true / false as booleans?