-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
No sources in maven-central for guice-4.1.0-no_aop.jar #1073
Comments
The source is there: http://central.maven.org/maven2/com/google/inject/guice/4.1.0/guice-4.1.0-sources.jar The same source is used to build both the classic and no-AOP versions: https://github.com/google/guice/wiki/OptionalAOP#building-guice-without-aop it's just that the no-AOP build uses the munge preprocessor to remove all bytecode-dependent APIs. Munge preserves line-numbering so if you load that source into an IDE for debugging purposes the line-numbers will still match, regardless of which binary you're debugging. |
Ok, problem is IDEA and sbt does not pull sources by default as they rely on naming conventions. |
They don't let you override this and choose a different source? Most IDEs will let you tell them where the source is. |
They do, if sources are already downloaded. But to download them, one have to import "full" guice first or wget them manually. Just inconvenient. I suggest to upload guice sources twice under different names - for |
@mcculls Pls, I use your help, thanks. |
Still facing this issue on IDEA IntelliJ for com.google.inject:guice:5.0.1. Is there any workaround for this?
|
uhhh there is no such jar, for v5, also - no more need for it |
is there any solutions for this ? |
Have the same issue :( And looks like still no solution |
You won't find https://github.com/google/guice/wiki/Guice501#guice-core
If your build is attempting to download |
I can reproduce this issue with the hyper-simplified |
@martinda TestNG 7.1.0 (a transitive dependency of groovy-all:3.0.5) declares a dependency on the old https://repo1.maven.org/maven2/org/testng/testng/7.1.0/testng-7.1.0.pom Gradle sees that dependency and aligns its version with the version applied to other https://repo1.maven.org/maven2/org/testng/testng/7.5/testng-7.5.pom You can update the transitive version of TestNG with the following change to your
|
@mcculls Thanks! I just discovered exactly that myself. Nice to have some confirmation. I had to write a |
@mcculls how did you find out? What command did you type that told you it was caused by testng? |
I wrote this gist and it tells me what brings the |
Hi @martinda - I just used I then took a closer look at dependencies pulling in guice 4.x (looking at their |
According to google/guice#1073 To disable bytecode generation, use the new -Dguice_bytecode_gen_option=DISABLED flag. When disabled, ASM & AOP-related code will still be linked into Guice, but will not be used.
Hi, I am facing the same issue.
Searched in the following locations:
|
http://central.maven.org/maven2/com/google/inject/guice/4.1.0/
The text was updated successfully, but these errors were encountered: