I\'m following the JEE7 first cup directions for EJB:
Before you can create applications based on the archetypes, you must first install the archetypes
A bit old topic.
Not sure is it a bug or not but building First Cup project/module from intellij doesn't create any maven archetype for me. I followed following steps to get the maven dukes-age archetype.
Install IntelliJ Maven Archetype Catalog plugin https://plugins.jetbrains.com/plugin/7965-maven-archetype-catalogs
Run mvn clean install
from First Cup root. It will create archetype-catalog.xml
in maven repository root directory
Add the xml path to Maven Archetype Catalog. File -> Settings -> Build execution, Deployment -> Build tools -> Maven Archetype Catalog
Now org.glassfish.docs:*
archetype should appear