gradle - nexus proxy not working -


i configured nexus proxy repository nexus repository group. when start gradle build expected nexus initiate download of requested artifacts. in debug log found sth.

org.sonatype.nexus.proxy.maven.maven2.m2repository - resourcestorerequest{requestpath='/com.mycompany/myartifact/, requestcontext=requestcontext{this=org.sonatype.nexus.proxy.requestcontext@585fb59, parent=null}, pathstack=[/repositories/nn01/com.mycompany/myartifact/], processedrepositories=[nn01], appliedmappings={}} :: localonly=true, remoteonly=false, asexpired=false, proxymode=allow

there no request @ proxy target. remote browsing in ui working. repository not blocked.

i have no idea, i'm doing wrong. why request localonly flag prevents server download artifact remote repository?

important note. use gradle builds. found resolving ivy dependencies on proxied repository gradle leads missing resources. there no answer now.

thanks help!

i solved problem. dependency com.mycompany/myartifact:2.+ in settings.gradle. not possible directory listing on nexus proxy repository. replaced wildcard right version , works.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -