-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
74 lines (62 loc) · 3 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
usePlugin 'war'
usePlugin 'jetty'
usePlugin 'eclipse'
defaultTasks 'jettyRunWar'
project.group = 'org.randd'
project.version = 0.1
archivesBaseName = 'r_and_d'
configurations {
runtime.exclude group: 'javax.el'
runtime.exclude group: 'javax.servlet'
runtime.exclude group: 'avalon-framework'
runtime.exclude group: 'logkit'
runtime.exclude group: 'xml-apis'
runtime.exclude group: 'javax.xml.stream'
hibernateValidator3
}
repositories {
mavenCentral()
mavenRepo urls: 'http://repository.jboss.org/maven2'
}
dependencies {
seamVersion = '2.2.0.GA'
hibernateVersion = '3.5.0.Beta-1'
hornetQVersion = '2.0.0.BETA5'
compile group: 'javax.faces', name: 'jsf-api', version: '1.2_13'
compile group: 'org.jboss.seam', name: 'jboss-seam', version: seamVersion
compile group: 'org.hibernate', name: 'hibernate-envers', version: hibernateVersion
compile group: 'org.hibernate', name: 'hibernate-annotations', version: hibernateVersion
compile group: 'org.hibernate', name: 'hibernate-validator', version: '4.0.0.CR1'
compile group: 'org.icefaces', name:'icefaces-comps', version:'1.8.1'
compile group: 'org.icefaces', name:'icefaces', version:'1.8.1'
compile group: 'org.jboss.javaee', name: 'jboss-jms-api', version: '1.1.0.GA'
compile group: 'commons-lang', name: 'commons-lang', version: '2.4'
// Needed only for compile, probably have to exclude these in runtime
compile group: 'javax.validation', name: 'validation-api', version: '1.0.CR5'
compile group: 'org.hibernate.java-persistence', name: 'jpa-api', version: '2.0.Beta-20090815'
runtime group: 'javax.faces', name: 'jsf-impl', version: '1.2_13'
runtime group: 'org.hibernate', name: 'hibernate-core', version: hibernateVersion
runtime group: 'org.hibernate', name: 'hibernate-entitymanager', version: hibernateVersion
runtime group: 'org.hornetq', name: 'hornetq-core', version: hornetQVersion
runtime group: 'org.hornetq', name: 'hornetq-jms', version: hornetQVersion
runtime group: 'org.hornetq', name: 'hornetq-logging', version: hornetQVersion
runtime group: 'org.hornetq', name: 'hornetq-transports', version: hornetQVersion
runtime group: 'org.icefaces', name:'icefaces-facelets', version:'1.8.1'
runtime group: 'org.jboss.seam', name: 'jboss-seam-ui', version: seamVersion
runtime group: 'org.jboss.seam', name: 'jboss-seam-debug', version: seamVersion
runtime group: 'org.slf4j', name:'slf4j-log4j12', version: '1.5.6'
runtime group: 'com.h2database', name:'h2', version: '1.1.118'
// Per Emmanuel Bernard
hibernateValidator3('org.hibernate:hibernate-validator:3.1.0.GA') {
transitive = false
}
}
war {
libConfigurations('hibernateValidator3')
}
// Convention properties for Jetty
[jettyRunWar,jettyRun,jettyStop]*.stopKey = 'foo'
[jettyRunWar,jettyRun,jettyStop]*.stopPort = 9451
[jettyRunWar,jettyRun,jettyStop]*.httpPort = 8163
[jettyRunWar,jettyRun,jettyStop]*.contextPath = 'r-and-d'
[jettyRunWar,jettyRun]*.daemon = true