Hi,

though mvn 2.0.3 has not been released yet I started playing with one of
the RC-builds. Within a single project the plugin works fine, but using
it in a multiproject environment the reports get generated in the main
projects target dir (<main>/target/site/cobertura/) - and this of course
has the side effect that
a) in the subprojects the links to the reports are not working and
b) you only get on report - if you have two subprojects with tests the
last one wins.

Is this due to some bug in maven or is this a plugin issue?

Another thing is that you can't place the report plugin in the main
projects pom as the plugin only works if there are tests available. My
personal opinion is that while it's ok that you can't use the plugin in
the main project the plugin should not fail if no tests are available -
I would like to have a "blank multi-project" directory struture without
any classes which should not fail to build.

Regards,

Stefan.

Wayne Fay schrieb:
> Actually it should have been released already. ;-)
>
> ########### from dev@ list #################
> From: John Casey <>
> Reply-To: Maven Developers List <>
> To: Maven Developers List <>
> Date: Mar 13, 2006 1:22 PM
> Subject: [Result] [vote] Release Maven 2.0.3 (third RC)
>
> Looks like we finally made it! The results for this third vote are as
> follows:
>
> Binding: 5 (John, Vincent, Carlos, Brett, Emmanuel)
> Non-Binding: 7 (Fabrizio, Alex, Vincent S, Dan, Edwin, Brian, Jesse)
>
> I'm going to start working on the release now. It should be out tomorrow
> at the latest.
>
> Thanks,
> John
> ########### from dev@ list #################
>
> So its "late". I'm sure it will be out "any day now".
>
> Wayne
>
>
> On 3/21/06, Stefan Hedtfeld <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>> thanks for this information.
>>
>> Regards,
>>
>> Stefan.
>>
>> Wayne Fay schrieb:
>>     
>>> Voting on releasing Maven 2.0.3 was just finalized for the hmmm 2nd or
>>> 3rd time now in the last few weeks on the Dev list.
>>>
>>> I'm sure it will be released pretty soon aka inside the next week or two.
>>>
>>> Wayne
>>>
>>>
>>> On 3/21/06, Stefan Hedtfeld <[EMAIL PROTECTED]> wrote:
>>>
>>>       
>>>> Hi,
>>>>
>>>> some time has passed but nothing changed considering the maven 2.0.3
>>>> dependency.
>>>>
>>>> I'm sure there is a concrete reason the dependency was introduced, and I
>>>> don't want to argue this. Do you know when maven 2.0.3 will be released?
>>>> I didn't find a roadmap on the maven homepage.
>>>>
>>>> Regards,
>>>>
>>>> Stefan.
>>>>
>>>>
>>>> Brett Porter schrieb:
>>>>
>>>>         
>>>>> Yes, that's intentional.
>>>>>
>>>>> - Brett
>>>>>
>>>>> Jens Zastrow wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> I want to use the cobertura plugin.
>>>>>>
>>>>>> [pom.xml]
>>>>>>      <plugin>
>>>>>>         <groupId>org.codehaus.mojo</groupId>
>>>>>>         <artifactId>cobertura-maven-plugin</artifactId>
>>>>>>         <executions>
>>>>>>           <execution>
>>>>>>             <goals>
>>>>>>               <goal>clean</goal>
>>>>>>             </goals>
>>>>>>           </execution>
>>>>>>         </executions>
>>>>>>       </plugin>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> mvn install
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> [INFO] Scanning for projects...
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>> [INFO] Building JIAC-JIAC
>>>>>> [INFO]    task-segment: [install]
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>> [INFO] Ignoring available plugin update: 2.0-20060221.155337-4 as it
>>>>>> requires Maven version 2.0.3-SNAPSHOT
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>> [INFO] The plugin 'org.codehaus.mojo:cobertura-maven-plugin' does not
>>>>>> exist or no valid version could be found
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>> [INFO] Total time: 1 second
>>>>>> [INFO] Finished at: Fri Feb 24 16:16:04 CET 2006
>>>>>> [INFO] Final Memory: 3M/6M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> ----
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>     

Reply via email to