[jira] (JETTY-680) Can't configure the ResourceCollection with maven

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] (JETTY-680) Can't configure the ResourceCollection with maven

JIRA jira@codehaus.org
Samuel Robert commented on Bug JETTY-680

Using the Jetty maven plugin 6.1.26 with JDK1.7, I can still reproduce the bug in this environment:

Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.7.0_21
Java home: C:\Program Files\Java\jdk1.7.0_21\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"

[INFO] Failed to configure plugin parameters for: org.mortbay.jetty:maven-jetty-plugin:6.1.26
(found static expression: 'src/main/webapp , C:\dev\workspaces\xxxx' which may act as a default value).
Cause: Cannot assign configuration entry 'resources' to 'class [Lorg.mortbay.resource.Resource;' from 'src/main/webapp , C:\dev\workspaces\xxxx', which is of type class java.lang.String

But when I

  • use "resourcesAsCSV" instead of "resources"
  • OR switch back to a JDK 1.6 (1.6.0_25)
    then I do not get the error anymore.
    So the workaround of "resourcesAsCSV" is enough for me.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email