where is dukes-age in maven archetype? per first cup of JEE7

后端 未结 5 2008
梦如初夏
梦如初夏 2021-01-22 14:07

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

5条回答
  •  时光取名叫无心
    2021-01-22 15:06

    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.

    1. Install IntelliJ Maven Archetype Catalog plugin https://plugins.jetbrains.com/plugin/7965-maven-archetype-catalogs

    2. Run mvn clean install from First Cup root. It will create archetype-catalog.xml in maven repository root directory

    3. 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

提交回复
热议问题