-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuildfile
34 lines (24 loc) · 933 Bytes
/
buildfile
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
require 'rubygems'
require "bundler/setup"
require 'buildr-dependency-extensions'
# Version number for this release
VERSION_NUMBER = "1.3.3.#{ENV['BUILD_NUMBER'] || 'SNAPSHOT'}"
# Group identifier for your projects
COPYRIGHT = ""
# Specify Maven 2.0 remote repositories here, like this:
repositories.remote << "http://www.ibiblio.org/maven2"
repositories.release_to = 'sftp://artifacts:repository@192.168.0.96/home/artifacts/repository'
define "jaws" do
extend PomGenerator
ENV['JAVA_OPTS'] ||= '-Xmx1g'
project.version = VERSION_NUMBER
project.group = "fcr"
manifest["Implementation-Vendor"] = COPYRIGHT
download(artifact("junit4:junit4:jar:4.8.2")=> "https://github.com/downloads/KentBeck/junit/junit-4.8.2.jar")
compile.with 'commons-io:commons-io:jar:2.0.1'
resources
test.using :java_args => [ '-Xmx1g' ]
test.compile.with 'junit4:junit4:jar:4.8.2'
test.resources
package(:jar)
end