necromantiarian created SUREFIRE-860:
----------------------------------------
Summary: additionalClasspathElement doesn't work for folders with
jar filers
Key: SUREFIRE-860
URL: https://jira.codehaus.org/browse/SUREFIRE-860
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.12
Environment: windows maven2 maven3
Reporter: necromantiarian
used such config
<version>2.12</version>
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>C:/mycompany/lib/*.jar</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
wanted to include a lot of *.jar files to classpath
observed:
surefire.test.class.path=D:\zf\workspace\test\target\test-classes;D:\zf\workspace\test\target\classes;C:\Users\myuser\.m2\repository\junit\junit\4.10\junit-4.10.jar;C:\Users\myuser\.m2\repository\org\hamcrest\hamcrest-core\1.1\hamcrest-core-1.1.jar;C:/mycompany/lib/*.jar
and got ClassNotFoundException
expected:
the classes to be found and all the jars in classpath, just like maven libs
note:
tried also
<additionalClasspathElement>C:/mycompany/lib/</additionalClasspathElement>
tried older versions of plugin too
Am i doing smth wrong ?
please advise
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira