Well dependencyManagement only works for build plugins - not for
reporting plugins. So if you have cobertura-maven-plugin specified
inside <reporting> in some pom, it will not use the version you
specified in dependencyManagement.
Mick Knutson wrote:
> I was using 2.0 up to this point, and that version was only specified with
> the dependancyManagement section.
>
>
> On Dec 29, 2007 9:35 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
>
>> cobertura-maven-plugin 2.2 was released on December 12.
>>
>> Are you sure that you have specified a version for all occurrences of
>> cobertura-maven-plugin in all of your poms?
>>
>>
>> Mick Knutson wrote:
>>> All I am doing is a site:site
>>>
>>> This was working 2 weeks ago, and I have not upgraded cobertura.
>>> I have a multi-module project. In my main pom i have the
>>> dependancyManagement declaration as I posted here.
>>>
>>> Then for only the modules that I want to run cobertura on, I have the
>>> plugin, and a report declared. Bothe declarations are generic so the
>> version
>>> should come from dependancyManagement from my main pom.
>>>
>>>
>>>
>>> On Dec 28, 2007 10:43 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>>>
>>>> On Dec 28, 2007 11:01 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> As far as the reporting, I only have a generic declaration in
>> reporting
>>>> and
>>>>> there is no reference to a version at all.
>>>>> I also tried moving to 2.2 but I get the same error.....
>>>> When you do what, exactly? You've pasted configuration and errors,
>>>> but never said what you're typing. How can someone reproduce the
>>>> error?
>>>>
>>>> Looking at it again...
>>>>
>>>>> [INFO] Error getting reports from the plugin '
>>>>> org.codehaus.mojo:cobertura-maven-plugin': Unable to find the mojo '
>>>>> org.codehaus.mojo:cobertura-maven-plugin:
>>>>> 2.2:dump-datafile' in the plugin '
>>>> org.codehaus.mojo:cobertura-maven-plugin'
>>>>> net/sourceforge/cobertura/coveragedata/CoverageDataContainer
>>>> It's complaining about 'dump-datafile', but I don't see an execution
>>>> of that goal in what you pasted.
>>>>
>>>> Another strange thing: the package in the error says
>>>> net.sourceforge.cobertura. There is (or was) a Cobertura plugin at
>>>> Sourceforge, but the one from Codehaus Mojo is in the
>>>> org/codehaus/mojo/cobertura package.
>>>>
>>>> You pasted this and highlighted it for some reason... why are you
>>>> using net.sourceforge here?
>>>>
>>>>> <systemProperties>
>>>>> <property>
>>>>> * <name>net.sourceforge.cobertura.datafile
>>>> </name>*
>>>> <value>${basedir}/target/cobertura/cobertura.ser</value>
>>>>> </property>
>>>> Is anyone else having this problem, or just you? At this point I
>>>> would delete my local repository and let it download everything again.
>>>>
>>>> --
>>>> Wendy
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>
>> --
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]