Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Multiple output folders & Sonar/Findbugs


I don't get your point. Do you refer to the fact that the bundle has several source folders and each of them has a specific output folder ? In that case, I suppose that Tycho will generate all the classes in the standard target/classes folder, no ? In that case, I don't see why the Findbugs plugin will be in trouble. Unless I missed something.


On Wed, Jul 24, 2013 at 4:02 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi all,

Some context: I'd like to run Findbugs analysis on Platform code, and I'm having an issue with some Platform bundle building nested jars. Cf

As far as I know of Maven, it seems to me that it only support a single output folder for classes, and that the Tycho way to have multiple output folder is totally independent from Maven conventions? Am I right?
If yes, that would mean that the Findbugs plugin has no way to know that there are other class folders, so no chance that it could consume them without telling it. However, I'm wondering whether Tycho uses a "standard" way to deal with this, which could be consumed by Sonar/Findbugs plugins. I'm thinking that maybe those directories are stored in a Maven session/project attribute that could be consumed by Findbugs.

Any hint?
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

tycho-dev mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top