stuta01

CA UIM Probe SDK Templates 2.2

Discussion created by stuta01 Employee on Aug 9, 2017

The following question was posted under the Probe SDK Templates 2.2 video on the eduCAte channel:

 

I have an issue that when i am writing this command (mvn archetype:generate -DarchetypeCatalog=local) then cmd show like that Choose archetype:

Your filter doesn't match any archetype (hint: enter to return to initial list) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :

 

Here is the solution provided by Sridhar.Musham@ca.com

There are two cases where user can get this while executing mvn archetype:generate -DarchetypeCatalog=local

 

  1. When user executes install.bat from probe-sdk directory, it places archetype-catalog.xml in C:\Users\{userID}\.m2.

Please try copying archetype-catalog.xml into the directory where user artifacts are being downloaded. (e.g.: C:\Users\{userID }\.m2\repository)

 

  1. User need to provide valid option to select archetype from the following list

 

1: local -> com.nimsoft:remote-probe-pobc-archetype (Template for creating a remote UIM probe with POBC)

2: local -> com.nimsoft:remote-probe-archetype (Template for creating a remote UIM probe)

3: local -> com.nimsoft:local-probe-archetype (Template for creating a local UIM probe)

 

When user is prompted for response. User need to provide valid option

 

Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 3

Define value for property 'groupId': com.ca

 

 

Outcomes