RE: Antwort: RE: offline not truly offline?

2012-03-01 Thread Mirko Friedenhagen
One good reason to always use . Or to hope for 2032 ;-) .

Regards Mirko
-- 
Sent from my phone
On Feb 29, 2012 5:02 PM, Matt Walsh mwa...@chartwelltechnology.com
wrote:

 Or it that 1 year old. Always get those yy/mm/dd vs dd/mm/yy confused.
 :-(

  -Original Message-
  From: Matt Walsh
  Sent: Wednesday, February 29, 2012 8:56 AM
  To: Maven Users List
  Subject: RE: Antwort: RE: offline not truly offline?
 
  Nice. 4 years old.
 
   -Original Message-
   From: Thorsten Heit [mailto:thorsten.h...@vkb.de]
   Sent: Wednesday, February 29, 2012 2:35 AM
   To: Maven Users List
   Subject: Antwort: RE: offline not truly offline?
  
   Hi,
  
From my experience with the archetype plugin, it appears to ignore
   your
company proxies and mirrors and always and only goes to repo1
  unless
   you
tell it otherwise
using -DarchetypeCatalog=http://your.company.repo/ or
-DarchetypeCatalog=local
   
I don't have a proxy, but I do have everything redirecting via a
   mirror
to our Nexus repository and I still have to do the above to get it
  to
find my archetypes.
  
   http://jira.codehaus.org/browse/ARCHETYPE-283
   http://jira.codehaus.org/browse/ARCHETYPE-358
  
  
   HTH
  
   Thorsten

 __
 This message, including any attachments, is confidential and contains
 information intended only for the person(s) named above. Any other
 distribution, copying or disclosure is strictly prohibited. If you are not
 the intended recipient or have received this message in error, please
 notify us immediately by reply email and permanently delete the original
 transmission from all of your systems and hard drives, including any
 attachments, without making a copy.

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




Antwort: RE: offline not truly offline?

2012-02-29 Thread Thorsten Heit
Hi,

 From my experience with the archetype plugin, it appears to ignore your
 company proxies and mirrors and always and only goes to repo1 unless you
 tell it otherwise 
 using -DarchetypeCatalog=http://your.company.repo/ or
 -DarchetypeCatalog=local
 
 I don't have a proxy, but I do have everything redirecting via a mirror
 to our Nexus repository and I still have to do the above to get it to
 find my archetypes.

http://jira.codehaus.org/browse/ARCHETYPE-283
http://jira.codehaus.org/browse/ARCHETYPE-358


HTH

Thorsten

Re: RE: offline not truly offline?

2012-02-29 Thread Maven User
I hate to see jira's and go Hmmm - well, it's documented, so I'll do
nothing...

At the very least, I'll hack this up locally for us

On Wed, Feb 29, 2012 at 4:34 AM, Thorsten Heit thorsten.h...@vkb.de wrote:

 Hi,

  From my experience with the archetype plugin, it appears to ignore your
  company proxies and mirrors and always and only goes to repo1 unless you
  tell it otherwise
  using -DarchetypeCatalog=http://your.company.repo/ or
  -DarchetypeCatalog=local
 
  I don't have a proxy, but I do have everything redirecting via a mirror
  to our Nexus repository and I still have to do the above to get it to
  find my archetypes.

 http://jira.codehaus.org/browse/ARCHETYPE-283
 http://jira.codehaus.org/browse/ARCHETYPE-358


 HTH

 Thorsten


RE: Antwort: RE: offline not truly offline?

2012-02-29 Thread Matt Walsh
Nice. 4 years old.

 -Original Message-
 From: Thorsten Heit [mailto:thorsten.h...@vkb.de]
 Sent: Wednesday, February 29, 2012 2:35 AM
 To: Maven Users List
 Subject: Antwort: RE: offline not truly offline?
 
 Hi,
 
  From my experience with the archetype plugin, it appears to ignore
 your
  company proxies and mirrors and always and only goes to repo1 unless
 you
  tell it otherwise
  using -DarchetypeCatalog=http://your.company.repo/ or
  -DarchetypeCatalog=local
 
  I don't have a proxy, but I do have everything redirecting via a
 mirror
  to our Nexus repository and I still have to do the above to get it
to
  find my archetypes.
 
 http://jira.codehaus.org/browse/ARCHETYPE-283
 http://jira.codehaus.org/browse/ARCHETYPE-358
 
 
 HTH
 
 Thorsten

__
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.

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



RE: Antwort: RE: offline not truly offline?

2012-02-29 Thread Matt Walsh
Or it that 1 year old. Always get those yy/mm/dd vs dd/mm/yy confused.
:-(

 -Original Message-
 From: Matt Walsh
 Sent: Wednesday, February 29, 2012 8:56 AM
 To: Maven Users List
 Subject: RE: Antwort: RE: offline not truly offline?
 
 Nice. 4 years old.
 
  -Original Message-
  From: Thorsten Heit [mailto:thorsten.h...@vkb.de]
  Sent: Wednesday, February 29, 2012 2:35 AM
  To: Maven Users List
  Subject: Antwort: RE: offline not truly offline?
 
  Hi,
 
   From my experience with the archetype plugin, it appears to ignore
  your
   company proxies and mirrors and always and only goes to repo1
 unless
  you
   tell it otherwise
   using -DarchetypeCatalog=http://your.company.repo/ or
   -DarchetypeCatalog=local
  
   I don't have a proxy, but I do have everything redirecting via a
  mirror
   to our Nexus repository and I still have to do the above to get it
 to
   find my archetypes.
 
  http://jira.codehaus.org/browse/ARCHETYPE-283
  http://jira.codehaus.org/browse/ARCHETYPE-358
 
 
  HTH
 
  Thorsten

__
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.

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



Re: offline not truly offline?

2012-02-28 Thread Wayne Fay
 When passing mvn archetype:generate the -o flag, I can see it's reaching
 out to repo1 still.

How can you see this? Are you using a network sniffer or just going
by what the Maven logs show?

 It seems offline mode isn't truly offline.

I'm pretty sure you are wrong about this.

 Am I missing something?

The Maven log has a tendency to lie to you sometimes.

Wayne

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



Re: offline not truly offline?

2012-02-28 Thread Maven User
I'd be VERY happy to be wrong.

When I run mvn archetype:generate -o I can see it reaching out to repo1.

We have a corporate proxy here and w/o that configured, maven simply tries
to build up the archetype catalog from its local repository instead.

How do I know mvn is lying like you suggest?

:-)

On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com wrote:

  When passing mvn archetype:generate the -o flag, I can see it's
 reaching
  out to repo1 still.

 How can you see this? Are you using a network sniffer or just going
 by what the Maven logs show?

  It seems offline mode isn't truly offline.

 I'm pretty sure you are wrong about this.

  Am I missing something?

 The Maven log has a tendency to lie to you sometimes.

 Wayne

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




Re: offline not truly offline?

2012-02-28 Thread Maven User
Yeah, just did it again just to make sure:

mvn archetype:generate -X -e -o

snip

[INFO] Generating project in Interactive mode
[DEBUG] Searching for remote catalog:
http://repo1.maven.org/maven2/archetype-catalog.xml

/snip

Lies?

On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com wrote:

  When passing mvn archetype:generate the -o flag, I can see it's
 reaching
  out to repo1 still.

 How can you see this? Are you using a network sniffer or just going
 by what the Maven logs show?

  It seems offline mode isn't truly offline.

 I'm pretty sure you are wrong about this.

  Am I missing something?

 The Maven log has a tendency to lie to you sometimes.

 Wayne

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




Re: offline not truly offline?

2012-02-28 Thread Anders Hammar
The problem with executing Maven offline is that not all plugins
respect that for plugin specific downloads. It's up to the plugin
author. I don't know about the archetype plugin, but I'm pretty sure
the Cargo plugin (for example) doesn't care about that flag and still
tries to go out on the Internet to download Cargo specific files. The
log output you're seeing is a archetype plugin specific file so I'm
guessing it doesn't check if in offline mode before downloading that.

/Anders

On Tue, Feb 28, 2012 at 19:02, Maven User maven.2.u...@gmail.com wrote:
 Yeah, just did it again just to make sure:

 mvn archetype:generate -X -e -o

 snip

 [INFO] Generating project in Interactive mode
 [DEBUG] Searching for remote catalog:
 http://repo1.maven.org/maven2/archetype-catalog.xml

 /snip

 Lies?

 On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com wrote:

  When passing mvn archetype:generate the -o flag, I can see it's
 reaching
  out to repo1 still.

 How can you see this? Are you using a network sniffer or just going
 by what the Maven logs show?

  It seems offline mode isn't truly offline.

 I'm pretty sure you are wrong about this.

  Am I missing something?

 The Maven log has a tendency to lie to you sometimes.

 Wayne

 -
 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



Re: offline not truly offline?

2012-02-28 Thread Wayne Fay
 [INFO] Generating project in Interactive mode
 [DEBUG] Searching for remote catalog:
 http://repo1.maven.org/maven2/archetype-catalog.xml

What version of Maven are you using?

Wayne

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



Re: offline not truly offline?

2012-02-28 Thread Maven User
We see this behavior with 3.0.3 and 3.0.4.

On Tue, Feb 28, 2012 at 1:10 PM, Wayne Fay wayne...@gmail.com wrote:

  [INFO] Generating project in Interactive mode
  [DEBUG] Searching for remote catalog:
  http://repo1.maven.org/maven2/archetype-catalog.xml

 What version of Maven are you using?

 Wayne

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




Re: offline not truly offline?

2012-02-28 Thread Maven User
That makes me want to punch kittens.

Shouldn't access be allowed/disallowed by the process running the plugins?

On Tue, Feb 28, 2012 at 1:10 PM, Anders Hammar and...@hammar.net wrote:

 The problem with executing Maven offline is that not all plugins
 respect that for plugin specific downloads. It's up to the plugin
 author. I don't know about the archetype plugin, but I'm pretty sure
 the Cargo plugin (for example) doesn't care about that flag and still
 tries to go out on the Internet to download Cargo specific files. The
 log output you're seeing is a archetype plugin specific file so I'm
 guessing it doesn't check if in offline mode before downloading that.

 /Anders

 On Tue, Feb 28, 2012 at 19:02, Maven User maven.2.u...@gmail.com wrote:
  Yeah, just did it again just to make sure:
 
  mvn archetype:generate -X -e -o
 
  snip
 
  [INFO] Generating project in Interactive mode
  [DEBUG] Searching for remote catalog:
  http://repo1.maven.org/maven2/archetype-catalog.xml
 
  /snip
 
  Lies?
 
  On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com wrote:
 
   When passing mvn archetype:generate the -o flag, I can see it's
  reaching
   out to repo1 still.
 
  How can you see this? Are you using a network sniffer or just going
  by what the Maven logs show?
 
   It seems offline mode isn't truly offline.
 
  I'm pretty sure you are wrong about this.
 
   Am I missing something?
 
  The Maven log has a tendency to lie to you sometimes.
 
  Wayne
 
  -
  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




RE: offline not truly offline?

2012-02-28 Thread Matt Walsh
From my experience with the archetype plugin, it appears to ignore your
company proxies and mirrors and always and only goes to repo1 unless you
tell it otherwise 
using -DarchetypeCatalog=http://your.company.repo/ or
-DarchetypeCatalog=local

I don't have a proxy, but I do have everything redirecting via a mirror
to our Nexus repository and I still have to do the above to get it to
find my archetypes.

Matt

 -Original Message-
 From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On
 Behalf Of Anders Hammar
 Sent: Tuesday, February 28, 2012 11:11 AM
 To: Maven Users List
 Subject: Re: offline not truly offline?
 
 The problem with executing Maven offline is that not all plugins
 respect that for plugin specific downloads. It's up to the plugin
 author. I don't know about the archetype plugin, but I'm pretty sure
 the Cargo plugin (for example) doesn't care about that flag and still
 tries to go out on the Internet to download Cargo specific files. The
 log output you're seeing is a archetype plugin specific file so I'm
 guessing it doesn't check if in offline mode before downloading that.
 
 /Anders
 
 On Tue, Feb 28, 2012 at 19:02, Maven User maven.2.u...@gmail.com
 wrote:
  Yeah, just did it again just to make sure:
 
  mvn archetype:generate -X -e -o
 
  snip
 
  [INFO] Generating project in Interactive mode
  [DEBUG] Searching for remote catalog:
  http://repo1.maven.org/maven2/archetype-catalog.xml
 
  /snip
 
  Lies?
 
  On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com
 wrote:
 
   When passing mvn archetype:generate the -o flag, I can see it's
  reaching
   out to repo1 still.
 
  How can you see this? Are you using a network sniffer or just
 going
  by what the Maven logs show?
 
   It seems offline mode isn't truly offline.
 
  I'm pretty sure you are wrong about this.
 
   Am I missing something?
 
  The Maven log has a tendency to lie to you sometimes.
 
  Wayne
 
 

 -
  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


__
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.

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



Re: offline not truly offline?

2012-02-28 Thread Wayne Fay
 That makes me want to punch kittens.

 Shouldn't access be allowed/disallowed by the process running the plugins?

Feel free to modify the Maven source code (and Archetype plugin code)
to make this happen and contribute it back. Apparently no one prior to
you has been inspired to do this work so it has been left undone. (I
for one almost never use the Archetype plugin and most people tend to
scratch their own itch.)

The kittens of the world thank you in advance for your efforts in this
regard and your restraint thus far in punching them for this grave
injustice.

Wayne

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



RE: offline not truly offline?

2012-02-28 Thread Manfred Moser
Smells like  an issue should be created..

On Tue, February 28, 2012 10:40 am, Matt Walsh wrote:
From my experience with the archetype plugin, it appears to ignore your
 company proxies and mirrors and always and only goes to repo1 unless you
 tell it otherwise
 using -DarchetypeCatalog=http://your.company.repo/ or
 -DarchetypeCatalog=local

 I don't have a proxy, but I do have everything redirecting via a mirror
 to our Nexus repository and I still have to do the above to get it to
 find my archetypes.

 Matt

 -Original Message-
 From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On
 Behalf Of Anders Hammar
 Sent: Tuesday, February 28, 2012 11:11 AM
 To: Maven Users List
 Subject: Re: offline not truly offline?

 The problem with executing Maven offline is that not all plugins
 respect that for plugin specific downloads. It's up to the plugin
 author. I don't know about the archetype plugin, but I'm pretty sure
 the Cargo plugin (for example) doesn't care about that flag and still
 tries to go out on the Internet to download Cargo specific files. The
 log output you're seeing is a archetype plugin specific file so I'm
 guessing it doesn't check if in offline mode before downloading that.

 /Anders

 On Tue, Feb 28, 2012 at 19:02, Maven User maven.2.u...@gmail.com
 wrote:
  Yeah, just did it again just to make sure:
 
  mvn archetype:generate -X -e -o
 
  snip
 
  [INFO] Generating project in Interactive mode
  [DEBUG] Searching for remote catalog:
  http://repo1.maven.org/maven2/archetype-catalog.xml
 
  /snip
 
  Lies?
 
  On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com
 wrote:
 
   When passing mvn archetype:generate the -o flag, I can see it's
  reaching
   out to repo1 still.
 
  How can you see this? Are you using a network sniffer or just
 going
  by what the Maven logs show?
 
   It seems offline mode isn't truly offline.
 
  I'm pretty sure you are wrong about this.
 
   Am I missing something?
 
  The Maven log has a tendency to lie to you sometimes.
 
  Wayne
 
 
 
 -
  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


 __
 This message, including any attachments, is confidential and contains
 information intended only for the person(s) named above. Any other
 distribution, copying or disclosure is strictly prohibited. If you are not
 the intended recipient or have received this message in error, please
 notify us immediately by reply email and permanently delete the original
 transmission from all of your systems and hard drives, including any
 attachments, without making a copy.

 -
 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



Re: offline not truly offline?

2012-02-28 Thread Maven User
Bravo - for the perfectly hysterical dead-pan reply about kitten punching,
I shall go forth and seek the source I desire and fork it...

On Tue, Feb 28, 2012 at 2:11 PM, Wayne Fay wayne...@gmail.com wrote:

  That makes me want to punch kittens.
 
  Shouldn't access be allowed/disallowed by the process running the
 plugins?

 Feel free to modify the Maven source code (and Archetype plugin code)
 to make this happen and contribute it back. Apparently no one prior to
 you has been inspired to do this work so it has been left undone. (I
 for one almost never use the Archetype plugin and most people tend to
 scratch their own itch.)

 The kittens of the world thank you in advance for your efforts in this
 regard and your restraint thus far in punching them for this grave
 injustice.

 Wayne

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




RE: offline not truly offline?

2012-02-28 Thread Matt Walsh
From the looks of the documentation, this was by design. Doesn't mean it
wasn't a bad design. ;-)

:quote (From
http://maven.apache.org/archetype/maven-archetype-plugin/specification/a
rchetype-catalog.html)

Location of catalog files
The Archetype Plugin knows by default about its internal catalog. It
also knows about the local and remote catalogs.

local represents the ~/.m2/archetype-catalog.xml catalog file.

remote represents the
http://repo1.maven.org/maven2/archetype-catalog.xml catalog file.

The Archetype Plugin can also read catalogs from filesystem/HTTP by
providing the path/URL of a catalog file or of a directory containing an
archetype-catalog.xml file.

:equote

 -Original Message-
 From: Manfred Moser [mailto:manf...@mosabuam.com]
 Sent: Tuesday, February 28, 2012 12:25 PM
 To: Maven Users List
 Subject: RE: offline not truly offline?
 
 Smells like  an issue should be created..
 
 On Tue, February 28, 2012 10:40 am, Matt Walsh wrote:
 From my experience with the archetype plugin, it appears to ignore
 your
  company proxies and mirrors and always and only goes to repo1 unless
 you
  tell it otherwise
  using -DarchetypeCatalog=http://your.company.repo/ or
  -DarchetypeCatalog=local
 
  I don't have a proxy, but I do have everything redirecting via a
 mirror
  to our Nexus repository and I still have to do the above to get it
to
  find my archetypes.
 
  Matt
 
  -Original Message-
  From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com]
 On
  Behalf Of Anders Hammar
  Sent: Tuesday, February 28, 2012 11:11 AM
  To: Maven Users List
  Subject: Re: offline not truly offline?
 
  The problem with executing Maven offline is that not all plugins
  respect that for plugin specific downloads. It's up to the plugin
  author. I don't know about the archetype plugin, but I'm pretty
sure
  the Cargo plugin (for example) doesn't care about that flag and
 still
  tries to go out on the Internet to download Cargo specific files.
 The
  log output you're seeing is a archetype plugin specific file so I'm
  guessing it doesn't check if in offline mode before downloading
 that.
 
  /Anders
 
  On Tue, Feb 28, 2012 at 19:02, Maven User maven.2.u...@gmail.com
  wrote:
   Yeah, just did it again just to make sure:
  
   mvn archetype:generate -X -e -o
  
   snip
  
   [INFO] Generating project in Interactive mode
   [DEBUG] Searching for remote catalog:
   http://repo1.maven.org/maven2/archetype-catalog.xml
  
   /snip
  
   Lies?
  
   On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wayne...@gmail.com
  wrote:
  
When passing mvn archetype:generate the -o flag, I can see
 it's
   reaching
out to repo1 still.
  
   How can you see this? Are you using a network sniffer or just
  going
   by what the Maven logs show?
  
It seems offline mode isn't truly offline.
  
   I'm pretty sure you are wrong about this.
  
Am I missing something?
  
   The Maven log has a tendency to lie to you sometimes.
  
   Wayne
  
  
  
  -
   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
 
 
 
 __
  This message, including any attachments, is confidential and
contains
  information intended only for the person(s) named above. Any other
  distribution, copying or disclosure is strictly prohibited. If you
 are not
  the intended recipient or have received this message in error,
