cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Not able to select maven archetype

maheswara
New Contributor

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.

2 ACCEPTED SOLUTIONS

ddellsperger
Employee
Employee

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.

View solution in original post

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.

View solution in original post

10 REPLIES 10

ddellsperger
Employee
Employee

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.

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.

maheswara_0-1697609213733.png

 

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.

Hi @ddellsperger

I am using same command.