Nothing changed from my cobertura plugin. I was trying to do a ....


                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>cobertura-maven-plugin</artifactId>
                    <version>2.0</version>

                    <configuration>
                        <formats>
                            <format>xml</format>
                            <format>html</format>
                        </formats>

                        <instrumentation>
                            <ignores>
                                <ignore>com/**/*Exception.class</ignore>
                                <ignore>org/**/*Exception.class</ignore>
                                <ignore>com/**/BaseObject.class</ignore>
                                <ignore>org.apache.commons.logging.*
</ignore>
                            </ignores>
                            <excludes>
                                <exclude>com/**/*Test.class</exclude>
                                <exclude>org/**/*Test.class</exclude>
                                <exclude>com/**/*Exception.class</exclude>
                                <exclude>org/**/*Exception.class</exclude>
                                <exclude>com/**/BaseObject.class</exclude>
                                <exclude>org.apache.commons.logging.*
</exclude>
                            </excludes>
                        </instrumentation>

                        <!-- BUG IN PLUGIN:
<dataFile>${basedir}/target/cobertura.ser</dataFile>-->
                        <systemProperties>
                            <property>
                                <name>net.sourceforge.cobertura.datafile
</name>

<value>${basedir}/target/cobertura/cobertura.ser</value>
                            </property>
                        </systemProperties>

                        <check>
                            <haltOnFailure>true</haltOnFailure>

                            <!-- Coverage for an single class -->
                            <lineRate>0</lineRate>
                            <branchRate>0</branchRate>

                            <!-- Coverage for an entire project -->
                            <totalLineRate>0</totalLineRate>
                            <totalBranchRate>0</totalBranchRate>

                            <!-- Coverage for an entire package -->
                            <packageLineRate>0</packageLineRate>
                            <packageBranchRate>0</packageBranchRate>

                            <!-- Coverage for an entire package -->
                            <regexes>
                                <regex>
                                    <pattern>com.baselogic.*</pattern>
                                    <lineRate>59</lineRate>
                                    <branchRate>90</branchRate>
                                </regex>
                                <regex>
                                    <pattern>org.delta.esp.dap.utilities.*
</pattern>
                                    <lineRate>0</lineRate>
                                    <branchRate>0</branchRate>
                                </regex>
                                <regex>
                                    <pattern>org.delta.esp.exception.*
</pattern>
                                    <lineRate>0</lineRate>
                                    <branchRate>0</branchRate>
                                </regex>

                                <regex>
                                    <pattern>org.delta.esp.dap.c2.*
</pattern>
                                    <lineRate>0</lineRate>
                                    <branchRate>0</branchRate>
                                </regex>
                                <regex>
                                    <pattern>org.delta.esp.dap.er.*
</pattern>
                                    <lineRate>45</lineRate>
                                    <branchRate>55</branchRate>
                                </regex>
                            </regexes>
                        </check>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>clean</goal>
                                <goal>check</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>



            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>dashboard-maven-plugin</artifactId>
                <version>1.0-SNAPSHOT</version>
</plugin>





On Dec 28, 2007 5:09 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote:

> On Dec 28, 2007 6:03 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > I just started getting this error:
> >
> > [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
>
> What are you doing when you get the error?  What does your plugin
> configuration look like?
>
> --
> 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
---

Reply via email to