Hi George,
You're using a wrong format that doesn't exist. Try instead: <exclude>**/*Fake*.java</exclude> Thanks -Vincent _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: lundi 8 mai 2006 06:56 To: users@maven.apache.org Cc: [EMAIL PROTECTED] Subject: Maven Clover Plugin 2.1 Excludes Exception I am seeing Maven Clover Plugin 2.0 doesn't exclude my files for instrumenting. >From the 2.1 link: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11129 <http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11129&styleName= Html&version=12216> &styleName=Html&version=12216 I saw the fix(MCLOVER-24) was in 2.1 and tried that. But I got an exception: java.lang.NullPointerException at org.codehaus.plexus.util.DirectoryScanner.setExcludes(DirectoryScanne r.java:502) at org.codehaus.plexus.compiler.util.scan.AbstractSourceInclusionScanner .scanForSources(AbstractSourceInclusionScanner.java:75) at org.codehaus.plexus.compiler.util.scan.SimpleSourceInclusionScanner.g etIncludedSources(SimpleSourceInclusionScanner.java:62) at org.apache.maven.plugin.clover.CloverInstrumentInternalMojo.computeFi lesToInstrument(CloverInstrumentInternalMojo.java:367) at org.apache.maven.plugin.clover.CloverInstrumentInternalMojo.execute(C loverInstrumentInternalMojo.java:114) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:531) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi Any ideas for this issue? The pom has this piece of code(in build section): <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> <version>2.1</version> <configuration> <excludes> <exclude name="**/*Fake*.java" /> <exclude name="**/*Test.java" /> <exclude name="**/proxies/**/*.java" /> <exclude name="**/EJS*.java" /> <exclude name="**/_EJS*.java" /> <exclude name="**/*_Stub.java" /> <exclude name="**/ejbModule/**/*Bean*_*.java" /> <exclude name="**/ejbModule/**/Concret*_*.java" /> <exclude name="**/ejbModule/**/*_*[0-9]*.java" /> </excludes> I have spent much time, no luck. BTW, I have to specify 2.1 as the clover plugin version on build section, otherwise the 2.0 is picked. Or if I put on reporting section, 2.0 is also always picked. Thanks, George Zhao Web Development Group Phone: 925-924-4467 =