I followed the docs to test my plugin "in-situ" that are here:

http://docs.codehaus.org/display/M2ECLIPSE/Developing+and+debugging+Maven+plugins

However, I'm still getting that my plugin is not resolved:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.mule.maven
ArtifactId: groovy-assembly-plugin
Version: 0.0.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.mule.maven:groovy-assembly-plugin:pom:0.0.1-SNAPSHOT

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

I have checked the "Resolve workspace artifacts" box and I have made sure
that the plugin descriptor for my mojo is generated. I've attached my plugin
POM below. Any ideas?

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.mule.maven</groupId>
  <artifactId>groovy-assembly-plugin</artifactId>
  <packaging>maven-plugin</packaging>
  <version>0.0.1-SNAPSHOT</version>
  <name>groovy-assembly Maven Mojo</name>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.groovy</groupId>
      <artifactId>groovy-all</artifactId>
      <version>1.5.4</version>
    </dependency>
  </dependencies>
</project>


-- 
Dan Diephouse
http://mulesource.com | http://netzooid.com/blog

Reply via email to