java - Gradle fails to download external dependency from local artifactory which should be downloaded form mavenCentral -


my gradle build fails due error artifactory:

failure: build failed exception.  * went wrong:  not resolve dependencies configuration ':publishservice:compile'. > not resolve org.geotools:gt-wfs:9.0.   required by:        infraview_gradle:publishservice:0-snapshot > net.infraview:infraview_context:0-snapshot       infraview_gradle:publishservice:0-snapshot > net.infraview:infraview_srv_masterdata:0-snapshot > not head 'http://beast:8082/artifactory/libs-snapshot-local/org/geotools/gt-wfs/9.0/gt-wfs-9.0.pom'. received status code 409 server: conflict 

the geotools artifact not in "libs-snapshot-local" - artifactory.

why gradle try download there?

when paste request

http://beast:8082/artifactory/libs-snapshot-local/org/geotools/gt-wfs/9.0/gt-wfs-9.0.pom 

into browser get:

"message" : "the repository 'libs-snapshot-local' rejected artifact 'libs-snapshot-local:org/geotools/gt-wfs/9.0/gt-wfs-9.0.pom' due snapshot/release handling policy." 

why artifactory complain "snapshot release handling policy" although jar isn't in artifactory in first place?

is gradle or artifactory issue?

ok, got it. there repo next "libs-snapshot-release" in artifactory contained jar.

thanks comment.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -