forge插件
技术提示#34解释了如何创建可测试的Java EE 7应用程序。 如果要启动新的应用程序,这将很有用。 但是,如果您已经有一个应用程序并启用Arquillian怎么办?
这就是Forge和Forge-Arquillian附加组件派上用场的地方。 这就是我在javaee7-simple-sample中添加对Arquillian的支持的方式。
让我们看看已经完成了!
- 下载并安装Forge。 您可以在自己喜欢的位置下载ZIP并解压缩,也可以使用下面的命令为您完成:
Downloads> curl http://forge.jboss.org/sh | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2725 0 2725 0 0 4641 0 --:--:-- --:--:-- --:--:-- 4642 /usr/bin/java Downloading Forge ######################################################################## 100.0% Archive: /Users/arungupta/.forge/forge_installer.zip creating: /Users/arungupta/forge/forge-distribution-2.12.2.Final/ creating: /Users/arungupta/forge/forge-distribution-2.12.2.Final/img/ . . . If you have not yet seen the Forge built-in commands, you may either press TAB to see a list of the currently available commands, or get a more descriptive list by typing: $ command-list Then to get started - see the docs at http://forge.jboss.org/documentation Consider installing Git and Maven 3.1+ (both optional) Restart Terminal to use forge.
- 克隆simple-javaee7-sample仓库 :
git clone https://github.com/javaee-samples/javaee7-simple-sample.git
- 将目录更改为
javaee7-simple-sample</