You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by di...@multitask.com.au on 2002/03/29 10:10:47 UTC
[maven] Questions on generated files
I'm having a couple of issues getting generated xdocs to have content:
- changelog.xml: contains nothing inside the changelog tags. How do I get
Maven to generate something for this?
- junit-report.xml: contains the line 'This project does not have contain
any unit tests.'. I've got this in my project.xml:
<unitTestClassEntries>
<unitTestClassEntry>
include = **/Test*.class
</unitTestClassEntry>
</unitTestClassEntries>
and this for my test source.
<testSourceDirectories>
<testSourceDirectory>src/test</testSourceDirectory>
</testSourceDirectories>
If I call maven:test it runs a load of non-Test classes.
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [maven] Questions on generated files
Posted by Eric Dobbs <er...@dobbse.net>.
On Friday, March 29, 2002, at 02:10 AM, dion@multitask.com.au wrote:
> <unitTestClassEntries>
> <unitTestClassEntry>
> include = **/Test*.class
> </unitTestClassEntry>
> </unitTestClassEntries>
Are your tests named FooTest? The include
patter above will only match TestFoo. In
at least some other examples I've seen the
pattern was:
include = **/*Test*.java
Maybe that will help.
-Eric
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>