You need to specify version=2.2 in both <build> and <report> sections

putting 2.2 in pluginManagement is not good enought

-D

On Dec 28, 2007 10:01 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I have 26 developers and moving to 2.0.8 right now is not possible. Maybe in
> a month.
>
> 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.....
>
>
>
>
>
>
> On Dec 28, 2007 6:22 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> > Hmm....
> > Here is my Surefire plugin:
> >
> >                 <plugin>
> >                     <groupId>org.codehaus.mojo</groupId>
> >                     <artifactId>surefire-report-maven-plugin</artifactId>
> >                     <configuration>
> >                         <includes>
> >                             <include implementation="java.lang.String
> > ">**/*.java</include>
> >                         </includes>
> >                         <excludes>
> >                             <exclude implementation="java.lang.String
> > ">**/*Point*.java</exclude>
> >                         </excludes>
> >                         <systemProperties>
> >                             <property>
> >                                * <name>net.sourceforge.cobertura.datafile
> > </name>*
> >
> > <value>${basedir}/target/cobertura/cobertura.ser</value>
> >                             </property>
> >                         </systemProperties>
> >                         <argLine>-Xmx256m</argLine>
> >                         <testFailureIgnore>true</testFailureIgnore>
> >
> >                     </configuration>
> >                 </plugin>
> >
> >
> >
> > On Dec 28, 2007 6:19 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> >
> > > On Dec 28, 2007 7:09 PM, Mick Knutson < [EMAIL PROTECTED]> wrote:
> > > >              <plugin>
> > > >                 <groupId>org.codehaus.mojo</groupId>
> > > >                  <artifactId>cobertura-maven-plugin</artifactId>
> > > >                  <version>2.0</version>
> > > ...
> > > > Downloading:
> > > >
> > > http://snapshots.repository.codehaus.org//org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom
> > > > -----------------------------------------------------
> > > > this realm = app0.child-container [
> > > org.codehaus.mojo:cobertura-maven-plugin]
> > > > urls[0] =
> > > >
> > > file:/c:/opt/.m2/repository/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-
> > > > maven-plugin-2.2.jar
> > >
> > > It's strange that you're specifying 2.0 and it's downloading/using 2.2.
> > >
> > > Is this in <plugins> or in <reporting> ?  Do you have anything in
> > > <pluginManagement> or a profile that could be confusing it?
> > >
> > > I'd just change the <version> to 2.2 and see if that works.   (And
> > > also move to Maven 2.0.8, but one thing at a time.)
> > >
> > > --
> > > Wendy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
> >
>
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>

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

Reply via email to