[JIRA] (JENKINS-58040) listing of available archetypes not wokring

6 views
Skip to first unread message

domi@fortysix.ch (JIRA)

unread,
Jun 17, 2019, 4:36:02 AM6/17/19
to jenkinsc...@googlegroups.com
Dominik Bartholdi created an issue
 
Jenkins / Bug JENKINS-58040
listing of available archetypes not wokring
Issue Type: Bug Bug
Assignee: Unassigned
Components: archetypes
Created: 2019-06-17 08:35
Environment: platypus:tmp domi$ mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
Maven home: /Users/domi/.sdkman/candidates/maven/current
Java version: 1.8.0_121, vendor: Oracle Corporation, runtime: /Users/domi/.sdkman/candidates/java/8u121/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"
Priority: Minor Minor
Reporter: Dominik Bartholdi

The documentation at https://github.com/jenkinsci/archetypes explains the following command to list all currently released jenkins archetypes:

platypus:tmp domi$ mvn archetype:generate -Dfilter=io.jenkins.archetypes:
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:3.1.0:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:3.1.0:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO] 
[INFO] 
[INFO] --- maven-archetype-plugin:3.1.0: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:  1.840 s
[INFO] Finished at: 2019-06-17T10:24:38+02:00
[INFO] ------------------------------------------------------------------------
platypus:tmp domi$ 

unfortunate it does not show any result, either there are no archetypes published or something else is broken.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

domi@fortysix.ch (JIRA)

unread,
Jun 17, 2019, 4:55:01 AM6/17/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Jun 17, 2019, 8:58:03 AM6/17/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Cannot Reproduce
 
$ docker run -ti --rm --name mvn maven:3.6.1-jdk-8 mvn -ntp archetype:generate -Dfilter=io.jenkins.archetypes:
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:3.1.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:3.1.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO] 
[INFO] 
[INFO] --- maven-archetype-plugin:3.1.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: remote -> io.jenkins.archetypes:empty-plugin (Skeleton of a Jenkins plugin with a POM and an empty source tree.)
2: remote -> io.jenkins.archetypes:global-configuration-plugin (Skeleton of a Jenkins plugin with a POM and an example piece of global configuration.)
3: remote -> io.jenkins.archetypes:global-shared-library (Uses the Jenkins Pipeline Unit mock library to test the usage of a Global Shared Library)
4: remote -> io.jenkins.archetypes:hello-world-plugin (Skeleton of a Jenkins plugin with a POM and an example build step.)
5: remote -> io.jenkins.archetypes:scripted-pipeline (Uses the Jenkins Pipeline Unit mock library to test the logic inside a Pipeline script.)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 

Maybe check your ~/.m2/settings.xml?

Change By: Jesse Glick
Status: Open Resolved
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages