Using ${packaging.type} as value for packaging element in pom.xml of 0.9.11 prevents usage with sbt / ivy
See original GitHub issueThe 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:
[warn] [FAILED ] org.reflections#reflections;0.9.11!reflections.${packaging.type}: (0ms)
[warn] ==== local: tried
[warn] /home/user/.ivy2/local/org.reflections/reflections/0.9.11/${packaging.type}s/reflections.${packaging.type}
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/reflections/reflections/0.9.11/reflections-0.9.11.${packaging.type}
[warn] ==== typesafe-releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/reflections/reflections/0.9.11/reflections-0.9.11.${packaging.type}
[warn] ==== typesafe-ivy-releasez: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.reflections/reflections/0.9.11/${packaging.type}s/reflections.${packaging.type}
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.reflections#reflections;0.9.11!reflections.${packaging.type}
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How can I resolve a dependency in sbt that has a different ...
In my example, I need to resolve a dependency whose artifacts don't have the conventional jar as the packaging type, but rather maven-plugin...
Read more >POM Reference - Maven
The current core packaging values are: pom , jar , maven-plugin , ejb , war , ear , rar . These define the...
Read more >sbt Reference Manual — Library dependencies
Library dependencies. This page assumes you've already read the earlier Getting Started pages, in particular build definition, scopes, and task graph.
Read more >Untitled
GA-dist.tar.gz apiviz.spec adobe-flash.xml appstream-data.spec fedora-32-icons.tar.gz ... jbig2dec-Use-correct-define-for-maxium-value-of-type.patch ...
Read more >kie-parent : 7.32.0.Final - Maven Central Repository Search
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Found another workaround for sbt, adding this line to
build.sbt
helps:@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.