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.

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.


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 or if there is a local repository for every developer...

I am open to other ideas.


Thanks

-----Mensaje original-----
De: Jouko Johansson [mailto:[email protected]] 
Enviado el: miércoles, 04 de noviembre de 2009 11:40
Para: Maven Users List
Asunto: Re: Maven Configuration in Eclipse

Have you tried configuring mirror to user's settings.xml

-> http://maven.apache.org/settings.html#Mirrors



On Wed, Nov 4, 2009 at 12:02 PM, Exposito Aguilera, Francisco <
[email protected]> wrote:

> But I want (if it is possible) to configure it in Eclipse options, not in
> the POM file because then I have to modify every project.
>
> After installing m2Eclipse a new Maven option is created inside
> Window-->Preferences.
>
> If I go to Maven Installations, I have to select where my Maven is
> installed
> and the user settings location. And both locations ask me for a path.
>
> May I use samba and add share the location where is Maven installed?
>
> Can I define an URL anywhere?
>
> Thanks
>
>
>
> -----Mensaje original-----
> De: Valentin Jacquemin [mailto:[email protected]]
> Enviado el: miércoles, 04 de noviembre de 2009 10:45
> Para: Maven Users List
> Asunto: Re: Maven Configuration in Eclipse
>
> You should specify the repository location either in your pom.xml or in
> settings like that:
>
> <repository>
>  <id>maven2-repository.dev.java.net</id>
>  <name>Java.net Repository for Maven</name>
>  <url>http://download.java.net/maven/2/</url>
>  </repository>
>
> Adapt basing on your environment.
> Regards,
>
> Valentin Jacquemin
>
>
> On Wed, Nov 4, 2009 at 10:28 AM, Exposito Aguilera, Francisco <
> [email protected]> wrote:
>
> > Hello,
> >
> > I have a Maven installed in a linux Server and there is the local
> > repository.
> >
> > Then I have my Eclipse in a Windows system.
> >
> > How can I configure m2eclipse in order to search inside the linux
> > repository?
> >
> > Thanks a lot.
> >
> > ---------------------------------------------------------------------
> > 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]
>
>


-- 
--------------------------------------------------
Jouko Johansson

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to