You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/12/06 12:48:11 UTC
[jira] [Closed] (SUREFIRE-860) additionalClasspathElement doesn't
work for folders with jar filers
[ https://issues.apache.org/jira/browse/SUREFIRE-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-860.
---------------------------------
Resolution: Cannot Reproduce
Assignee: Tibor Digana
Cannot reproduce in future 2.19.1.
> additionalClasspathElement doesn't work for folders with jar filers
> -------------------------------------------------------------------
>
> Key: SUREFIRE-860
> URL: https://issues.apache.org/jira/browse/SUREFIRE-860
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Surefire Plugin
> Affects Versions: 2.12
> Environment: windows maven2 maven3
> Reporter: necromantiarian
> Assignee: Tibor Digana
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)