I noticed that I had the same error when by mistake putting the 
<intstr> tag twice inside of <emma>, and trying to point to a path using the 
instrpathref attrib instead of instrpath :

<emma enabled="${emma.enabled}" >
                <instr instrpathref="${build.exploded.dir}/WEB-INF/classes">
                    <!-- always exclude every class with a "Test" in the name: 
-->
                    <filter excludes="*Test*" />
                    <filter includes="com.redwoodtrust.action" />
                  </instr>
                  <instr
instrpathref="${build.exploded.dir}/WEB-INF/classes"  >
                    <!-- always exclude every class with a "Test" in the name: 
-->
                    <filter excludes="*Test*" />
                    <filter includes="com.redwoodtrust.action" />
                  </instr>
        </emma>

Once I fixed those errors, the problem went away.

antonyarund wrote:
> 
> Hi, 
> I have integerated maven-1.0.2 plugin to "IBM Rational Software
> Development Platform". When I try to run maven from the IDE for a project
> I am getting the following message. 
> 
> 
> emma:instr:
>     [echo] Performing Emma instrumentation
> processing instrumentation path ...
> 
> BUILD FAILED
> File...... C:\Documents and
> Settings\d.antonyarun\.maven\cache\maven-emma-plugin-0.6\plugin.jelly
> Element... ant:emma
> Line...... 189
> Column.... 15
> SECURITY_RESTRICTION:
> 
> Can any one help me in solving this. 
> 
> Thanks & Regards, 
> Antony Arun D
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-error-in-running-maven-tf1442468.html#a6540352
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to