[EMAIL PROTECTED] wrote:
On Tue, 26 Aug 2008, Gonzalo Rodríguez Píriz wrote:

Hi,

I am using Cobertura with the Mojo plugin for Maven, and I have two projects, one with the DAO classes and one with the Service ones. I would like Cobertura to
instrument and check the DAO classes (and the Service ones, of course) when I launch mvn cobertura:cobertura from the Service project, but I haven't found a way to
do it.

I tried using

<configuration>
    <instrumentation>
        <includes>
            <include>../path_to_other_project/**/*.class</include>
        </includes>
    </instrumentation>
</configuration>

Define the plugin in each project instead (pom.xml)

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

--------------------------------------------------------------------- To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
  
I have the plugin defined in both projects, but how can I launch it from the Service project so that it also instruments the DAO classes?

Thanks again,

Gonzalo Rodríguez píriz.
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to