Thanks David - you really have done a great job! We really need to get this thing out. There is a huge demand in the community for this plugin. As far as I know there are "only" snaphost releases available. Are there any plans to release an 1.0-alpha-1?

2007/5/15, dvicente <[EMAIL PROTECTED]>:


   Hi,

   i have developed the Maven Dashboard plugin ( hosted by Codehaus).

And i have many discussions with Garvin LeClaire about the Dashboard Quality
   application

   as  http://jira.codehaus.org/browse/MOJO-732
   http://jira.codehaus.org/browse/MOJO-732  and here
   http://docs.codehaus.org/display/MAVEN/Maven+Dashboard Maven Dashboard .

   where are we be able to find this new API ?

   thanks for all.





   brettporter wrote:
   >
   > Sorry for the late reply.
   >
   > The default is to be a singleton, but I think it only lives as long as
   > it's ref count is > 0. So you probably want to set it to the true
   > singleton. I remember seeing someone note this recently for something
   > else, but I don't know if it exists in the current version of Maven.
   >
   > In the interim, create a static field that is initialised to the
   > component on first use. That's obviously a bit gross but it will keep
> the ref count up until we can determine if the proper way is available.
   >
   > - Brett
   >
   > Mauro Botelho wrote:
   >> I created a new library like you suggested, and modified both the
   >> checkstyle
>> an pmd plugins to use it by adding the new library as a dependency. When
   >> I
>> run them individually everything works fine and I see their metrics being >> reported, but when I try to run both in the same build, I only see the
   >> metrics of the last plugin run (in my case checkstyle).
   >>
   >> I think this has to do with classloading and the way plexus loads its
>> components. The metrics library has a components.xml file in its jar, so
   >> I
   >> think that the registry singleton is being created by the plugin
   >> classloader.
   >>
>> What would be the best way to ensure that the registry is a singleton for
   >> the build?
   >>
   >> Here's my components.xml:
   >>
   >> <component-set>
   >>   <components>
   >>     <component>
   >>       <role>org.apache.maven.metrics.MetricRegistry</role>
   >>       <implementation>org.apache.maven.metrics.DefaultMetricRegistry
   >> </implementation>
   >>     </component>
   >>   </components>
   >> </component-set>
   >>
   >>
   >> Mauro
   >>
   >> On 2/19/06, Brett Porter <[EMAIL PROTECTED]> wrote:
>>> It would just need to be a common dependency. reporting-api definitely >>> is, but you could easily create a new library for it (and that probably
   >>> makes more sense).
   >>>
   >>> The component definition goes in the same JAR as the class.
   >>>
   >>> - Brett
   >>>
   >>> Mauro Botelho wrote:
   >>>> Brett, in order for any plug-in to use the MetricRegistry, would it
   >>>> have
   >>> to
   >>>> be declared in the reporting-api? Where would I add the component
   >>> definition
   >>>> for it?
   >>>>
   >>>> Mauro
   >>>>
>>> ---------------------------------------------------------------------
   >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
   >>> For additional commands, e-mail: [EMAIL PROTECTED]
   >>>
   >>>
   >>
   >
   > ---------------------------------------------------------------------
   > To unsubscribe, e-mail: [EMAIL PROTECTED]
   > For additional commands, e-mail: [EMAIL PROTECTED]
   >
   >
   >

   --
View this message in context: http://www.nabble.com/-M2--Dashboard-Plugin-Plans-tf343999s177.html#a10619992
   Sent from the Maven Developers mailing list archive at Nabble.com.


   ---------------------------------------------------------------------
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! http://desktop.msn.de/ Jetzt gratis downloaden!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to