10-17-2023 03:23 AM - last edited on 10-18-2023 08:55 AM by dmiller
Hi Team,
when i am creating project for developing custom snap, i am not able to select maven archetype.
even "http://maven.clouddev.snaplogic.com:8080/nexus/content/repositories/master/" this i am not able access i am getting "This site can't reached type of error".
could you please help me in that creating project for custom snap.
Solved! Go to Solution.
10-17-2023 04:44 AM
The URL for the repository updated about 2 years ago to https://snaplogiceng.jfrog.io/artifactory/thirdparty/
. You can see the updated beginning steps on the developer site.
10-18-2023 01:34 PM
you will need to upgrade to java 11 (if you have it installed, you'll need to update JAVA_HOME), but it seems you're either missing the -DarchetypeCatalog=https://snaplogiceng.jfrog.io/artifactory/thirdparty/
at the end, without that, it's using the archetype catalog from maven central.
10-17-2023 04:44 AM
The URL for the repository updated about 2 years ago to https://snaplogiceng.jfrog.io/artifactory/thirdparty/
. You can see the updated beginning steps on the developer site.
10-17-2023 11:07 PM
Hi @ddellsperger ,
Thank you for responding. its working now. but I have one doubt which number I have to choose form below image. could you please help me in this.
10-18-2023 04:47 AM
You will want to make sure that you're using the following command (I'm not able to see the command that you ran, so you might have missed something)
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://snaplogiceng.jfrog.io/artifactory/thirdparty/
Iit's important that you specify the exact version since that is the last version that allows us to override the url of the catalog with a command-line argument.
10-18-2023 08:53 AM