please
  notify us immediately by reply email and permanently delete the
 original
  transmission from all of your systems and hard drives, including any
  attachments, without making a copy.
 
 
-
  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


__
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.

-
To unsubscribe, e-mail

Re: offline not truly offline?

2012-02-28 Thread Wayne Fay
 From the looks of the documentation, this was by design. Doesn't mean it
 wasn't a bad design. ;-)
...
 remote represents the
 http://repo1.maven.org/maven2/archetype-catalog.xml catalog file.

Well sure, but when you tell Maven that you are offline, it should
respect that and not attempt to resolve any remote catalogs, right?

Wayne

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



RE: offline not truly offline?

2012-02-28 Thread Matt Walsh
Agreed.

 -Original Message-
 From: Wayne Fay [mailto:wayne...@gmail.com]
 Sent: Tuesday, February 28, 2012 1:43 PM
 To: Maven Users List
 Subject: Re: offline not truly offline?
 
  From the looks of the documentation, this was by design. Doesn't mean
 it
  wasn't a bad design. ;-)
 ...
  remote represents the
  http://repo1.maven.org/maven2/archetype-catalog.xml catalog file.
 
 Well sure, but when you tell Maven that you are offline, it should
 respect that and not attempt to resolve any remote catalogs, right?
 
 Wayne
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


__
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.


Re: offline not truly offline?

2012-02-28 Thread Barrie Treloar
On Wed, Feb 29, 2012 at 7:12 AM, Wayne Fay wayne...@gmail.com wrote:
 From the looks of the documentation, this was by design. Doesn't mean it
 wasn't a bad design. ;-)
 ...
 remote represents the
 http://repo1.maven.org/maven2/archetype-catalog.xml catalog file.

 Well sure, but when you tell Maven that you are offline, it should
 respect that and not attempt to resolve any remote catalogs, right?

I had a slightly tangential problem.
In the maven-eclipse-plugin code had been contributed to download remote links.
But it was just using URL connection, so it didn't use any of the
proxy stuff already setup in Maven.
From what I can tell there is no One Way(tm) of doing network
access, which is why respecting the offline parameter is left up to
each plugin.

I guess one way to enforce this would be to install a security
manager, and only allow the One Way access to network resources.
But as noted before, no one has really bothered to do that.
Mainly because installing a local repository manager is a much cheaper
and easier way to work offline.

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