Thanks alot now i want to debugs the hello world plugin to jenkins using eclipse i run this command as in documentation mvnDebug hpi:run this error message appear in the command line Listening for transport dt_socket at address: 8000 Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expect ed >JDWP-Handshake< i read that i must set debugger option in eclipse to port 8000 but i do not know how to do that , so please help. thank you again. On Sunday, September 17, 2017 at 5:17:12 PM UTC+2, slide wrote: > > If you haven't executed maven before, then the .m2 directory probably > won't exist. You can create the .m2 directory in the %USERPROFILE% > directory, %USERPROFILE% is a variable, you can put it into Windows > Explorer or the command line and it will resolve to the correct location > (e.g., in the command line you can run dir %USERPROFILE% and it will list > the contents of the actual directory where the user profile is located). > > For the second item, it looks like you aren't inside the directory where > your plugin resides. You need to cd to that directory and then run the > command. > > On Sun, Sep 17, 2017 at 8:10 AM Amr Osama <[email protected] > <javascript:>> wrote: > >> First of all i want to create a jenkins plugin using eclipse having mvn >> 3.5 installed and jenkins 1.651.3 , and i just went throw you documentation >> , i cant find the first step which says >> to put some code in this path (Windows users will find them in >> %USERPROFILE%\.m2\settings.xml), >> i cant find this path , secondly the step after is to write this command $ >> mvn -DdownloadSources=true -DdownloadJavadocs=true >> -DoutputDirectory=target/eclipse-classes >> -Declipse.workspace=/path/to/workspace eclipse:eclipse >> eclipse:configure-workspace it gives me error which i will copy now >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-eclipse-plugin:2.1 >> 0:eclipse (default-cli): Goal requires a project to execute but there is >> no POM >> in this directory (C:\Users\aelmetwa). Please verify you invoked Maven >> from the >> correct directory. -> [Help 1] >> so please if any body know the solution for this issue please answer. >> P.S i am new to windows OS. >> Thank you. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/63164a7d-b4f6-4150-a683-8c1b6afa7c51%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/63164a7d-b4f6-4150-a683-8c1b6afa7c51%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/45dbcf85-b5be-475b-9c37-046e14d53e12%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
