在maven原型中公爵年龄在哪里?每第一杯JEE7 [英] where is dukes-age in maven archetype? per first cup of JEE7

查看:198
本文介绍了在maven原型中公爵年龄在哪里?每第一杯JEE7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我关注了EJB的



虽然它也似乎随着玻璃鱼本身出货。


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 and supporting projects to your local Maven repository.

In NetBeans IDE select File, then Open Project, navigate to tut-install/, 
select example, deselect the Open Required Projects check box, and click
Open Project.

Right-click the firstcup project in the Projects pane and select Build.

Only I don't see tut-install, and this seems to be the only reference to tut-install...

While I have, I think, installed maven, I don't see dukes-age:

Create the Project in NetBeans IDE 
    From the File menu, select New Project.
    Under Categories, select Maven.
    Under Projects, select Project from Archetype.
    Click Next.
    In the Search field, enter dukes-age.
    In the Known Archetypes field, select dukes-age-archetype.
    Click Next.
    In the Project Name field, enter dukes-age.
    In the Package field, enter firstcup.dukesage.resource.
    Click Finish.

When browsing archetypes, I see:

why doesn't the dukes-age project show up?

解决方案

it's available here:

https://java.net/downloads/glassfish-samples/

although it also seems to ship with glassfish itself.

这篇关于在maven原型中公爵年龄在哪里?每第一杯JEE7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