Unable to download dependency org.codehaus.jackson:jackson-core-asl for version [1.9.13]

687 views
Skip to first unread message

Davide Pallaoro

unread,
Apr 15, 2019, 7:18:09 PM4/15/19
to jackson-user

Hi there,

I wite you because I am having some issue with maven and jackson-core-asl dependency, and I hope you can help me.


Since this morning (15/4/2019) we are having problems in our CI because of the following error :


Failed to collect dependencies at org.codehaus.jackson:jackson-core-asl:jar:[1.9.13,1.9.13]: No versions available for org.codehaus.jackson:jackson-core-asl:jar:[1.9.13,1.9.13] within specified range -> [Help 1]


As long as it was happening in a big maven project, I’ve created the following mini pom.xml in order to figure out what was happening.


<?xml version="1.0" encoding="UTF-8"?>
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.davide</groupId>
    <artifactId>davide-test</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <name>my-app</name>
    <dependencies>
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-core-asl</artifactId>
            <version>[1.9.13]</version>
        </dependency>
    </dependencies>
</project>


If you run mvn clean install against the previous pom , you will receive the aftermentioned error.


I am using the following maven configuration

$ mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: /home/davide.pallaoro/.sdkman/candidates/maven/current
Java version: 1.8.0_171, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8.0.171-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name
: "linux", version: "3.10.0-957.10.1.el7.x86_64", arch: "amd64", family: "unix"


And I have no custom configuration in $HOME/.m2/settings.xml The file doe not exist in my machine, so I am using the pulic repos without any proxy


But if you change the version from [1.9.13] to 1.9.13 or to [1.9.9] and run mvn clean install this will work correctly.


So it works when version is :

1.9.13

1.9.12

1.9.11

[1.9.11]

1.9.10

[1.9.10]

1.9.9

[1.9.9]


And it dos not work when version is :

[1.9.13]

[1.9.12]


It seems that this problem started on Monday, because on Friday we did not have those build problems and the project which I am working did not change in the last days.


Do you know if something has changed in the last few days about Jackson artifact in the public maven repos?


Many thanks for reading this and for your help, let me know in case you need any clarification.


Kind regards.


Tatu Saloranta

unread,
Apr 15, 2019, 7:27:25 PM4/15/19
to jackson-user
No -- I have not done anything wrt these versions in years -- 1.9.13
was released 6 years ago. I don't even have working mechanism for
releasing new 1.9.x versions.

My only guess is that either Sonatype's Maven Central has changed
something, or, perhaps someone has released differently built version
on one of other bigger Maven repos, since:

https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-mapper-asl

lists 8 other repos that might be accessed, depending on settings you
have for build.

> Many thanks for reading this and for your help, let me know in case you need any clarification.

Unfortunately I don't really have good suggestions to give. Maybe
others can think of something.

-+ Tatu +-

Davide Pallaoro

unread,
Apr 16, 2019, 4:42:28 AM4/16/19
to jackso...@googlegroups.com
Thank you very much for your reply.
It seems that is a maven related issue. And for that I've posted the question on Stackoverflow https://stackoverflow.com/questions/55693742/unable-to-download-dependency-org-codehaus-jacksonjackson-core-asl-for-version

It is strange that in the central does not show any date for the two versions that fails if exact [1.9.12] and [1.9.13]

Thank you agiain for you reply. Let's see If I got some response in stackoverlow.

Kind regards

--
You received this message because you are subscribed to the Google Groups "jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user...@googlegroups.com.
To post to this group, send email to jackso...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages