You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Meola <ma...@vericept.com> on 2005/07/11 23:36:46 UTC

Maven 1.0.2 and junitreport?

Question:  is it beyond the realm of possibility to use ant's
junitreport task directly?  Something like the following:

        <ant:junitreport todir="${maven.build.dir}/blah">
            <ant:fileset dir="${testReportsDirectory}">
                <ant:include name="TEST-*.xml"/>
            </ant:fileset>
            <ant:report format="frames"
todir="${maven.build.dir}/blah"/>
        </ant:junitreport>

When I try that, maven complains about not seeing xalan on the
classpath, like so:  

	BUILD FAILED
	File...... /home/mmeola/workspace/newui-7.1.2/maven.xml
	Element... ant:junitreport
	Line...... 197
	Column.... 47
	Could not find xalan2 nor xalan1 in the classpath. Check
http://xml.apache.org/xalan-j
	Total time: 5 seconds
	Finished at: Mon Jul 11 15:33:24 MDT 2005

This despite the fact that I do, indeed, have xalan-2.6.0.jar on 
my CLASSPATH.  I've tried copying that jar into maven's lib directory,
I have tried adding a project dependency on xalan, all to no avail.

I have event tried to do this under maven 1.1-beta1.  It gets a little
further, but complains about not being able to compile the stylesheet.

Any thoughts?


-- 
Matt Meola
Contractor
Vericept Corporation
555 17th Street, Suite 1500
Denver, Colorado  80202
"Protecting Your Information and Reputationtm"
tel: (303) 798-1568 ext. 5009
fax: (303) 268-0520
www.vericept.com




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org