[ http://jira.codehaus.org/browse/SUREFIRE-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185789#action_185789 ]
David Hoffer commented on SUREFIRE-118: --------------------------------------- Is it possible to specify the classpath load order of existing dependencies? I have a case where maven installs & deploys work find but site-deploy does not. The reason is the the order of the class path entries in the surefirebooter jar is different. I need to make sure that an artifact with overrides is loaded first. I don't need to add additional cp elements just specify order. Can this be done somehow? -Dave > Cannot override read-only parameter: classpathElements > ------------------------------------------------------ > > Key: SUREFIRE-118 > URL: http://jira.codehaus.org/browse/SUREFIRE-118 > Project: Maven Surefire > Issue Type: Bug > Affects Versions: 1.5.2 (2.1.2 plugin), 2.0 (2.2 plugin) > Reporter: Jesper Zedlitz > Priority: Minor > Fix For: 2.4 > > Attachments: additionalClasspaths.patch > > > When calling "mvn site" on a multi-module project the goal "surefire:test" > fails for the second project: > Error configuring: org.apache.maven.plugins:maven-surefire-plugin. Reason: > ERROR: Cannot override read-only parameter: classpathElements in goal: > surefire:test > "mvn test" works and runs the tests on all modules. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira