maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: Offline builds nearly impossible
Date Fri, 13 Nov 2015 12:54:22 GMT
Hi Stephen,

Stephen Connolly wrote:

> mvn -o -llr goal
> Should do what you want where you have changed the repo url. The
> _remote.repositories stores the URL of the repository not just the id.

My local repo was populated using Maven 3.3.8 or 3.3.9 and those files never 
contained any URL.
=============== %< ==============
$ find local.repo -name _remote.repositories -exec grep '://' {} +
$ cat local.repo/org/apache/maven/maven-model/3.1.0/_maven.repositories 
#NOTE: This is an internal implementation file, its format can be changed 
without prior notice.
#Fri Nov 13 09:38:55 CET 2015
=============== %< ==============

therefore I've changed the URL in the settings to be sure, that no access is 

As reported  it actually works for 3.1.1, 3.2.5 and 3.3.9 without -llr 
unless the assembly plugin is used. And for 3.3.9 even -llr did not help, 
again due to plugin incompatibilities.
> If you are doing offline, better would be to have a repository manager and
> a hostname to host it at... but if you want to use a file:/// URL then you
> need -llr AIUI

In an escrow situation, you certainly have no repo manager. You simply have 
to ensure that the provided source, libraries and tools can be used to 
recreate the product. However, the complete resolver mechanism is extremely 
brittle in offline mode.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message