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

'502 Bad Gateway' error on http://maven.icm.edu.pl/artifactory/repo #106

Open
ssemerikov opened this issue Jan 3, 2022 · 4 comments
Open

Comments

@ssemerikov
Copy link

ssemerikov commented Jan 3, 2022

At the moment, it is impossible to build CERMINE in a simple way due to ICM repository seems to be offline ('502 Bad Gateway' error). Unfortunately, I can't download precompiled cermine-impl-1.13-jar-with-dependencies.jar from https://maven.ceon.pl/artifactory/repo/pl/edu/icm/cermine/cermine-impl/1.13/ (directory list is available at Google cache - https://tinyurl.com/2p8thu6a). CERMINE is definitely recommended by Crossref as the best tool for reference extracting, so if anyone has the opportunity to share this file with me or publicly in the cloud, I would be very grateful.

@madryk
Copy link
Collaborator

madryk commented Jan 4, 2022

Hi! Thanks for noticing. It should be fine now. Could you try again and check if everything is fine now?

@decouples
Copy link

Downloading from yadda: http://maven.icm.edu.pl/artifactory/repo/edu/umass/cs/mallet/mallet/0.1.3/mallet-0.1.3.pom
Downloading from yadda: http://maven.icm.edu.pl/artifactory/repo/edu/umass/cs/mallet/grmm-deps/0.1.3/grmm-deps-0.1.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.034 s
[INFO] Finished at: 2022-05-14T18:17:10+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cermine-impl: Could not resolve dependencies for project pl.edu.icm.cermine:cermine-impl:jar:1.14-SNAPSHOT: Failed to collect dependencies at edu.umass.cs.mallet:mallet:jar:0.1.3: Failed to read artifact descriptor for edu.umass.cs.mallet:mallet:jar:0.1.3: Could not transfer artifact edu.umass.cs.mallet:mallet:pom:0.1.3 from/to yadda (http://maven.icm.edu.pl/artifactory/repo): Transfer failed for http://maven.icm.edu.pl/artifactory/repo/edu/umass/cs/mallet/mallet/0.1.3/mallet-0.1.3.pom 400 Bad Request -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

@deckeraa
Copy link

deckeraa commented Jan 6, 2023

I think this is the same issue as #111 , the root cause is that http://maven.icm.edu.pl/artifactory/repo fails because it tries to redirect to HTTPS, but https://maven.icm.edu.pl/artifactory/repo has a misconfigured SSL cert.

@deckeraa
Copy link

deckeraa commented Jan 6, 2023

Workaround:

Use the jar-with-dependencies classifier to download the jar with dependencies included and therefore avoid the issue with dependencies.
The maven for this looks like:

<dependency>
    <groupId>pl.edu.icm.cermine</groupId>
    <artifactId>cermine-impl</artifactId>
    <version>1.13</version>
    <classifier>jar-with-dependencies</classifier>
</dependency>

(which I got from https://maven.ceon.pl/artifactory/webapp/#/artifacts/browse/simple/General/kdd-releases/pl/edu/icm/cermine/cermine-impl/1.13/cermine-impl-1.13-jar-with-dependencies.jar)

For those using Clojure: The relevant portion of my lein project.clj looks like:

:dependencies [[org.clojure/clojure "1.10.0"]
                 [pl.edu.icm.cermine/cermine-impl "1.13" :classifier "jar-with-dependencies"
                  :exclusions [edu.umass.cs.mallet/mallet
                               edu.umass.cs.mallet/grmm-deps]]]
:repositories [["cermine-repo" "https://maven.ceon.pl/artifactory/kdd-releases/"]]

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

4 participants