【问题标题】:Maven archetype for basic spring hibernate struts2 application基本 spring hibernate struts2 应用程序的 Maven 原型
【发布时间】:2011-02-17 21:25:40
【问题描述】:

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

应用程序。我曾尝试使用 appfuse,但它很糟糕。花了半个多小时

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

如果你知道任何其他 maven 原型,请告诉我。

谢谢

谢卡尔

【问题讨论】:

    标签: spring hibernate maven-2 struts2 maven-archetype


    【解决方案1】:

    如果没有适合您的原型,只需使用默认原型,并添加您自己需要的依赖项。

    如果您遇到下载问题,请为您的远程存储库使用不同的镜像。

    【讨论】:

      【解决方案2】:

      如果 appfuse 无法正常工作,请考虑发布报告的错误。 此外,如 this 博客文章中所述,为 spring/hibernate/struts2 应用程序创建您自己的 maven 原型。

      【讨论】:

        【解决方案3】:
        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
        

        【讨论】:

          猜你喜欢
          • 2023-03-12
          • 1970-01-01
          • 2017-12-18
          • 1970-01-01
          • 2011-02-14
          • 2014-08-17
          • 2012-09-05
          • 2013-01-13
          • 1970-01-01
          相关资源
          最近更新 更多