I’m trying to deploy the plugins from the Neuroanatomy update site automatically using Travis CI.
I thought everything was working, but there seems to be a problem: The updater halts the upload because it is waiting for input on how to resolve a conflict:
[INFO] Uploading to Neuroanatomy (webdav:Neuroanatomy:<password>:./) File 'jars/ij-1.51n.jar': Is locally modified but a dependency of plugins/hIPNAT_-1.0.8.jar Resolutions: 1 Do not upload jars/ij-1.51n.jar 2 Upload jars/ij-1.51n.jar 3 Break the dependency Resolution?
Did any of you come across a similar issue? Why does the conflict happens in the first place? I’m using the latest pom-scijava 14.0.0 (declaring
ij-1.51h.jar), so I actually don’t get how
ij-1.51n.jar is brought in.
I guess another way to solve this is to pass a resolution option to the
.travis-deploy.sh script. Any suggestions on that?
On a related note: I’ve set the deploy script so that only releases (non-SNAPSHOT) versions would be uploaded:
I’m not sure this is the best way to do so. Any suggestions?