On Friday 05 September 2008 [EMAIL PROTECTED] wrote:
>    <pluginRepositories>
>
>       <pluginRepository>
>
>          <id>codehaus</id>
>
>          <name>codehaus Repository for plugins</name>
>
>          <url>http://snapshots.repository.codehaus.org</url>
>
>          <layout>default</layout>
>
>       </pluginRepository>
>
>    </pluginRepositories>
>
>
>
> However, Maven was not able to download the plugin. It ignores the
> pluginRepository and searches only on central. Why defining a
> pluginRepository when it is not used by Maven?

What version of the plugin are you using? If it's a SNAPSHOT, you have
to 
enabled snapshots in your repository configuration by adding

  <snapshots>
    <enabled>true</enabled>
  </snapshots>

If it's not a SNAPSHOT, you are using the wrong repository.

hth,
- martin

[Winter, Wolfgang] yes, Martin, it is a snapshot, so maybe that's the
reason. However, for my taste there is too much special knowledge
necessary for a simple task which could be more intuitive. But I do not
change now anything. You know: never change a running system :-)

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

Reply via email to