/javaee7-gradle-wildfly

Primary LanguageGroovyGNU General Public License v3.0GPL-3.0

Java EE 7 - Gradle 2+ - Wildfly

find me with 'java ee 7 gradle wildfly'

Gradle Wildfly EE 7 Quickstarter

Faces JSF 2.2

  • Contracts
  • Templates
  • Library Resources handling
  • PrimeFaces 5.+ support
  • Bootstrap 3+ basic layout

JPA 2.1

  • hibernate
  • eclipselink

Gradle Java EE 7 - Wildfly - Quickstart Project

You need wildfly 8.2+ or 9.+ to use Java EE 7 Features out of the box

default wildfly: 9.0.1.Final

  • Java EE 7 Web Project
  • Wildfly 8.+ or Wildfly 9.+
  • Gradle 2.+ now on 2.7
  • PowerShell Deployment

Setup your favorite appaserver on gradle.properties

Gradle - basic commands

gradle wrapper (once to setup your wrapper)

startup your gradle.properties configured local wildfly server

Now you can use:

gradlew tasks

gradlew war -i

gradlew clean test -i gradlew clean test war -i

gradlew clean build -i gradlew clean war -i

gradlew dependencies

the first use you should start a download of gradle-version-bin.zip

Please install your favorite IDE (Eclipse, IntelliJ, Netbeans) and import this project as Gradle Project. You have to use the build.gradle to import in IDE. You will find a Gradle View in your IDE to see all tasks.

Powershell: .\gradlew tasks

** TBD / TODO **

should be all work without a local appserver on buildserver or host - by CLI

  • Gradle Test should use a port-offset=20000

  • Gradle deployment tasks - see ./gradle/plugin.wildfly.gradle

  • Gradle server command tasks (restart, reload, start, stop)

  • Gradle CI build (Jenkins) to test

    some code examples inside to test

CI - Jenkins

This project is configured for Jenkins and its Plugins to show

  • PMD
  • Checkstyle
  • Jacoco
  • FindBugs
  • Codenarc
  • jDepend
  • JUnit 4

IDE

It's all tested on Windows 7 and Mac OS X 10.9

  • Eclipse EE 4.4 and 4.5 - Gradle IDE Pack 3.6.x by Eclipse Marketplace
  • STS 3.6.3 - Gradle IDE Pack 3.6.x by Eclipse Marketplace
  • IntelliJ 14.1 - Gradle aboard

Links - Documentation used

Help?

Yes, please. Make your branch or fork me and send your pull requests!

License

GNU GPLv3 Copyright by Klaus Landsdorf - Lohne (Olb) - Germany