How can I create the corporate repository? Is it a new web project in Tomcat? How must I define it?
-----Mensaje original----- De: news [mailto:n...@ger.gmane.org] En nombre de Jörg Schaible Enviado el: miércoles, 04 de noviembre de 2009 13:03 Para: users@maven.apache.org Asunto: RE: Maven Configuration in Eclipse Hi, fist you have to understand that you cannot really share the settings.xml. All you can do is, that you provide a template that can be copied by the users and should be stored in the default location "<userhome>/.m2/". Exposito Aguilera, Francisco wrote at Mittwoch, 4. November 2009 12:30: > I'm a little bit lost (and new in Maven)... Maybe I explain what I finally > want... > > 1) Linux server: > > - Apache Maven > - Nexus > - A new corporate repository in order to have the jars we use in all > projects. > > 2) Windows > - Eclipse with m2eclipse > > > Functionality: > > 1) All eclipse developers needs to access only to corporate repository. This can be achieved by the mirror configuration in the settings.xml as already pointed out with your Nexus installation as replacement for central. > 2) If they add in the pom a dependency which is not in the corporate > repository, then Nexus must copy it to the corporate repository and then > the user will have access to it. With the local settings above, it will work this way. > Is it possible? If it is... could you explain the steps to do it (more or > less) > > Also I don't know if my idea of this corporate repository is the same as > the local repository No. The corporate repo is managed by Nexus only. > or if there is a local repository for every > developer... Yes, and it cannot be shared. A user should be able to delete his local repo at any time and get anything again from Nexus again. > I am open to other ideas. Cheers, Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org