Hi, Mordo,

See attachment please. You might find some clue there.

Regards,
Green

-----Original Message-----
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月29日 2:39
To: Maven Users List
Subject: Setting up repositories

Hi all,
 
I'm trying to set up repositories but I don't really know how to do it.
Here is my problem.
 
I have a build machine which will hold the snapshot repository and the release 
repository. 
 
Now this machine will not be connected to the internet, so I need to setup a 
plugin repository which will be updated manually with the appropriate plugins. 
So I understand I need to install apache that will serve this plugin repository 
(will be on the same build machine).
 
Now workstations do have internet access and will download the plugins from  
ibiblio and from the build machine, and I want that they will also get the 
latest snapshots from the build server (how can I set up multiple plugin 
repositories ?)
 
Is this a good practice or am I talking nonsense ? How can I setup this kind of 
environment (examples for POM snippets and other configurations that I need to 
make will be appreciates since I'm new to maven)
 
Thank you
 
Aviran
--- Begin Message ---

Jason,

Thank you so much for your patient reply! I have updated the diagram as per your comments, please let me know if it need further update.

 
And I guess it would be better to fake a sample suite to reflect the topology, including settings.xml, pom.xml, maven-proxy.properties. I would like to help with this task.  
 
BTW, I use UmlGraph (http://www.spinellis.gr/sw/umlgraph/) to generate the diagram. The tool makes it an easy job drawing the diagram. To generate the diagram shown above, all I have done is 17 lines of java like code plus one command line. U can do it in one minute once u get familiar with it.

Regards,
Green

-----Original Message-----
From: Jason van Zyl [
mailto:[EMAIL PROTECTED]]
Sent: 2005年11月28日 14:15
To: Maven Users List
Subject: Re: [M2] Repository

Law Green-A20134 wrote:
> Jason,
>
> It's almost done, really appreciate! The only thing I want to make
> clear is the maven-proxy deployment,
>
> Do you suggest we deploy maven-proxy as follows:

I think the picture from the maven-proxy box pointing to many repos is accurate but I think you might want to represent Maven as the active process that sits between maven-proxy and the local repository which is populated the active maven process i.e. the copy of maven run by each developer on their workstations. It is maven that is talking to your instance of maven-proxy, in essence the mediator between your local and remote repository. In this case maven-proxy is acting as the uber remote repository.

Would be happy to try and integrate your diagram into this:

http://maven.apache.org/guides/introduction/introduction-to-repositories.html

Would certainly help people who are new to Maven.

--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

believe nothing, no matter where you read it, or who has said it, not even if i have said it, unless it agrees with your own reason and your own common sense.

 -- Buddha

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

--- End Message ---
--- Begin Message ---
Title: Re: [M2] Repository

Law Green-A20134 wrote:
> Hi,

> Can anyone give me a clear description of the following concepts and
> their role in M2 build system:

They all share the same directory structure (as a file system is the
most common way -- really the only way right now --  to house a repository).

> 1. remote repository

Where you the user may get artifacts from. Can be located anywhere and
accessed by any protocol supported by Wagon (ftp/scp/http/file/...)

> 2. central repository

A special remote repository which is situated at
www.ibiblio.org/maven2/, this is the remote repository where you would
find most OSS artifacts.

> 3. snapshot repository

We do not store snapshots with released artifacts anymore. A snapshot
repository is a remote repository specifically for housing non-release code.

> 4. local repository

The directory structure on your local machine which stores all the
artifacts required by all the projects on your system.

> 5. private repository
> 6. intranet repository

Same thing and these are internal repositories. A remote repository
inside your firewall i.e a repostory not on your machine but in the
confines of your organization. You might have internal release/snapshot
repos as well.

> 7. distribution repository

Usually an internal repository where you deploy your artifacts. Here
again you may have release/snapshot repositories.

This might help as well:

http://maven.apache.org/guides/introduction/introduction-to-repositories.html

> Regards,
> Green
>


--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

Three people can keep a secret provided two of them are dead.

  -- Unknown

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


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

Reply via email to