Hi,
Did you try to activate debug mode to see what's going on?
Just a guess since I don't use that plugin: you might be using absolute
path although it's waiting for a relative one, for java fqn instead?
Cheers
Le 28 mars 2014 04:25, "Vineet Arora" <mailarora...@gmail.com> a écrit :

> Any takers?
>
>
> On Wed, Mar 26, 2014 at 12:01 PM, Vineet Arora <mailarora...@gmail.com>wrote:
>
>> Hi Maven Emma plugin users and Dev team,
>>
>> I need help in configuring a filter file which is a text file and it's
>> contains look like this:
>>
>> -com.pkg.mytest.*
>> -com.pkg.mytestFile
>>
>> and so on... This is a big file.
>>
>>
>> In my pom.xml, I tried to specify filter file: /scratch/user/myFilters.txt
>> whose contents are as mentioned above
>>
>> * <filters><filter>/scratch/user/myFilters.txt</filter></filters> *
>> *<!--<filterFile>/scratch/user/myFilters.txt</filterFile>-->*
>>
>> Both the above don't work, meaning I don't get any error but none of the
>> classes get instrumented. Can you please help me on this? Is it possible to
>> specify a filter file with emma maven plugin, if yes, please let me know
>> the correct syntax.
>>
>> I tried to search a lot on internet and userguide but no clue :|
>>
>> <plugin>
>>             <groupId>org.codehaus.mojo</groupId>
>>             <artifactId>emma-maven-plugin</artifactId>
>>             <inherited>false</inherited>
>>             <executions>
>>                 <execution>
>>                     <phase>process-classes</phase>
>>                     <goals>
>>                         <goal>instrument</goal>
>>                     </goals>
>>                 </execution>
>>             </executions>
>>             <configuration>
>>
>> <metadataFile>${project.build.directory}/emma/coverage.em</metadataFile>
>>
>> * <filters><filter>/scratch/user/myFilters.txt</filter></filters> *
>> *<!--<filterFile>/scratch/user/myFilters.txt</filterFile>-->*
>>
>>
>> <outputDirectory>${project.build.directory}/emma</outputDirectory>
>>                 <verbose>true</verbose>
>>             </configuration>
>>         </plugin>
>>
>>
>> Regards,
>> Vineet
>>
>
>

Reply via email to