-
-
Notifications
You must be signed in to change notification settings - Fork 700
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
Using ${packaging.type} as value for packaging element in pom.xml of 0.9.11 prevents usage with sbt / ivy #169
Comments
It seems to be a bug / feature in maven that variables aren't replaced into the installed pom file: https://issues.apache.org/jira/browse/MNG-2971 . |
I found an ugly workaround for sbt / ivy. Setting a system property "packaging.type" to "jar" makes the resolution succeed, for example |
Found https://issues.apache.org/jira/browse/SPARK-3812 / apache/spark#2673 which solves a similar problem. It uses a hack to get |
Found another workaround for sbt, adding this line to
|
This might help for the meanwhile: Current 0.9.11 artifact in repo1 is w/o the ${packaging.type} variable (I've pushed it again, bad-bad-bad) |
We've just run into this as well, using the current version of 0.9.11 Ivy can't handle
|
@ronmamo there are some mirrors of the 0.9.11 artefact that still have this issue, which is causing sporadic issues. I am trying to identify them so that I can request that they delete the erroneous artefact, but to ensure that no mirrors or caches still have this issue, I strongly recommend creating a new release and encouraging your dependants to move to latest. |
Looks like JCenter still has the bad POM: https://bintray.com/bintray/jcenter/org.reflections%3Areflections/0.9.11 |
The pom for 0.9.11 seems to be problematic for sbt / ivy.
This is the change to pom.xml that causes the problem.
This is the error message I get:
The text was updated successfully, but these errors were encountered: