question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JAR can be missing from empty / meta projects

See original GitHub issue

This is a bug in Coursier. When using this dependency:

"io.monix" %% "monix" % "2.2.1"

I get this:

[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) coursier.ResolutionException: 1 not found
[error]   https://repo1.maven.org/maven2/io/monix/monix_2.11/2.2.1/monix_2.11-2.2.1.jar
[error] Total time: 2 s, completed Feb 1, 2017 3:44:02 PM

No JAR is published for io.monix.monix because it’s a meta project that has multiple sub-projects as dependencies. Instead only the POM file is published.

Also you can see that this file specifies a meta project with sub-projects in it because of the packaging specified:

<packaging>pom</packaging>

This is in comparisson with a normal project that does publish a JAR:

<packaging>jar</packaging>

This is a public library, I would really appreciate a fix.

Thanks,

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
alexarchambaultcommented, Feb 28, 2017

This is fixed in the current master. A 1.0.0-M15-2 is about to be released with the fix. Feel free to re-open if you still face this issue.

1reaction
nvartolomeicommented, Feb 8, 2017

@alexarchambault for me it fails for "io.getquill" %% "quill-cassandra" % "1.1.0" which has monix as a transitive dependency.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven2: Missing artifact but jars are in place - Stack Overflow
Try right-clicking on the project and selecting Maven->Update Project Configuration. · Disable then re-enable dependency management (right-click ...
Read more >
Empty space in project path causes error reading MANIFEST ...
It turns out that the first entry in the MANIFEST.MF file found in the startup .jar will be for the project's target/classes directory....
Read more >
Missing ejb-jar.xml deployment descriptor [Closed] - Genuitec
I am getting several warnings about missing ejb-jar.xml files in my META-INF folder withing my EJB projects even though the file is there....
Read more >
Add Maven support to an existing project - JetBrains
You can conclude the following optional steps to create an executable JAR. Click the Build Project icon to build project. IntelliJ IDEA generates...
Read more >
Building applications with Maven - Quarkus
If the type is missing, the artifact is assumed to be of type jar . This parameter is optional, if absent, no optional...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found