Search code examples
javamavenm2eclipsests-springsourcetoolsuitearchetypes

Eclipse (STS) trying to create appfuse-basic-jsf:RELEASE fails


I am getting really frustrated with this, I have installed the latest STS release from Spring and I am now trying to setup a simple archtype Project based on appfuse-basic-jsf.

By selecting New -> Maven Project -> Select appfuse-basic-jsf out of list

It always fails with the following error message:

Unable to create project from archetype [org.appfuse.archetype:appfuse-basic-jsf:RELEASE]

Under details it states:

The defined artifact is not an archetype

Any help would be greatly appreciated.


Solution

  • Right the problem occurs since the internal STS archetype catalog still references the old archetype names. They have now all got an extension "-archetype"

    The solution I found was to run the script from command line - you can generate it on the following page:

    static.appfuse.org/archetypes.html

    I have also logged the issue in STSes JIRA - hope it will get addressed soon.