Java EE 7とJava8(Java SE 8)でのアプリケーション開発を始めるための自分なりのプロジェクトのひな形を作成中。 アプリケーションサーバは、Java8で実行したいので、Wildfly 8を選択(以前からJBoss ASを使っていたというのもある) ビルドはGradle Gradleタスクとしてデプロイもできるようにする 結合テストはArquillian コンテナの種類はmanaged(=テスト内でWildflyを起動・停止) Fullプロファイル WebプロファイルだとJMS, MDB等々が使えないので。 というわけで作ったものがこちら。 apply plugin: 'java' apply plugin: 'groovy' apply plugin: 'war' apply plugin: 'eclipse' def defaultEncoding = 'UTF-8'
![結合テストとワンクリックデプロイがすぐに使えるJava EE 7開発のためのbuild.gradle - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/9b6a30829cf8cd95d209430ea030f1be155695ee/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Fogp-background-1150d8b18a7c15795b701a55ae908f94.png%3Fixlib%3Drb-1.2.2%26w%3D1200%26mark%3Dhttps%253A%252F%252Fqiita-user-contents.imgix.net%252F~text%253Fixlib%253Drb-1.2.2%2526w%253D840%2526h%253D380%2526txt%253D%2525E7%2525B5%252590%2525E5%252590%252588%2525E3%252583%252586%2525E3%252582%2525B9%2525E3%252583%252588%2525E3%252581%2525A8%2525E3%252583%2525AF%2525E3%252583%2525B3%2525E3%252582%2525AF%2525E3%252583%2525AA%2525E3%252583%252583%2525E3%252582%2525AF%2525E3%252583%252587%2525E3%252583%252597%2525E3%252583%2525AD%2525E3%252582%2525A4%2525E3%252581%25258C%2525E3%252581%252599%2525E3%252581%252590%2525E3%252581%2525AB%2525E4%2525BD%2525BF%2525E3%252581%252588%2525E3%252582%25258BJava%252520EE%2525207%2525E9%252596%25258B%2525E7%252599%2525BA%2525E3%252581%2525AE%2525E3%252581%25259F%2525E3%252582%252581%2525E3%252581%2525AEbuild.gradle%2526txt-color%253D%252523333%2526txt-font%253DAvenir-Black%2526txt-size%253D54%2526txt-clip%253Dellipsis%2526txt-align%253Dcenter%25252Cmiddle%2526s%253D9412ba31d4a44777a8bc2398f2badba6%26mark-align%3Dcenter%252Cmiddle%26blend%3Dhttps%253A%252F%252Fqiita-user-contents.imgix.net%252F~text%253Fixlib%253Drb-1.2.2%2526w%253D840%2526h%253D500%2526txt%253D%252540tq_jappy%2526txt-color%253D%252523333%2526txt-font%253DAvenir-Black%2526txt-size%253D45%2526txt-align%253Dright%25252Cbottom%2526s%253D7ecff065ce828d07d1422a12a5c26825%26blend-align%3Dcenter%252Cmiddle%26blend-mode%3Dnormal%26s%3D48fbb754847c97e40dfd154c75fd2aa4)