You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Edward Peschko <ho...@gmail.com> on 2010/02/17 19:26:25 UTC

building, installing, using maven COMPLETELY OFFLINE (setting up local mini repository)

All,

I need to support a project where I cannot access the internet, even
by proxy. And I'd like to use some tools that require maven support
for building (apache commons, for example).

I see offline mode, and gave it a try, but it STILL seems to still
want to connect to the internet when both building maven, and when
building apache commons. This is as of 2.1.0.

Anyways, what I was hoping to do was to trick maven to run from a sole
pre setup repository; ie: to build a cache on another machine,  tar up
that complete cache and move that cache to the local directory to
build it from there. I would have thought this would be simple (in
fact it should work out of the box IMO) but I don't see any HOWTO
document offhand.

Any help on this would be great and IMO this should be a FAQ.

Thanks much,

Ed

(ps -  BTW - I did try to do a search, but the mail archive at

 http://mail-archives.apache.org/mod_mbox/maven-users/

doesn't have a search feature for some odd reason.
)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: building, installing, using maven COMPLETELY OFFLINE (setting up local mini repository)

Posted by eyal edri <ey...@gmail.com>.
you can also try artifactory: http://www.jfrog.org/products.php
<http://www.jfrog.org/products.php>very nice and easy repository.

Eyal.

On Thu, Feb 18, 2010 at 5:25 PM, Ron Wheeler <rwheeler@artifact-software.com
> wrote:

> Brett Porter wrote:
>
>> I run a repository manager (Archiva) on my local machine, allowing me to
>> clean my local repository at any time without concern, and getting other
>> advantages like less configuration, whitelist/blacklist, search, etc.
>>
>> What type of errors are you getting in offline mode? Is it missing
>> artifacts that weren't obtained before you went offline, or attempts to get
>> things that you should already have?
>>
>> BTW, for search, there are several alternative archives on the mailing
>> lists page, but you can also google with "site:
>> http://mail-archives/mod_mbox/maven-users/"
>>
>>
> Nexus is very nice and easy to setup and has a very modern-looking browser
> based user interface.
> We just started using it in a shared mode and it really helps.
>
> Ron
>
>  On 18/02/2010, at 5:26 AM, Edward Peschko wrote:
>>
>>
>>
>>> All,
>>>
>>> I need to support a project where I cannot access the internet, even
>>> by proxy. And I'd like to use some tools that require maven support
>>> for building (apache commons, for example).
>>>
>>> I see offline mode, and gave it a try, but it STILL seems to still
>>> want to connect to the internet when both building maven, and when
>>> building apache commons. This is as of 2.1.0.
>>>
>>> Anyways, what I was hoping to do was to trick maven to run from a sole
>>> pre setup repository; ie: to build a cache on another machine,  tar up
>>> that complete cache and move that cache to the local directory to
>>> build it from there. I would have thought this would be simple (in
>>> fact it should work out of the box IMO) but I don't see any HOWTO
>>> document offhand.
>>>
>>> Any help on this would be great and IMO this should be a FAQ.
>>>
>>> Thanks much,
>>>
>>> Ed
>>>
>>> (ps -  BTW - I did try to do a search, but the mail archive at
>>>
>>> http://mail-archives.apache.org/mod_mbox/maven-users/
>>>
>>> doesn't have a search feature for some odd reason.
>>> )
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> --
>> Brett Porter
>> brett@apache.org
>> http://brettporter.wordpress.com/
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Eyal Edri

Re: building, installing, using maven COMPLETELY OFFLINE (setting up local mini repository)

Posted by Ron Wheeler <rw...@artifact-software.com>.
Brett Porter wrote:
> I run a repository manager (Archiva) on my local machine, allowing me to clean my local repository at any time without concern, and getting other advantages like less configuration, whitelist/blacklist, search, etc.
>
> What type of errors are you getting in offline mode? Is it missing artifacts that weren't obtained before you went offline, or attempts to get things that you should already have?
>
> BTW, for search, there are several alternative archives on the mailing lists page, but you can also google with "site:http://mail-archives/mod_mbox/maven-users/"
>   
Nexus is very nice and easy to setup and has a very modern-looking 
browser based user interface.
We just started using it in a shared mode and it really helps.

Ron
> On 18/02/2010, at 5:26 AM, Edward Peschko wrote:
>
>   
>> All,
>>
>> I need to support a project where I cannot access the internet, even
>> by proxy. And I'd like to use some tools that require maven support
>> for building (apache commons, for example).
>>
>> I see offline mode, and gave it a try, but it STILL seems to still
>> want to connect to the internet when both building maven, and when
>> building apache commons. This is as of 2.1.0.
>>
>> Anyways, what I was hoping to do was to trick maven to run from a sole
>> pre setup repository; ie: to build a cache on another machine,  tar up
>> that complete cache and move that cache to the local directory to
>> build it from there. I would have thought this would be simple (in
>> fact it should work out of the box IMO) but I don't see any HOWTO
>> document offhand.
>>
>> Any help on this would be great and IMO this should be a FAQ.
>>
>> Thanks much,
>>
>> Ed
>>
>> (ps -  BTW - I did try to do a search, but the mail archive at
>>
>> http://mail-archives.apache.org/mod_mbox/maven-users/
>>
>> doesn't have a search feature for some odd reason.
>> )
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>     
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: building, installing, using maven COMPLETELY OFFLINE (setting up local mini repository)

Posted by Brett Porter <br...@apache.org>.
I run a repository manager (Archiva) on my local machine, allowing me to clean my local repository at any time without concern, and getting other advantages like less configuration, whitelist/blacklist, search, etc.

What type of errors are you getting in offline mode? Is it missing artifacts that weren't obtained before you went offline, or attempts to get things that you should already have?

BTW, for search, there are several alternative archives on the mailing lists page, but you can also google with "site:http://mail-archives/mod_mbox/maven-users/"

On 18/02/2010, at 5:26 AM, Edward Peschko wrote:

> All,
> 
> I need to support a project where I cannot access the internet, even
> by proxy. And I'd like to use some tools that require maven support
> for building (apache commons, for example).
> 
> I see offline mode, and gave it a try, but it STILL seems to still
> want to connect to the internet when both building maven, and when
> building apache commons. This is as of 2.1.0.
> 
> Anyways, what I was hoping to do was to trick maven to run from a sole
> pre setup repository; ie: to build a cache on another machine,  tar up
> that complete cache and move that cache to the local directory to
> build it from there. I would have thought this would be simple (in
> fact it should work out of the box IMO) but I don't see any HOWTO
> document offhand.
> 
> Any help on this would be great and IMO this should be a FAQ.
> 
> Thanks much,
> 
> Ed
> 
> (ps -  BTW - I did try to do a search, but the mail archive at
> 
> http://mail-archives.apache.org/mod_mbox/maven-users/
> 
> doesn't have a search feature for some odd reason.
> )
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org