fnlp icon indicating copy to clipboard operation
fnlp copied to clipboard

Artifact on Maven Central is broken

Open pinusc opened this issue 6 years ago • 2 comments

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.

pinusc avatar Aug 28 '18 18:08 pinusc

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.

davidrolle avatar Mar 15 '19 13:03 davidrolle

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

orxvan avatar Jan 25 '22 01:01 orxvan