1. Yes.
2. I'am not familiar with NEXUS ('cause we use Artifactory) and I don't know about your local repository. But the common steps would include to configure NEXUS as a mirror in your $HOME/.m2/settings.xml (or pom.xml) and then deploy artifacts to it. The following XML is the mirror configuration for our Artifactory, NEXUS should be something equal - have a look in the docs.

    <!-- development gobal mirror -->
    <mirrors>
        <mirror>
            <id>YOURSERVERNAME</id>
            <mirrorOf>*</mirrorOf>
            <url>http://YOURSERVERNAME/artifactory/repo</url>
            <name>Artifactory</name>
        </mirror>
    </mirrors>

So if you request an artifact, e.g. 'junit-3.5.8' it is loaded from the NEXUS repository. If it isn't in the NEXUS repository, it gets loaded from the central to NEXUS and then to your client.

Deploying artifacts: http://maven.apache.org/plugins/maven-deploy-plugin/


Am 31.03.2009 um 16:56 schrieb HHB:


Please correct me if I'm wrong:
1. I have to install Nexus (my choice) on the dev machine (shared server). 2. I will use Nexus to copy my local MVN repository to the dev machine.
Thanks for help , I'm so newbie with Maven.


Cedros GmbH wrote:

Yes, create a repository for your unit/company.
You don't want to let your colleagues download artifacs manually from
eg. SVN.

We use Artifactoy as a repository and central mirror for every maven
installation in the company.
Its running on Tomcat, easy to install and integrated with the company
LDAP.

Regards

Am 29.03.2009 um 16:08 schrieb HHB:


Hey,
I use Maven as the build tool for our project.
Now my team mates want to checkout the project from the SVN and I
want to
add the project to out continuous integration server (Hudson).
I'm not sure but should I create a central repository in our unit?
or let
each mate (and CI server) download the dependency himself?
What repository manager do you suggest?
Thanks.
--
View this message in context:
http://www.nabble.com/Sharing-Maven-based-project-tp22767986p22767986.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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




--
View this message in context: 
http://www.nabble.com/Sharing-Maven-based-project-tp22767986p22804979.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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

Reply via email to