[ http://jira.codehaus.org/browse/MSUREFIRE-153?page=all ]
David J. M. Karlsen reopened MSUREFIRE-153: ------------------------------------------- If using testresources and resources, the resources will end up in the jar - this is not what we want. Additionally, if using a targetPath for the testresources, these will not be available on the classpath while executing. There could also be external resources which has to be available while executing tests. The proposed patch would fix all these issues. > Ability to add additions to classpath > ------------------------------------- > > Key: MSUREFIRE-153 > URL: http://jira.codehaus.org/browse/MSUREFIRE-153 > Project: Maven 2.x Surefire Plugin > Issue Type: Improvement > Environment: N/A > Reporter: David J. M. Karlsen > Assigned To: fabrizio giustina > Attachments: MSUREFIRE-153-maven-surefire-plugin.patch, > SurefirePlugin.java-diff > > > There should be a possibility to add arbritary resources to the classpath > while executing the tests. These resources would only be available while > executing the tests, so they won't be added in the archive. > i suggest a configuration element > <extendedClasspaths> > <extendedClasspath>some/path</extendedClasspath> > <extendedClasspath>/some/other/path</extendedClasspath> > </extendedClasspaths> > This issue somewhat related to http://jira.codehaus.org/browse/MJAR-13 / > ability to exclude/include filtering in archiver/jar-plugin -- 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