Donate Share

EMMA code coverage

Tracker: Bugs

5 emma plugin problem in maven 2 - ID: 1912637
Last Update: Comment added ( thewoolleyman )

In maven 2 project, I added maven-emma-plugin, version 0.5 to reporting
section:
<reporting>
<plugins>
<plugin>
<groupId>emma</groupId>
<artifactId>maven-emma-plugin</artifactId>
<version>0.5</version>
</plugin>
</plugins>
</reporting>

When I run 'site' I got following error:
FATAL ERROR: [INFO] The PluginDescriptor for the plugin Plugin
[emma:maven-emma-plugin] was not found.

So I'm not able to run emma in Maven2 project at all.

mvn -version result:
Maven version: 2.0.8
Java version: 1.5.0_14
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"


I looked at files at ibiblio and it seems that pom for emma-plugin is
written for Maven2 (modelversion: 4.0.0), but the jar is written for Maven1
(it contains project.xml with model version 3).
Perhaps this is the root of the problem?


Grzegorz Borkowski ( gborkowski ) - 2008-03-12 12:11

5

Open

None

Chad Woolley

MAVEN_PLUGIN

None

Public


Comment ( 1 )

Date: 2008-03-12 19:25
Sender: thewoolleyman


The maven plugin in the emma source is for Maven 1 only, AFAIK. Some
people have written Maven 2 plugin(s), but I believe they are hosted
elsewhere. Sorry I don't have more details, as I don't use Java, Emma, or
Maven anymore :) Search the archives of this list for more info, I know
there are threads about the Maven 2 plugins. Also, if you update this
thread with the latest info and maven2 plugin locations, that would be
good.

-- Chad


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.