Thanks for your reply, here it is
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>us.state</groupId>
<artifactId>framework</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>framework</name>
<url>http://maven.apache.org</url>
<build>
<sourceDirectory>
ejbModule
</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<finalName>framework</finalName>
</configuration>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-1</version>
<inherited>true</inherited>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<forkMode>once</forkMode>
<reportFormat>xml</reportFormat>
<classesDirectory>${project.build.directory}/generated-classes/emma/classes</classesDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
....
.....
......
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-1</version>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
<inherited>true</inherited>
</plugin>
</plugins>
</reporting>
</project>
On Fri, Oct 24, 2008 at 3:26 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Send your emma configuration from your pom.xml file as well, perhaps
> that may be helpful in figuring things out. You should also consider
> contacting the emma plugin developers/users list for their help.
>
> Wayne
>
> On Fri, Oct 24, 2008 at 12:51 PM, I am Who i am <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I'm trying to use emma plugin for my project, after adding the plugin to
> > pom.xml when i ran emma:emma or any goal i'm getting the following error,
> > any one had same kinda problem or what iam doing wrong here
> >
> > Please help me
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] class [us.state.fw.md.util.LoadLUWCargoMapping] appears to be
> > instrumented already
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > java.lang.IllegalStateException: class
> > [us.state.fw.md.util.LoadLUWCargoMapping] appears to be instrumented
> already
> > at
> com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:172)
> > at
> > com.vladium.emma.instr.InstrVisitor.process(InstrVisitor.java:111)
> > at
> >
> com.vladium.emma.instr.InstrProcessorST.handleFile(InstrProcessorST.java:471)
> > at
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>