Weird, works for me, even on a new user account without ~/.m2 directory. Did you previously configure Maven's settings.xml, and that might interfere here? If you're unsure, rename the file ~.m2/settings.xml to anything else (IOW, remove it but keep a backup), and try again.
> On 21. Dec 2018, at 22:29, Bassam Khouri <[email protected]> wrote: > > Hi, > > I'm a complete newbie to Jenkins plugin development, and I'm attempting to > create a new plugin. I'm following the instructions here: > > https://jenkins.io/doc/developer/tutorial/prepare/ > > I have the following java and maven versions installed > > $ java -version > > java version "1.8.0_144" > > Java(TM) SE Runtime Environment (build 1.8.0_144-b01) > > Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) > > $ mvn -version > > Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; > 2018-10-24T14:41:47-04:00) > > Maven home: /usr/local/Cellar/maven/3.6.0/libexec > > Java version: 1.8.0_144, vendor: Oracle Corporation, runtime: > /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre > > Default locale: en_CA, platform encoding: UTF-8 > > OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac" > > > The next step, Creating a Plugin, indicated to run mvn -U archetype:generate > -Dfilter=io.jenkins.archetypes: and indicates I will be presented with an > option of which type of plugin I want to create. However, I encounter the > following: > > $ mvn -U archetype:generate -Dfilter=io.jenkins.archetypes: > > ... > > [INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ > standalone-pom --- > > [INFO] Generating project in Interactive mode > > [INFO] Your filter doesn't match any archetype, so try again with another > value. > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD SUCCESS > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 4.705 s > > [INFO] Finished at: 2018-12-21T16:05:37-05:00 > > [INFO] > ------------------------------------------------------------------------ > > > I have been searching the web for a solution, but nothing I try is > successful. > > What am I doing wrong? > > Bassam > > > -- > 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/69f46c0e-2ebd-4b5e-9166-ae4adb855efb%40googlegroups.com. > 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/537857B7-68D5-41FE-913E-4C1ADCFB3063%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
