[ http://jira.codehaus.org/browse/MSUREFIRE-153?page=comments#action_73998 ] David J. M. Karlsen commented on MSUREFIRE-153: -----------------------------------------------
Testresources would end up in test-jar, likewise resources would end up in main artifact jar. Often you want config to be delivered in a separate directory along with you application, so that operations dept. easily can edit this in the runtime environment. By using the steps proposed in the patch, configuration can be available on cp while executing test, but separated from the jars. > 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
