Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Dependency 403 #1

Open
GooseMonkey opened this issue May 4, 2016 · 4 comments
Open

Build Dependency 403 #1

GooseMonkey opened this issue May 4, 2016 · 4 comments

Comments

@GooseMonkey
Copy link

Hi, it appears that the MapWriter dependency for building this mod is returning a 403.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not resolve vectron:MapWriter:1.7.10-2.1.3.
  Required by:
      vectron:MapwriterEntityRadar-master:1.7.10-0.3.0
   > Could not GET 'https://libraries.minecraft.net/vectron/MapWriter/1.7.10-2.1.3/MapWriter-1.7.10-2.1.3.pom'. Received status code 403 from server: Forbidden

I can't tell if this mod is abandoned, but it would appear that the parent mod is not, and I would really like to add this little mod to my server! If this mod could be either updated to align with current dependencies, or a pre-compiled JAR posted, my players and I would be very happy. Thank you :)

@Vectron
Copy link
Owner

Vectron commented May 4, 2016

it's not realy abandond, i just dont play modded myself atm so didnt borther with updating it (it's not officially released :P)

i will update it (prob) this weekend and make a curse release for it.

@rosshadden
Copy link

rosshadden commented Jun 23, 2016

I ran the sourceJar task without getting any errors. However the resulting jar file did seem to be loaded by minecraft.

Update:

I do get an error when running the devJar task, which is very similar to the one in the OP, so this must be what @GooseMonkey was running.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not resolve vectron:MapWriter:1.7.10-2.1.3.
  Required by:
      vectron:MapwriterEntityRadar:1.7.10-0.3.0
   > Could not resolve vectron:MapWriter:1.7.10-2.1.3.
      > Could not get resource 'https://libraries.minecraft.net/vectron/MapWriter/1.7.10-2.1.3/MapWriter-1.7.10-2.1.3.pom'.
         > Could not GET 'https://libraries.minecraft.net/vectron/MapWriter/1.7.10-2.1.3/MapWriter-1.7.10-2.1.3.pom'. Received status code 403 from server: Forbidden

I also tried changing build.properties to match the mod_version of MapWriter defined in it's own build.properties file on the 1.7.10 branch, but no luck:

# dependicies=vectron:MapWriter:1.7.10-2.1.10:dev
dependicies=vectron:MapWriter:1.7.10-2.1.10:dev

@Vectron
Copy link
Owner

Vectron commented Jun 23, 2016

the dependency in the build script was on a local maven repo. so if you try and get it from somewhere else then my dev environment it would break.

you can remove the dependicy line from the script and add the mapwriter dev jar as a library (look at the 1.9 branch i already moved the dependency out of the build script)

@rosshadden
Copy link

@Vectron Moving the MapWriter jar file into libs and removing it from bulid.properties made the mod compile. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants