-
Notifications
You must be signed in to change notification settings - Fork 310
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
Dependencies excluded in Artifacts #552
Comments
This seems to work for me... Getting those jars:
(full code here) Note that you should filter the artifacts, keeping only those ending in |
@alexarchambault your code does work, which led me to dive deeper into the distinctions. It would seem when I have Ivy2 Local and Cache in my repositories list is when it is dropping the JARs for some reason. Is this by design? If so, why? Finally, is there any way to keep the ivy local and cache while still making this work right? |
@alexarchambault still waiting on a response here...it's keeping me from moving forward on my project. |
I'd recommend not using |
I can get by without using |
@alexarchambault sorry for the delay in coming back around to this. After removing
Does it exclude |
You can ask for a given configuration / scope, by setting the |
Wow, that did the trick. I've been looking for that for weeks now. A better naming that "configuration" might be helpful as I came across that multiple times but dismissed it as irrelevant since it just takes a String and is called "configuration". |
…me-scoped dependencies (fixes bazeltools#156) Otherwise, only compile-scoped dependencies are included. See this comment for details: coursier/coursier#552 (comment)
I'm using the following code to resolve and build a list of files for JARs to load my application:
However, when I attempt to load http://search.maven.org/#artifactdetails%7Cio.youi%7Cyoui-server-example_2.12%7C0.3.4%7Cjar it includes
youi-app
dependencies (resolution.dependencies
) as shown in the Maven dependencies, but when I get the artifacts (resolution.artifacts
) it is not included. Further, when I try to actually load the application it can't find dependencies within that JAR. Something is causingDependencies
to be excluded fromArtifacts
and it's causing serious problems when I try to use this.The text was updated successfully, but these errors were encountered: