Java項目構建系統,Apache Buildr 1.4.22 發布

jopen 9年前發布 | 6K 次閱讀 Buildr

Java項目構建系統,


Apache Buildr是一個專門針對Java應用程序的構建工具,同時也支持Scala、Groovy等JVM語言和工具。 與Ant和Maven相比,Buildr的優勢如下:

  • 與Ant相比,Buildr遵循“約定優于配置”原則,使“編譯、測試、打包”更容易。
  • 與Maven相比,開發者無需理解強大且復雜的模型,而采用Ruby/Rake作為腳本的基礎,也使得開發者可以定制屬于自己的腳本。

特性:

1、可以讀取Maven的pom.xml構建文件,創建Buildr的構建文件
2、支持ANTLR解析器
3、支持Hibernate XDoclet和Schema任務
4、支持JUnit/TestNG測試框架
5、支持所有Ant的任務,只要你會用ant,你就會用buildr

Apache Buildr 1.4.22 發布,此版本更新內容如下:

  * Change: BUILDR-704 - Updated the Sonar addon to support the latest
version of SonarQube
            Runner. Submitted by Ross Mahony.
  * Added:  Add support for ipr.add_glassfish_remote_configuration
method that generates
            a remote glassfish configuration in IntelliJ IDEA project files.
  * Added:  Add support for iml.prefix and ipr.prefix settings that
prefix the generated
            IntelliJ IDEA project and module files.
  * Change: Update the buildr gemspec so that rspec is no longer a
required dependency.
            This enables end-users to use a different version of rspec
and buildr in
            the same project. The rspec version MUST be be compatible
with the version
            used by Buildr if rspec features are used from within
Buildr. Buildr also
            issues a warning if the `check` method is called and rspec
has not been loaded.
            The warning includes directions on how to resolve the
issue. Submitted by r6p.
  * Fixed:  A long standing bug existed such that if tests failed to
compile, and the
            option Buildr.options.test is set to :all then the
compilation error would
            not result in a failed build. As many people set the
Buildr.options.test to
            :all in their continuous delivery/integration tools, this
has caused some
            problems. This has been fixed by ensuring all the problems
associated with
            the resolving the prerequisites are not caught when
Buildr.options.test is
            set to :all.
  * Change: Update checkstyle to 6.1.1. Submitted by neher.
  * Fixed:  Avoid empty dependency issue in gwt addon if the
attempting to gwt compile
            a project that has no src/main/java.
  * Fixed:  Support dependencies in the gwt addon that are other local
projects rather
            that artifacts, without forcing a compilation of
dependency when parsing
            buildfile.
  * Added:  Support configuration of sql dialect mapping in IDEA
generated project files
            through methods on the ipr extension ipr.mssql_dialect_mapping,
            ipr.postgres_dialect_mapping and ipr.sql_dialect_mappings
  * Added:  Support specification of the target project to which the
gwt compilation
            artifacts are added as an asset, by using :target_project option.
更多內容請看:http://buildr.apache.org/

Thanks!
The Apache Buildr Team

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!