Skip to content
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

Artifact on Maven Central is broken #62

Open
pinusc opened this issue Aug 28, 2018 · 2 comments
Open

Artifact on Maven Central is broken #62

pinusc opened this issue Aug 28, 2018 · 2 comments

Comments

@pinusc
Copy link

pinusc commented Aug 28, 2018

The artifact of the project currently published on Maven Central is broken and can't be checked out automatically with dependency management systems. The Jar file can, however, be manually downloaded.

The POM of the artifact org.fnlp.fnlp-core contains the following parent tag:

org.fnlp fnlp-all 2.1-SNAPSHOT ../pom.xml

However, there is no artifact called fnlp-all in Maven Central.
It is therefore not possible to use it as a managed dependency; the download will fail.

Solution

I believe the simplest solution would be to re-publish the artifact removing the tag altogether.

Effect

When using the following snippet with Leiningen:

[org.fnlp/fnlp-core "2.1"]

and running lein deps, the build fails with the following message:

Retrieving org/fnlp/fnlp-core/2.1/fnlp-core-2.1.pom from central
Retrieving org/fnlp/fnlp-core/2.1/fnlp-core-2.1.jar from central
Could not find artifact org.fnlp:fnlp-all:pom:2.1-SNAPSHOT in clojars (https://repo.clojars.org/)

A workaround is to download the jar manually; however, this makes production deployment impossible in my environment.

@davidrolle
Copy link

I have the same problem. It's impossible to use fnlp-core 2.1 in a Maven project because of the broken pom file referring to a parent project which does not exist.

@orxvan
Copy link

orxvan commented Jan 25, 2022

fnlp-all.zip
You can uzip the fnlp-all.zip,and save to ~/.m2/repository/org/fnlp/fnlp-all/2.1-SNAPSHOT,it works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants