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

Pax Exam IT does not use https for Maven Central #1443

Closed
elizoller opened this issue Feb 19, 2020 · 10 comments
Closed

Pax Exam IT does not use https for Maven Central #1443

elizoller opened this issue Feb 19, 2020 · 10 comments

Comments

@elizoller
Copy link
Member

When building Alpaca with.gradlew clean build an HTTPSRequired error occurs.

java.io.IOException: Error resolving artifact org.apache.karaf:apache-karaf:zip:4.0.6: Could not transfer artifact org.apache.karaf:apache-karaf:zip:4.0.6 from/to central (http://repo1.maven.org/maven2/): Failed to transfer file: http://repo1.maven.org/maven2/org/apache/karaf/apache-karaf/4.0.6/apache-karaf-4.0.6.zip. Return code is: 501 , ReasonPhrase:HTTPS Required.
@whikloj
Copy link
Member

whikloj commented Feb 20, 2020

After all my work I final just asked on the listserv....and apparently this is a known issue that was just resolved. I'll update our Pax-Exam dependency and hopefully we are back on track.

https://groups.google.com/d/topic/ops4j/pJ98QaBVPfE/discussion

@whikloj
Copy link
Member

whikloj commented Feb 20, 2020

Actually, we'll need to wait for 4.14.0 to be released. So I am going @Ignore this test for the time being.

@elizoller
Copy link
Member Author

I proposed in the PR keeping a ticket open as a reminder that Pax Exam will need to be updated - is it ok to keep this ticket open or would it be better to close this one and open a new one related specifically to pax exam?

@dannylamb
Copy link
Contributor

dannylamb commented Feb 21, 2020 via email

@elizoller elizoller changed the title Unable to build Alpaca Pax Exam IT does not use https for Maven Central Feb 21, 2020
@whikloj
Copy link
Member

whikloj commented Feb 21, 2020

4.13.2 was released today. I'll give it a try on Monday (if I remember).

@elizoller
Copy link
Member Author

thats convenient

@dannylamb
Copy link
Contributor

I'm giving this a whirl right now. I'll report back.

@dannylamb
Copy link
Contributor

4.13.2 results in

> Task :islandora-karaf:test

Gradle Test Run :islandora-karaf:test > Gradle Test Executor 5 > ca.islandora.alpaca.karaf.KarafIT > classMethod FAILED
    java.lang.RuntimeException: Cannot get the remote bundle context

        Caused by:
        java.rmi.NotBoundException: 40723172-e9b4-4dbe-8ea3-eefb797dd736

Gradle Test Run :islandora-karaf:test > Gradle Test Executor 5 > ca.islandora.alpaca.karaf.KarafIT > executionError FAILED
    java.lang.RuntimeException: Container never came up

2 tests completed, 2 failed

> Task :islandora-karaf:test FAILED

FAILURE: Build failed with an exception.

I have no idea what that means beyond the fact that karaf couldn't spin up. How would I be able to diagnose this further? The HTML report generated just gives me the rest of the stacktrace, and that's it.

@whikloj
Copy link
Member

whikloj commented Mar 5, 2020

Here is discussion thread with the OPS4J mailing list.

https://groups.google.com/d/topic/ops4j/pJ98QaBVPfE/discussion

@dannylamb
Copy link
Contributor

Resolved via Islandora/Alpaca@8c6bc55

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