No, repository is available all the time and i get this error all the time. I also have maven-plugin-plugin in local repository.

Everything is the same as in tutorial, except local repository location which I changed in M2_HOME/conf/settings.xml





Brett Porter wrote:
It seems like there was an error contacting the repository while
downloading the plugin plugin. Are there any other errors? Does it
happen on repeated attempts?

- Brett

On 11/2/05, Anonimac Anonimac <[EMAIL PROTECTED]> wrote:

Hi,
I'm following example from "Guide to developing Java plugins" and I can't
compile plugin. It fails with

[INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not
exist
or no valid version could be found

If I change packaging parameter to jar, everything compiles.

This is my pom.xml:

<project>
<modelVersion>4.0.0</modelVersion>
<groupId>sedamit.maven.javacvs</groupId>
<artifactId>javacvs-plugin</artifactId>

<packaging>maven-plugin</packaging>
<version>1.0</version>
<name>JavaCVS Maven Plugin</name>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
</project>


Any help appreciated.

Filip




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



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

Reply via email to