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
|
# Generated by Buildr 1.3.5, change to your liking
# Version number for this release
VERSION_NUMBER = "1.0.0"
# Group identifier for your projects
GROUP = "candlepin"
COPYRIGHT = ""
#AXIS2 = 'candlepin:axis2:jar:1.2'
#AXIS2 = 'org.apache.axis2:axis2:jar:1.2'
JERSEY = [group('jersey-core', 'jersey-json', 'jersey-server', 'jersey-client', :under=>'com.sun.jersey', :version=>'1.1.2-ea'),
'javax.persistence:persistence-api:jar:1.0.2' ,
'org.codehaus:jettison:jar:1.1',
'org.apache:xalan-j2:jar:2.6.0',
'javax.ws:jsr311-api:jar:1.1' ]
JUNIT = 'junit:junit:jar:4.5'
LOG4J = 'log4j:log4j:jar:1.2.14'
HIBERNATE = ['org.hibernate:hibernate3:jar:3.2.4.1',
'org.objectweb.asm:asm:jar:3.1',
'org.objectweb.asm:asm:jar:3.1']
BOUNCYCASTLE = group('bcprov', :under=>'org.bouncycastle', :version=>'1.43')
# causes GET /org/apache/axis2/axis2/1.2/axis2-1.2.jar
# we want GET /candlepin/axis2-1.2.jar
#OPENJPA = ['org.apache.openjpa:openjpa-all:jar:0.9.7',
# 'net.sourceforge.serp:serp:jar:1.12.0']
#repositories.remote << "http://download.java.net/maven/2/"
# Specify Maven 2.0 remote repositories here, like this:
repositories.remote << "http://jmrodri.fedorapeople.org/ivy/candlepin"
repositories.remote << "http://www.ibiblio.org/maven2/"
#repositories.remote << "http://127.0.0.1/"
desc "The Proxy project"
define "candlepin" do
project.version = VERSION_NUMBER
project.group = GROUP
manifest["Implementation-Vendor"] = COPYRIGHT
compile.options.target = '1.5'
compile.with JERSEY, JUNIT, LOG4J, HIBERNATE, BOUNCYCASTLE # Add classpath dependencies
test.with JERSEY, JUNIT, LOG4J, HIBERNATE, BOUNCYCASTLE # Add classpath dependencies
javadoc projects
package :war
#define "fbuild" do
#end
#define "code" do
#end
end
|