From: Nicolas D. <dor...@gm...> - 2009-06-09 14:22:05
|
Hi, For the moment, XRadar only analyse each projet as a single one and does'nt aggregate the report for a multimodule one. We are thinking about it but nothing is done yet. An uggly trick is to put all sources in a unique folder src/ ... What you've done with the radar-config is better for Xradar core to analyse dependencies. But in case of multimodule's project in maven, it has not effect on the way xradar will audit the whole project. 2009/6/9 Schwaiger, Markus (KVB - München) <Mar...@kv...> > Hi all, > > I want to measure a maven multimodule project like this: > > product > pom.xml > > appRuntime > pom.xml > > dbAccess > pom.xml > > I set up the radar-config.xml and added my subsystem configuration like > this: > > <subsystem id="appRuntime" level="2"> > <included-packages> > <package-root value="de.kvb.appruntime" recurse="true"/> > </included-packages> > <legal-subordinates> > <subsystem id="db-access"/> > </legal-subordinates> > </subsystem> > > <subsystem id="db-access" level="1"> > <included-packages> > <package-root value="de.kvb.dbaccess" recurse="true"/> > </included-packages> > </subsystem> > > What I want to say is that appRuntime is a level above db-access and may > access the db-access classes, while db-access classes may not acces the > appRuntime classes. > > When calling 'mvn site', xradar creates a single report for each module > instead of a single report for the whole project. It treats every module as > a separate product generating a target/site/xradar directory for every > module, completely ignoring the dependencies. > > I get no error messages from xradar, but Im not sure if my idea of the > radar-config.xml is even near to its expected use. Does the xradar maven > plugin (version 1.2-beta-1) support multi module projects at all? > > Thanks in advance. > Regards, > > Markus > > Wichtiger Hinweis an alle Mitglieder der KVB: > "Leistungsgerechte Vergütung für Ihre nachgewiesene Qualität" - > profitieren auch Sie davon! Nähere Informationen finden Sie unterwww.kvb.de/de/praxis/qualitaet/qualitaetsprogramm.html > oder unterwww.ausgezeichnete-patientenversorgung.de . > > Disclaimer: > Bitte beachten Sie: die obige Mitteilung ist ausschließlich für die in den > Adresszeilen benannten Personen bestimmt und enthält möglicherweise > vertrauliche Informationen. Sollten Sie diese Nachricht fälschlicherweise > erhalten haben, informieren Sie bitte den Absender. Bitte löschen Sie > die Nachricht und sehen Sie davon ab, die Inhalte zu nutzen, > aufzubewahren, weiterzuleiten oder zu reproduzieren. > > Viren: > Unser Unternehmen verfügt über eine funktionierende Anti-Viren- > Software und prüft jede abgesendete Email und deren Anhänge auf > Viren. Trotzdem können wir nicht garantieren, dass die Email virenfrei > ist und übernehmen keine Haftung für Schäden, die aus Viren entstehen. > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > xradar-developer mailing list > xra...@li... > https://lists.sourceforge.net/lists/listinfo/xradar-developer > > |