You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Antony Arun D <an...@rediffmail.com> on 2006/04/13 08:34:34 UTC

Getting error in running maven

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



Re: Getting error in running maven

Posted by Chris Novak <cn...@yahoo.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Getting error in running maven

Posted by Arnaud HERITIER <ah...@gmail.com>.
Did you take a look at the security policy used in the JRE/JDK used for the
IDE.
There's certainly a custom constraint which block you.

arnaud

On 13 Apr 2006 06:34:34 -0000, Antony Arun D <an...@rediffmail.com>
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
>
>
>
>