additionalClasspathElements-feature improved
--------------------------------------------
Key: SUREFIRE-574
URL: http://jira.codehaus.org/browse/SUREFIRE-574
Project: Maven Surefire
Issue Type: Improvement
Components: plugin
Affects Versions: 2.4.3
Environment: any
Reporter: Christian Moser
Priority: Minor
Attachments: surefireAddClasspath.diff
I need to extend the classpath of the surefire-plugin by a standard java
classpath (file.jar;file2.jar;file3.jar) contained in a property accessible by
the executing pom file.
Unfortunatelly you have to add every single file by your own:
<additionalClasspathElements>
<additionalClasspathElement>file1.jar</additionalClasspathElement>
<additionalClasspathElement>file2.jar</additionalClasspathElement>
</additionalClasspathElements>
So I've wrote a simple patch to extend the classpath by adding just one element:
<additionalClasspathElements>
<additionalClasspathElement>${var.cp}</additionalClasspathElement> (var.cp
contains: file1.jar;file2.jar;file3.jar etc)
</additionalClasspathElements>
What do you think about it and will you add this improvement to the release
version?
I need this feature in my daily busines..
--
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