i have this in my pom file for cobertura:
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <formats>
                        <format>html</format>
                        <format>xml</format>
                    </formats>
                </configuration>               
            </plugin>

so upgrade to 2.2 may help

tibi

Kenny Ha wrote:
> I'm using Maven version 2.1.0 and Cobertura version 2.0
> But my generated report by Cobertura is not like example on 
> http://cobertura.sourceforge.net/ http://cobertura.sourceforge.net/  Mine
> display all classes are 0% like this :
>
> ....
>
> All Packages
>   
>  Classes
>  Address (0%)
>  App (0%)
>  BaseAction (0%)
>  BaseActionTestCase (0%)
>  BaseDaoTestCase (0%)
>  BaseManagerMockTestCase (0%)
>  BaseManagerTestCase (0%)
>  BaseObject (0%)
>  Constants (0%)
>  ConstantsTag (0%)
>  ConstantsTei (0%)
>  ConvertUtil (0%)
>  CountryTag (0%)
>  CurrencyConverter (0%)
>  DateConverter (0%)
>  DateConverter (0%)
>  DateUtil (0%)
>  FileUploadAction (0%)
>  GenericDao (N/A)
> ....
>
> What's the problem?? Help me!
>
> Thanks!
>
>
> tibi wrote:
>   
>> what version are you using?
>> this one:
>> Report generated by Cobertura <http://cobertura.sourceforge.net/> 1.7
>> (on the site page in the footer)
>>
>>
>> tibi
>>
>> Kenny Ha wrote:
>>     
>>> I run mvn site or mvn cobertura:cobertura command, it build successful.
>>> But when I access Cobertura Test Coverge Report page,nothing is test,all
>>> classes are 0% :
>>>
>>>
>>> ....
>>>
>>> All Packages
>>>  
>>> Classes
>>> Address (0%)
>>> App (0%)
>>> BaseAction (0%)
>>> BaseActionTestCase (0%)
>>> BaseDaoTestCase (0%)
>>> BaseManagerMockTestCase (0%)
>>> BaseManagerTestCase (0%)
>>> BaseObject (0%)
>>> Constants (0%)
>>> ConstantsTag (0%)
>>> ConstantsTei (0%)
>>> ConvertUtil (0%)
>>> CountryTag (0%)
>>> CurrencyConverter (0%)
>>> DateConverter (0%)
>>> DateConverter (0%)
>>> DateUtil (0%)
>>> FileUploadAction (0%)
>>> GenericDao (N/A)
>>> GenericDaoHibernate (0%)
>>> GenericManager (N/A)
>>> GenericManagerImpl (0%)
>>> HibernateExtensionPostProcessor (0%)
>>> LabelValue (0%)
>>> LocaleFilter (0%)
>>> LocaleRequestWrapper (0%)
>>> LookupDao (N/A)
>>> LookupDaoHibernate (0%)
>>> LookupManager (N/A)
>>> LookupManagerImpl (0%)
>>> MailEngine (0%)
>>> PasswordHintAction (0%)
>>> Person (0%)
>>> PersonAction (0%)
>>> PersonDao (N/A)
>>> PersonDaoHibernate (0%)
>>> PersonManager (N/A)
>>> PersonManagerImpl (0%)
>>> ReloadAction (0%)
>>> RequestUtil (0%)
>>> .... 
>>>
>>> Why?? Please help me solve this.
>>>
>>> Thanks and Best Regards!
>>> Kenny.
>>>   
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
>>
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to