On Thursday, 19 March 2015 at 10:41, Markus Karg wrote: > As I said I cannot reproduce the bug anymore, so do you think the requested > test makes any sense still? > >
The Nexus system feeds record authz/authc events as well as any upload attempts: http://books.sonatype.com/nexus-book/reference/using-sect-feeds.html this should help identify what exactly happened from the perspective of the server > > -----Ursprüngliche Nachricht----- > Von: Martin Gainty [mailto:mgai...@hotmail.com] > Gesendet: Donnerstag, 19. März 2015 02:04 > An: users@maven.apache.org (mailto: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 > sh>netstat -a > netstat_before.log > run command > sh>mvn -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 (mailto:k...@quipsy.de) > > To: users@maven.apache.org (mailto: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 > > (mailto: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 KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK > > 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 > (mailto:users-unsubscr...@maven.apache.org) > For additional commands, e-mail: users-h...@maven.apache.org > (mailto:users-h...@maven.apache.org) > >