AW: AW: mvn clean package requests access rights for local Nexus repository

2015-03-19 Thread Markus Karg
As I said I cannot reproduce the bug anymore, so do you think the requested 
test makes any sense still?


-Ursprüngliche Nachricht-
Von: Martin Gainty [mailto:mgai...@hotmail.com] 
Gesendet: Donnerstag, 19. März 2015 02:04
An: users@maven.apache.org
Betreff: RE: AW: mvn clean package requests access rights for local Nexus 
repository

as bernd suggested can you view possible access when you enable -X?
might also help to see extension errors with -e mvn -e -X package  package.out 
can we view package.out?

I would be interested looking at the netstat deltas specifically
shnetstat -a   netstat_before.log
run command
shmvn -X package

run another shell and view any new network connections
netstat -a  netstat_after.log

any deltas between netstat_before.log and netstat_after.log can you display 
both here so we can diff the 2 files?
?
Martin


 From: k...@quipsy.de
 To: users@maven.apache.org
 Date: Wed, 18 Mar 2015 16:42:06 +0100
 Subject: AW: mvn clean package requests access rights for local 
 Nexus repository
 
 Bernd,
 
 your theory failed the test:
 
 * Unplugged USB stick, so Maven has no passwords anymore
 * Removed .m2\repository folder from disk, so Maven is enforced to 
 download rather everything newly from our Nexus mirror
 * mvn clean package built maven-dependency-plugin without any 
 problem
 
 Conclusion: It is definitively NOT a download problem, but still supports my 
 theory that maven-dependency-plugin wants to UPLOAD something at package 
 phase.
 
 If I just would have kept the protocol earlier today, I could tell you 
 what thing actually it was... :-(
 
 Regards
 -Markus
 
 
 -Ursprüngliche Nachricht-
 Von: Bernd [mailto:e...@zusammenkunft.net]
 Gesendet: Mittwoch, 18. März 2015 14:27
 An: Maven Users List
 Betreff: Re: mvn clean package requests access rights for local 
 Nexus repository
 
 Hello,
 
 It sounds more like a download as it does not ask again. You can wipe your 
 local repo cache (or use a different one in settings.xml) and try to 
 reproduce the problem. If you run with -X and actually keep the maven log 
 output you should be able to see the access in question.
 
 Gruss
 Bernd
 Am 18.03.2015 14:02 schrieb Markus Karg k...@quipsy.de:
 
  Dear Maven Experts,
 
  just did svn checkout to get trunk of maven-dependency-plugin, and 
  wanted to build it using mvn clean package. What then happened is 
  really
  scary:
 
 
  * It complained about missing access on that path where my USB
  stick stores the encrypted password for my local Nexus repository.
 
  * My local Nexus repository is a mirror of central with public
  access, only demanding passwords for uploads.
 
  * I plugged in my stick, did mvn clean package again, and it
  worked pretty well.
 
  * REMOVED my stick, and since then mvn clean package works
  without, still!
 
  That looks if packaging maven-dependency-plugin would need to 
  WRITE into my Nexus (possibly central?) at package phase, if a 
  particular thing is not found there.
 
  This is scary, as nobody expects UPLOADS are done at packaging.
 
  If somebody has an explanation why that happens, I'd ask him to 
  publish here, so everybody will understand the reason for this! :)
 
  Regards
  -Markus
 
 
 
 B KKK
 KCB  [  X  ܚX KK[XZ[
 \ \  ][  X  ܚX PX] [  \X K ܙ B  ܈Y][
 ۘ[  [X[  K[XZ[
 \ \  Z[X] [  \X K ܙ B
  

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


AW: mvn clean package requests access rights for local Nexus repository

2015-03-18 Thread Markus Karg
Bernd,

your theory failed the test:

* Unplugged USB stick, so Maven has no passwords anymore
* Removed .m2\repository folder from disk, so Maven is enforced to download 
rather everything newly from our Nexus mirror
* mvn clean package built maven-dependency-plugin without any problem

Conclusion: It is definitively NOT a download problem, but still supports my 
theory that maven-dependency-plugin wants to UPLOAD something at package 
phase.

If I just would have kept the protocol earlier today, I could tell you what 
thing actually it was... :-(

Regards
-Markus


-Ursprüngliche Nachricht-
Von: Bernd [mailto:e...@zusammenkunft.net] 
Gesendet: Mittwoch, 18. März 2015 14:27
An: Maven Users List
Betreff: Re: mvn clean package requests access rights for local Nexus 
repository

Hello,

It sounds more like a download as it does not ask again. You can wipe your 
local repo cache (or use a different one in settings.xml) and try to reproduce 
the problem. If you run with -X and actually keep the maven log output you 
should be able to see the access in question.

Gruss
Bernd
Am 18.03.2015 14:02 schrieb Markus Karg k...@quipsy.de:

 Dear Maven Experts,

 just did svn checkout to get trunk of maven-dependency-plugin, and 
 wanted to build it using mvn clean package. What then happened is 
 really
 scary:


 * It complained about missing access on that path where my USB
 stick stores the encrypted password for my local Nexus repository.

 * My local Nexus repository is a mirror of central with public
 access, only demanding passwords for uploads.

 * I plugged in my stick, did mvn clean package again, and it
 worked pretty well.

 * REMOVED my stick, and since then mvn clean package works
 without, still!

 That looks if packaging maven-dependency-plugin would need to WRITE 
 into my Nexus (possibly central?) at package phase, if a particular 
 thing is not found there.

 This is scary, as nobody expects UPLOADS are done at packaging.

 If somebody has an explanation why that happens, I'd ask him to 
 publish here, so everybody will understand the reason for this! :)

 Regards
 -Markus





RE: AW: mvn clean package requests access rights for local Nexus repository

2015-03-18 Thread Martin Gainty
as bernd suggested can you view possible access when you enable -X?
might also help to see extension errors with -e
mvn -e -X package  package.out
can we view package.out?

I would be interested looking at the netstat deltas specifically
shnetstat -a   netstat_before.log
run command
shmvn -X package

run another shell and view any new network connections
netstat -a  netstat_after.log

any deltas between netstat_before.log and netstat_after.log
can you display both here so we can diff the 2 files?
?
Martin


 From: k...@quipsy.de
 To: users@maven.apache.org
 Date: Wed, 18 Mar 2015 16:42:06 +0100
 Subject: AW: mvn clean package requests access rights for local Nexus 
 repository
 
 Bernd,
 
 your theory failed the test:
 
 * Unplugged USB stick, so Maven has no passwords anymore
 * Removed .m2\repository folder from disk, so Maven is enforced to download 
 rather everything newly from our Nexus mirror
 * mvn clean package built maven-dependency-plugin without any problem
 
 Conclusion: It is definitively NOT a download problem, but still supports my 
 theory that maven-dependency-plugin wants to UPLOAD something at package 
 phase.
 
 If I just would have kept the protocol earlier today, I could tell you what 
 thing actually it was... :-(
 
 Regards
 -Markus
 
 
 -Ursprüngliche Nachricht-
 Von: Bernd [mailto:e...@zusammenkunft.net] 
 Gesendet: Mittwoch, 18. März 2015 14:27
 An: Maven Users List
 Betreff: Re: mvn clean package requests access rights for local Nexus 
 repository
 
 Hello,
 
 It sounds more like a download as it does not ask again. You can wipe your 
 local repo cache (or use a different one in settings.xml) and try to 
 reproduce the problem. If you run with -X and actually keep the maven log 
 output you should be able to see the access in question.
 
 Gruss
 Bernd
 Am 18.03.2015 14:02 schrieb Markus Karg k...@quipsy.de:
 
  Dear Maven Experts,
 
  just did svn checkout to get trunk of maven-dependency-plugin, and 
  wanted to build it using mvn clean package. What then happened is 
  really
  scary:
 
 
  * It complained about missing access on that path where my USB
  stick stores the encrypted password for my local Nexus repository.
 
  * My local Nexus repository is a mirror of central with public
  access, only demanding passwords for uploads.
 
  * I plugged in my stick, did mvn clean package again, and it
  worked pretty well.
 
  * REMOVED my stick, and since then mvn clean package works
  without, still!
 
  That looks if packaging maven-dependency-plugin would need to WRITE 
  into my Nexus (possibly central?) at package phase, if a particular 
  thing is not found there.
 
  This is scary, as nobody expects UPLOADS are done at packaging.
 
  If somebody has an explanation why that happens, I'd ask him to 
  publish here, so everybody will understand the reason for this! :)
 
  Regards
  -Markus
 
 
 
 B�CB��[��X��ܚX�KK[XZ[�\�\��][��X��ܚX�PX]�[��\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[�\�\��Z[X]�[��\X�K�ܙ�B