Did you setup your <pluginRepository> as well?

That seemed to fix the same problem for me a few weeks back.

On 7/10/06, Chris Wall <[EMAIL PROTECTED]> wrote:

Hey there.  I have a plugin which I uploaded to our proxy server.  To
test I deleted the local version (entire directory) of the plugin.  I
rebuilt the project, but Maven cannot find the plugin.  I have a mirror
configured as my central repository in settings.xml.  So why then is
Maven looking at http://repo1.maven.org/maven2 instead of my mirror?
What am I missing?  Thanks.

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   TempA Project
[INFO]   TempB Project
[INFO]   TempC Project
[INFO]   Temp Projects
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] Failed to resolve artifact.

GroupId: com.comapny.team.plugins.maven
ArtifactId: maven-mytest-plugin
Version: 0.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

  com.comapny.team.plugins.maven:maven-mytest-plugin:pom:0.1-SNAPSHOT

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


[INFO]
------------------------------------------------------------------------
----
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Jul 10 20:42:17 CDT 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------
----

-Chris

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.




--

Never wear anything that panics the cat. -- P. J. O'Rourke

Reply via email to