本archetype为了方便创建ejb3的entitybean module而建
使用方法
下载源码后解压至任意文件夹,运行mvn install进行archetype安装
然后可在任意文件夹运行以下命令生成ejb3-entitybean module项目
mvn archetype:create -DarchetypeGroupId=com.mycompany -DarchetypeArtifactId=ejb3-entitybean-maven-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId={你的GroupId} -DartifactId={你的artifactId}
例如
C:\test>mvn archetype:create -DarchetypeGroupId=com.mycompany -DarchetypeArtifactId=ejb3-entitybean-maven-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=test-maven-ejb3-entitybean
本文介绍了一种利用Maven archetype快速创建EJB3 EntityBean模块的方法。通过简单的命令即可完成项目的初始化配置,极大地提高了开发效率。
4546

被折叠的 条评论
为什么被折叠?



