You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lakthinda Ranasinghe <LD...@ridgecrestfinancial.com> on 2007/05/16 08:52:59 UTC

using emma on maven 2

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: using emma on maven 2

Posted by romale <al...@gmail.com>.
I created a new Maven2 plugin for EMMA.

You can download my current work here:
http://jira.codehaus.org/browse/MOJO-762

I advise a lot of people to try this plugin and give me feedback. I hope to
create an official EMMA plugin backed by the Mojo Project.

Tell me what you think about it!

Alexandre.


Lakthinda Ranasinghe wrote:
> 
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/using-emma-on-maven-2-tf3762890s177.html#a10728646
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