Can't you have the contents of this folder as part of the project (in
src/test/resources) or jar'ed up and then just reference it with scope test?
Jim
On 10/4/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>
>
> I want to add a reference (folder) for the current classpath
>
>
>
> Ie .i wanna set something as
>
>
>
> Classpath=classpath;some/folder/ref
>
>
>
> Through sirefireplugin
>
>
>
> I am not getting what to write for existing 'classpath'
>
>
>
> I wrote as
>
>
>
> <plugin>
>
> <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-surefire-plugin</artifactId>
>
> <configuration>
>
>
> <argLine>-classpath=${classpath};${project.build.outputDirectory}\somedi
> r</argLine>
>
> </configuration>
>
> </plugin>
>
>
>
>
>
> The maven is not taking ${classpath} it says null , I also
>
> Tried
> {maven.test.classpath},{maven.compile.classpath},{maven.compile.classpat
> h}
>
> But all are giving null
>
>
>
> How to use current classpath here and add something to that classpath in
> surefire plugin
>
>
>
> Thanks
>
> Nishant Sonar
>
>