maven-clover-plugin excludes problem

2006-11-09 Thread Van Niekerk, Ida
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


 
artifactIdmaven-clover-plugin/artifactId

  configuration 

 licenseFileclover.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!!!

 

 


To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.


RE: maven-clover-plugin excludes problem

2006-11-09 Thread Van Niekerk, Ida

Thanks so much for your response. I have four projects and a pom.xml in
each. So it will be something like c:\Somefolder\DynabobATM\pom.xml.
Where DynabobATM is one of my projects.

-Original Message-
From: Jeff Mutonho [mailto:[EMAIL PROTECTED] 
Sent: 09 November 2006 03:09 PM
To: Maven Users List
Subject: Re: maven-clover-plugin excludes problem

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



 artifactIdmaven-clover-plugin/artifactId

   configuration

  licenseFileclover.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]

To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.

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



RE: maven-clover-plugin excludes problem

2006-11-09 Thread Van Niekerk, Ida
Sorry bout that :), it's at the same level as the src directory.


-Original Message-
From: Jeff Mutonho [mailto:[EMAIL PROTECTED] 
Sent: 09 November 2006 03:32 PM
To: Maven Users List
Subject: Re: maven-clover-plugin excludes problem

On 11/9/06, Van Niekerk, Ida [EMAIL PROTECTED] wrote:

 Thanks so much for your response. I have four projects and a pom.xml
in
 each. So it will be something like c:\Somefolder\DynabobATM\pom.xml.
 Where DynabobATM is one of my projects.


I meant relative to
src\main\java\za\co\fnb\ssc\dynabob\atm\somepackage\page\*.java.



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]

To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.

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



Increase maven runtime heap space

2006-11-03 Thread Van Niekerk, Ida
Hi there,

 

Maven is currently hanging and I was advised to increase the available
heap space in the Maven runtime, but executing the following command:

 

export MAVEN_OPTS=-Xmx1024m

 

I am just not sure in which file to put this. Do I have to put this in
mvn.bat in my parent pom? Any help will be much appreciated. Thanks :-)


To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.