[ https://jira.codehaus.org/browse/SUREFIRE-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282880#comment-282880 ]
lisak commented on SUREFIRE-118: -------------------------------- Guys I would need to add 200 jars on classpath to boot up Liferay portal : {noformat} <additionalClasspathElements> <additionalClasspathElement> /opt/liferay/portal/lib/development/* </additionalClasspathElement> <additionalClasspathElement> /opt/liferay/portal/lib/global/* </additionalClasspathElement> <additionalClasspathElement> /opt/liferay/portal/lib/portal/* </additionalClasspathElement> </additionalClasspathElements> {noformat} but it doesn't work. Neither *.jar wildcard ... Although {noformat}/opt/liferay/portal/lib/portal/c3p0.jar{noformat} works. I have really hard times to manage to debug surefire plugin. I can debug all other maven plugins remotely via Eclipse, but a breakpoint in AbstractSurefireMojo is just not triggered... > Cannot override read-only parameter: classpathElements > ------------------------------------------------------ > > Key: SUREFIRE-118 > URL: https://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. For more information on JIRA, see: http://www.atlassian.com/software/jira