-
Notifications
You must be signed in to change notification settings - Fork 0
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
mvn install does not complete using the latest version of Maven 3.8, stalls requesting ctakes module #6
Comments
This is not good. |
what about this option? |
That sounds good. Another problem might occur if they have settings in their regular settings.xml that allow tunneling through a firewall or something like that. I have something special in mine. However, I think that chances of that kind of problem are low and we could handle special cases separately - maybe a comment at the bottom of a readme or something with an indication of what we are doing. |
Ok, some strange stuff:
|
And ... right now I am building with maven 3.8.2 and no errors, http or otherwise. |
Hmmm I was on a clean machine…did you clear your .m2 directory? I assume you did but just checking.
… On Sep 30, 2021, at 5:05 PM, seanfinan ***@***.***> wrote:
And ... right now I am building with maven 3.8.2 and no errors, http or otherwise.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I did clear .m2 of everything under ctakes. It took a long time to grab the jars but it did get them - from the https area. |
I let the process run for and hour just to see if it would complete. Then I killed it. I’ll investigate more tomorrow.
… On Sep 30, 2021, at 6:38 PM, seanfinan ***@***.***> wrote:
I did clear .m2 of everything under ctakes. It took a long time to grab the jars but it did get them - from the https area.
Did you see it fail or did you just see those warnings? When clean, that mirror will attempt to use http for externals. Why it tries that first is beyond me. However, after that fails it will go through an https and get the poms and jars.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
So I let it run all night and the process never finished with v3.8.1., I set MAVEN_HOME back to v3.8.2 and seems like I'm getting the same issue. Versions 3.3 and 3.6 work, strangely, on the same machine. That was all on my Windows machine. I just verified that 3.8.2 builds just fine on the Mac. I'm going to close this and reopen it if there is something we need to do or if it's just a "lucky" machine configuration that I stumbled upon. |
Maven 3.8 added some extra security to block non-https resource downloads by default. On my Windows machine, this resulted in a never-ending wait for a jar from http://0.0.0.0/ when building the project. This occurs when trying to download a ctakes resource.
Screenshot:
I researched some fixes. The solutions are:
Regarding the last option, I looked through the poms and didn't find any calls to non-https resources but I will have to look again.
Here is a stack overflow thread on this issue:
https://stackoverflow.com/questions/66980047/maven-build-failure-dependencyresolutionexception
I tested Maven 3.3, 3.6. and 3.8. 3.8 is the release the build breaks.
The text was updated successfully, but these errors were encountered: