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]> 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].
> 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/CAPiUgVdPCUkHTmZO%3DBtJp4i30D9N7DYi%2BYf%2BSwN2vTdiWbqmyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to