Hi,

I override my maven central repository, using this,

<mirror>
      <id>central</id>
      <mirrorOf>central</mirrorOf>
      <name>My Maven repository</name>
      <url>http://my.maven.repo.com</url>
</mirror>

but now, although it download packages, maven can't found the plugins !!
First, I clean up the repository, to force the download of the jar's.
Then I make, for example:

mvn archetype:create -DgroupId=pt.matrix -DartifactId=matrix

And

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
ex
st or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 30 16:23:43 GMT 2006
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------


It download some packages, but the archetype plugin does not, why ?


CCadete



The plugins are there of course...
-- 
View this message in context: 
http://www.nabble.com/Overriding-Central-Repository-tf2540428s177.html#a7077660
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to