On 11/07/2011, at 9:04 PM, Benson Margulies wrote:

>> 
>> Why is it doing this at all?
> 
> Jörg,
> 
> Honestly, I have no idea -- I just happened to spot it on the way by.
> And when I thought some more, I realized that my question is
> mis-stated. The issue here isn't classpath, it's more related to
> yours: What's the configured java src directory, and is there anything
> in it?

Right, a WAR is not on the classpath, but it still would want a JXR report.

An alternative would be 
project.getArtifact().getArtifactHandler().getLanguage() to only generate for 
Java - but I guess there's still a chance that someone packages something 
differently and still wants the sources scanned. For now they'd use "skip" if 
they don't.

I was pretty sure it didn't generate if there were no source directories 
already though... based on both the regular and generated ones. So I'm not sure 
what problem you're working on?

- Brett

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to