I had an issue trying to create a plugin one. I has a settings.xml in my ~/.m2 folder. If you've got a settings.xml file, I wonder if it can be causing the issue you are encountering. Back it up, remove it, and see if you can build.
--- "What we can or cannot do, what we consider possible or impossible, is rarely a function of our true capability. It is more likely a function of our beliefs about who we are." - Tony Robbins On Thu, Jan 3, 2019 at 3:24 PM Slide <slide.o....@gmail.com> wrote: > It could be your bad luck, I have never had the same issues you are > having. I just imported the top level directory into IntelliJ IDEA as a > Maven project and it worked flawlessly for me. > > On Thu, Jan 3, 2019 at 1:19 PM Gerry Storm <gstorm1...@gmail.com> wrote: > >> I'm a bit surprised. jenkins is widely used and it looks looks like there >> are tons of contributors. I assumed it would be a breeze to build it from >> the source. I wonder if this is just my bad luck? >> >> On Thu, Jan 3, 2019 at 12:08 PM Gerry Storm <gstorm1...@gmail.com> wrote: >> >>> I have tried inlelliji and still got one error when building projects: >>> Error:(26, 25) java: package hudson.cli.client does not exist >>> >>> in cli/src/main/java/hudson/cli/CLI.java at "import >>> hudson.cli.client.Messages;" >>> >>> >>> >>> On Thu, Jan 3, 2019 at 8:56 AM Jan Monterrubio <janmonterru...@gmail.com> >>> wrote: >>> >>>> I personally use intellij idea, since it lets you import a project ( >>>> and if it is maven it will wire things up on its own). >>>> >>>> https://blog.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/ >>>> >>>> >>>> On Thu, Jan 3, 2019 at 10:55 AM Gerry Storm <gstorm1...@gmail.com> >>>> wrote: >>>> >>>>> Thank you all very much. I am not particularly fond of Eclipse per se. >>>>> I have used it in the past and it was my first choice. If you think Apache >>>>> NetBeans or IntelliJ IDEA are better I will switch to one of those. Which >>>>> one would you recommend and are there instructions available I could >>>>> follow? >>>>> >>>>> On Thu, Jan 3, 2019 at 5:17 AM Steffen Elste <steffen.el...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> after i modified the pom.xml of the *cli* project to include >>>>>> >>>>>> <plugin> >>>>>> <groupId>org.codehaus.mojo</groupId> >>>>>> <artifactId>build-helper-maven-plugin</artifactId> >>>>>> <version>3.0.0</version> >>>>>> <executions> >>>>>> <execution> >>>>>> <id>add-source</id> >>>>>> <phase>generate-sources</phase> >>>>>> <goals> >>>>>> <goal>add-source</goal> >>>>>> </goals> >>>>>> <configuration> >>>>>> <sources> >>>>>> >>>>>> <source>${project.build.directory}/generated-sources/localizer</source> >>>>>> </sources> >>>>>> </configuration> >>>>>> </execution> >>>>>> </executions> >>>>>> </plugin> >>>>>> >>>>>> >>>>>> and re-imported everything the build path is set up correctly. >>>>>> Cheers, >>>>>> >>>>>> Steffen >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Jenkins Users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to jenkinsci-users+unsubscr...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/jenkinsci-users/46b79a6d-78d1-48f5-b1dd-8798eb82a9bc%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/46b79a6d-78d1-48f5-b1dd-8798eb82a9bc%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 Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to jenkinsci-users+unsubscr...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZycn1-AO%2BrC5KhRi_QJwfJtxXzZdjrvs9-9kcjf5p2rjbNw%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZycn1-AO%2BrC5KhRi_QJwfJtxXzZdjrvs9-9kcjf5p2rjbNw%40mail.gmail.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 Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to jenkinsci-users+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LAebb%2B-0tXsf2Vx5uCeKO0c7Rj4Ze8-uNiZCGpDtoS0A%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LAebb%2B-0tXsf2Vx5uCeKO0c7Rj4Ze8-uNiZCGpDtoS0A%40mail.gmail.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 Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZyc%3DOS1WdsNQS-fScq0ukj0r-dfSWSoO3%2BBG1T92aCChKRw%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZyc%3DOS1WdsNQS-fScq0ukj0r-dfSWSoO3%2BBG1T92aCChKRw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Website: http://earl-of-code.com > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdsU%3D1GOtQwjC43YuwpDBEN_eE60_TLkYfUHXuf1pOsnA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdsU%3D1GOtQwjC43YuwpDBEN_eE60_TLkYfUHXuf1pOsnA%40mail.gmail.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 Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPeymocN75BcRZSnbk5s0g5Lo3jTxCQ_KopPFWq8f_ueNM4mYw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.