Dear list members,

I created my first simple plugin following
guide-java-plugin-development.html

a)
When trying to use the plugin I get the error:
The PluginDescriptor for the plugin Plugin 
[groovyshCopy:maven-groovyshCopy-plugin] was not found.

b)
What is the most simple way to get a listing of the dependencies
of my library. I would like that at deployment this plugins copies
all the dependencies into a certain folder (~/.groovy/lib).


thank you very much in advance,
ido 


pom.xml:

<plugin>
        <groupId>groovyshCopy</groupId>
                <artifactId>maven-groovyshCopy-plugin</artifactId>
                <version>1.0-SNAPSHOT</version>
                  <executions>
            <execution>
            <phase>deploy</phase>
            <goals>
              <goal>sayhi</goal>
            </goals>
          </execution>
        </executions>
</plugin>

java:

/**
 * Says "Hi" to the user.
 * @goal sayhi
 */
public class GreetingMojo extends AbstractMojo
{
    public void execute() throws MojoExecutionException
    {
        System.err.println("Hello, world.");
        getLog().info("Hello, world.");
    }
}

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

Reply via email to