udacity / ud381

Real-Time Analytics with Storm
80 stars 112 forks source link

unable to build the lession1/stage1 #52

Open abhishek120392 opened 4 years ago

abhishek120392 commented 4 years ago

getting this error while running mvn clean, looks like https works here.

Unresolveable build extension: Plugin com.theoryinpractise:clojure-maven-plugin:1.3.12 or one of its dependencies could not be resolved: Failed to collect dependencies for com.theoryinpractise:clojure-maven-plugin:jar:1.3.12 (): Failed to read artifact descriptor for com.theoryinpractise:clojure-maven-plugin:jar:1.3.12: Could not transfer artifact com.theoryinpractise:clojure-maven-plugin:pom:1.3.12 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/theoryinpractise/clojure-maven-plugin/1.3.12/clojure-maven-plugin-1.3.12.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 2]

marwa-algethami commented 4 years ago

same issue

adityarudrawar commented 3 years ago

Did anyone find any solution for this?

adityarudrawar commented 3 years ago

Did anyone find any solution for this?

https://stackoverflow.com/questions/25393298/what-is-the-correct-way-of-forcing-maven-to-use-https-for-maven-central/25411658

I found this solution to work but then another issue Peer not authenticated comes up

dev92 commented 3 years ago

I have also faced this issue and was able to overcome it with following steps, hope this helps: https://github.com/udacity/ud381/blob/ab32782b4797fb1d76c001b97c4eb5ac35808d6d/README.md

dev92 commented 3 years ago

Did anyone find any solution for this?

https://stackoverflow.com/questions/25393298/what-is-the-correct-way-of-forcing-maven-to-use-https-for-maven-central/25411658

I found this solution to work but then another issue Peer not authenticated comes up

You need to pass some maven options to overcome that, you can try referring my PR

adityarudrawar commented 3 years ago

you found the solution for the Peer not authenticated issue? Can you please explain how can I update the settings.xml since everything is through command line interface. Also it seems that one would have to build a new storm command, can you please tell how will I do this in the scope of the project? I am still a beginner in storm. Your help would be great!

dev92 commented 3 years ago

you found the solution for the Peer not authenticated issue? Can you please explain how can I update the settings.xml since everything is through command line interface. Also it seems that one would have to build a new storm command, can you please tell how will I do this in the scope of the project? I am still a beginner in storm. Your help would be great!

You just need to create a settings.xml file, in the path I have mentioned as per the README

Then to compile the storm code, in the course they specify mvn package right?

but in order to overcome peer not authenticated, you can run the mvn package command with additional options as I have specified in the README file

let me know if you face any issues

adityarudrawar commented 3 years ago

Hi, okay now I understood what you mean, I opened the home/vagrant folder but there was no .m2 folder in there. I'll attach a screenshot. So what can I do now? Thank you for your help

[image: m2 not available.png]

On Tue, May 25, 2021 at 10:43 AM Dev Pranav Puchakayala < @.***> wrote:

you found the solution for the Peer not authenticated issue? Can you please explain how can I update the settings.xml since everything is through command line interface. Also it seems that one would have to build a new storm command, can you please tell how will I do this in the scope of the project? I am still a beginner in storm. Your help would be great!

You just need to create a settings.xml file, in the path I have mentioned as per the README

Then to compile the storm code, in the course they specify mvn package right?

but in order to overcome peer not authenticated, you can run the mvn package command with additional options as I have specified in the README file

let me know if you face any issues

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/udacity/ud381/issues/52#issuecomment-847537290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHID7Z5SNTDD7NHKKGDAATTPMWZHANCNFSM4KOYVGJA .

m2 not available

adityarudrawar commented 3 years ago

Hi, It worked now. I just edited the pom.xml file and then ran the additional options you gave. It was a Build Success. Thank you!!

On Tue, May 25, 2021 at 3:08 PM Aditya Rudrawar @.***> wrote:

Hi, okay now I understood what you mean, I opened the home/vagrant folder but there was no .m2 folder in there. I'll attach a screenshot. So what can I do now? Thank you for your help

[image: m2 not available.png]

On Tue, May 25, 2021 at 10:43 AM Dev Pranav Puchakayala < @.***> wrote:

you found the solution for the Peer not authenticated issue? Can you please explain how can I update the settings.xml since everything is through command line interface. Also it seems that one would have to build a new storm command, can you please tell how will I do this in the scope of the project? I am still a beginner in storm. Your help would be great!

You just need to create a settings.xml file, in the path I have mentioned as per the README

Then to compile the storm code, in the course they specify mvn package right?

but in order to overcome peer not authenticated, you can run the mvn package command with additional options as I have specified in the README file

let me know if you face any issues

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/udacity/ud381/issues/52#issuecomment-847537290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHID7Z5SNTDD7NHKKGDAATTPMWZHANCNFSM4KOYVGJA .

dev92 commented 3 years ago

Thats awesome no problem, glad its working now So you did not create the settings.xml file?, in that case can you share the pom.xml file, I can update the README to give that as another option to overcome the http issue.

Thank You :)

adityarudrawar commented 3 years ago

sure, I added

central https://repo1.maven.org/maven2 false central https://repo1.maven.org/maven2 false in pom.xml this forces the http request. If you know, can you please tell how I can create the settings.xml file? OTherwise one would need to edit individual pom.xml files On Tue, May 25, 2021 at 10:21 PM Dev Pranav Puchakayala < ***@***.***> wrote: > Thats awesome no problem, glad its working now > So you did not create the settings.xml file?, in that case can you share > the pom.xml file, I can update the README to give that as another option to > overcome the http issue. > > Thank You :) > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . >
aliosmankaya commented 3 years ago

sure, I added central https://repo1.maven.org/maven2 false central https://repo1.maven.org/maven2 false in pom.xml this forces the http request. If you know, can you please tell how I can create the settings.xml file? OTherwise one would need to edit individual pom.xml files On Tue, May 25, 2021 at 10:21 PM Dev Pranav Puchakayala < @.***> wrote: Thats awesome no problem, glad its working now So you did not create the settings.xml file?, in that case can you share the pom.xml file, I can update the README to give that as another option to overcome the http issue. Thank You :) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#52 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHID73R2XUGRXALPQ6VU6DTPPIS5ANCNFSM4KOYVGJA .

Just follow the commands step by step, it works for me.

https://github.com/udacity/ud381/blob/ab32782b4797fb1d76c001b97c4eb5ac35808d6d/README.md