On 11/9/06, Van Niekerk, Ida <[EMAIL PROTECTED]> wrote:
Hi there,



I am using the maven clover plugin 2.3 and am trying to exclude files
from instrumentation. My package structure is the following :



src\main\java\za\co\fnb\ssc\dynabob\atm\somepackage\page\*.java.



I don't want the page package to be instrumented, so have added the
following into my pom.xml:



<reporting>

                        <plugins>

                                    <plugin>



<artifactId>maven-clover-plugin</artifactId>

                          <configuration>

                             <licenseFile>clover.license</licenseFile>

                              <excludes>

                                    <exclude>**/page/*.java</exclude>

                             </excludes>

                          </configuration>


                                    </plugin>


                        </plugins>

            </reporting>

But it still instruments the code, which then becomes part of my report
which then brings the code coverage percentage down. I have tried
different paths, like **/*page/*.java, **/page/** etc, but nothing seems
to work. I have been searching for answers on this site a.w.a the clover
support site, tried some of the suggestions, but nothing works. Every
time we do a build we do a clean install and have deleted the clover
database and site folder manually, but this made no difference.



Could someone please help me? Thank you very much!!!







Where's your pom.xml located?


--

Jeff  Mutonho
Cape Town
South Africa

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

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

Reply via email to