Thanks a lot for your response. But I always don't understand why it does not work.
----------------------------- In general, using a local repository (one populated with mvn install) a remote one is not a good idea, as the repository will lack some important pieces of information generated at deploy time (eg. cheksum and snapshot versions at least). You would be better off using a mirror such as proximity or maven-proxy if you want/need to insulate/control what is downloaded in dev. You should not confound proxy and mirrors: The former are just network handlers for accessing another repo, while the latter are ful blown replicas of another repo (eg. central). >> My idea was to use my organisation repo as central repo, and manage it >> manually. This is explain in chapter 7.3 of maven2 book. It should works... > > > Why maven download the pom from repo1 and the jar from my repository? If > I look at my repository the pom is present. > > > > If I replace in my settings.xml my repository id by "central" to > override maven central repository then I get the error : > > > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does > not exist or no valid version could be found > This is normal as the plugin's informations is surely missing in your local repo. >> What do you mean by plugin informations. Maven automatically get all plugins >> informations in a local repository, no? I compare my local repo with repo1.maven.org, I don't find any changes. > > > Because my project pom refer to this dependency maven try to download it > from my organization repository, this works but I get this warning. > > Indeed, there is no checksum file for my projects installed on my > organization repository, why? Does maven don't create this file > automatically? > Yes, using deploy goal. > Is it because I use install-file goal? Right :-) >> thanks -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com --------------------------------------------------------------------- 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]