diffplug / goomph

IDE as build artifact
Apache License 2.0
130 stars 30 forks source link

HTTP 404 when running :ideSetupP2 #206

Open vmgbrown opened 1 year ago

vmgbrown commented 1 year ago

I am in the process of migrating a project from net.ltgt.apt-eclipse to com.diffplug.eclipse.apt, and I'm running into an issue when running the :ideSetupP2 task:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ideSetupP2'.
> http://<hostname>:8081/nexus/repository/goomph-p2-bootstrap//goomph-p2-bootstrap-4.7.2.zip
  received http code 404

I do have this asset, but it's at a different path:

http://<hostname>:8081/nexus/repository/thirdparty/com/diffplug/gradle/goomph-p2-bootstrap/4.7.2/goomph-p2-bootstrap-4.7.2.zip

Is there a way to configure which path the plugin uses?

vmgbrown commented 1 year ago

FWIW, I was able to resolve the issue by rolling back to version 3.24.0. I had previously tried 3.36.2 and 3.26.1.

nedtwigg commented 1 year ago

Hmm.. net.ltgt.apt-eclipse -> com.diffplug.eclipse.apt shouldn't be using ideSetupP2 at all.

Is there a way to configure which path the plugin uses?

https://github.com/diffplug/goomph/blob/d3aea147179056c16e5e7aa085c5b0bd56b0e043/src/main/java/com/diffplug/gradle/GoomphCacheLocations.java#L29-L48