I want to use UIM Probe SDK 2.5.0 to develop a custom probe.
I installed Java, Maven, and the Probe SDK by following the docops website.
Now the issue is, when I try to use command "mvn archetype:generate -DarchetypeCatalog=local" to create a new project,
I get an error that there is no archetype defined.
Improper setup of the Maven environment
by checking your referred KB
For detail, I used the option "-X" to get debug info, whole command is "mvn archetype:generate -DarchetypeCatalog=local -X".
The output showed maven used file <user.home>/.m2/repository/archetype-catalog.xml, but it was not there.
In fact, the file is in <user.home>/.m2/archetype-catalog.xml.
copy the file to folder <user.home>/.m2/repository/, then run the command again, it works.
Other search links: