Hi all

I would like to know how to use emma on maven 2. I found
"maven-emma-plugin-0.5.jar" file in the following path.
http://repo1.maven.org/maven2/emma/maven-emma-plugin/0.5/.

I tried to change the maven config file "setting.xml" and the "pom.xml"
file in my project folder as below in order to use emma plugin.

---setting.xml---
<pluginRepository>
        <id>emma</id>
        <name>Emma Plugin Repository</name>
        
<url>http://repo1.maven.org<!--http://mirrors.ibiblio.org/pub--></url>
</pluginRepository>     

---pom.xml---
<plugin>
        <groupId>maven2.emma</groupId>
        <artifactId>maven-emma-plugin</artifactId>
        <version>0.5</version>
</plugin>


But I got the following error message:

----
.....
Downloading:
http://repo1.maven.org/maven2/emma/maven-emma-plugin/0.5/maven-emma-plug
in-0.5.pom
.....
.....
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: maven2.emma:maven-emma-plugin

Reason: POM 'maven2.emma:maven-emma-plugin' not found in repository:
Unable to d
ownload the artifact from any repository

  maven2.emma:maven-emma-plugin:pom:0.5

from the specified remote repositories:
  emma (http://repo1.maven.org)
  .........................................

ThanX in advance.

Lakthinda

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

Reply via email to