JavaEE showcase project.
This commit is contained in:
commit
561396dae4
29 changed files with 823 additions and 0 deletions
15
javaee-demo1-ear/build.gradle
Normal file
15
javaee-demo1-ear/build.gradle
Normal file
|
@ -0,0 +1,15 @@
|
|||
apply plugin: 'ear'
|
||||
|
||||
dependencies {
|
||||
deploy project(':javaee-demo1-ejb')
|
||||
deploy project(path: ':javaee-demo1-web', configuration: 'archives')
|
||||
}
|
||||
|
||||
ear {
|
||||
appDirName 'src/main/app' // use application metadata found in this folder
|
||||
libDirName 'APP-INF/lib'
|
||||
deploymentDescriptor { // custom entries for application.xml:
|
||||
initializeInOrder = true
|
||||
webModule('javaee-demo1-web-' + project.version + '.war', '/api')
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue