spring - 基本 spring hibernate struts2 应用程序的 Maven 原型(prototype)

标签 spring hibernate maven-2 struts2 maven-archetype

我正在寻找一个基本的maven原型(prototype),它可以帮助我创建一个spring hibernate struts2

申请。我尝试过使用 appfuse 但它很糟糕。花了半个多小时才到

下载了 n 个依赖项,并且它创建的项目也有错误。

如果您知道任何其他 Maven 原型(prototype),请告诉我。

谢谢

谢卡尔

最佳答案

mvn archetype:create \
    -DarchetypeGroupId=org.appfuse.archetypes \
    -DarchetypeArtifactId=appfuse-basic-struts \
    -DremoteRepositories=http://static.appfuse.org/releases \
    -DarchetypeVersion=2.0.1 \
    -DgroupId=fr.xebia.blog.voiture \
    -DartifactId=voiture-app

关于spring - 基本 spring hibernate struts2 应用程序的 Maven 原型(prototype),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2806575/

相关文章:

spring - 为什么 hibernate 实体图获取嵌套的惰性集合

java - 为什么在Spring中使用服务实现模式

spring - 如何在 Spring 应用程序中拥有每个线程但可重用的对象 (PubNub)?

java - Hibernate 多对多级联删除

hibernate 条件查询以仅获取特定列

spring.jpa.hibernate.ddl-auto = update属性每次都会更改外键

java - Hibernate 与同一实体的递归多对多关联

Netbeans 中的 Java EE 6 Maven 项目设置 - 一些配置问题?

java - mvn 发布 :prepare doesn't catch that I have modified files?

java - 一个Maven war项目中要打包的不同文件