-
Notifications
You must be signed in to change notification settings - Fork 645
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
alpakka-json-streaming cannot be used from Maven as-is #2338
Comments
I'm afraid sbt can not express this correctly. |
Can we depend on the libraries it points to directly? |
From the looks of it you could do away with the I'll submit a PR. |
Until the PR is merged and a new version is released, you can work around the problem by excluding the erroneous dependency like so:
|
Fixed with #2344, but I'll leave it open for others to find the temporary fix. |
Releasing Alpakka 2.0.2 tomorrow. |
Versions used
2.0.0
Expected Behavior
Adding
akka-stream-alpakka-json-streaming_2.xx
as a Maven dependency works out of the box.Actual Behavior
Given a
pom.xml
like this:Running
mvn verify
from the command line yields this error:[ERROR] Failed to execute goal on project test: Could not resolve dependencies for project test:test:jar:0.0.1-SNAPSHOT: Could not find artifact com.github.jsurfer:jsurfer:jar:1.6.0 in nexus
The issue is that there is no JAR, only a POM. However, in the published
pom.xml
foralpakka-json-streaming
, the dependency oncom.github.jsurfer:jsurfer:jar:1.6.0
is not qualified as apom
dependency, and thus assumed to be a JAR. It is specified here:https://github.com/akka/alpakka/blob/master/project/Dependencies.scala#L301
The text was updated successfully, but these errors were encountered: