I have got maven-proxy running happily.
just get from here: http://maven-proxy.codehaus.org/
u may have different repositories for release, snapshot and
thirdparty jar
~manchi
On Jan 12, 2006, at 8:10 PM, Paul Hepworth wrote:
I've tried that one already with no success.
It still works the same way in that I have to copy the org
repository to my local repository to get it to work. Once I have
done that, it happily uses either a repository/pluginRepository
defined in the POM or the mirror of central defined in settings.
It just doesn't work for the maven plugins!?!?
-----Original Message-----
From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Sent: 12 January 2006 11:37
To: Maven Users List
Subject: Re: Using Maven Offline
Yeah I just checked the guide and you need a mirror.
From http://maven.apache.org/guides/mini/guide-mirror-settings.html:
You want to replace a particular repository with your own internal
repository which you have greater control over
On 1/12/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
I think you have to setup a mirror in your setting.xml files. This is
how we use Maven-Proxy so shoud be the same to use your own
repository.
On 1/12/06, Paul Hepworth <[EMAIL PROTECTED]> wrote:
Hi
I'm trying to set up Maven for multiple users on a network not
connected to the internet.
I've run all the commands that we will need while connected to the
net so that I have the plugins and dependencies downloaded.
On a network drive //myserver/maven/repository I have placed all the
downloaded dependencies and plugins.
In POM.xml I have the following specified:
...
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>file:////myserver/maven/repository</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Plugin Repository</name>
<url>file:////myserver/maven/repository</url>
</pluginRepository>
</pluginRepositories>
...
However, when I run mvn install it can't find the plugins to
download.
If I copy the org directory from my repository to my local
repository, everything works fine and all the additional plugins and
dependencies are downloaded from the network repository.
Is there a trick I'm missing? I really don't want all the users to
have to create a .m2/repository directory and copy the org directory
to it before they can use Maven.
Any suggestions??
Thanks
Paul
This message should be regarded as confidential. If you have
received this email in error please notify the sender and destroy
it immediately.
Statements of intent shall only become binding when confirmed in
hard copy by an authorised signatory. The contents of this email
may relate to dealings with other companies within the Detica
Group plc group of companies.
Detica Limited is registered in England under No: 1337451.
Registered offices: Surrey Research Park, Guildford, Surrey, GU2
7YP, England.
--
Alexandre Poitras
Québec, Canada
--
Alexandre Poitras
Québec, Canada
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]