source: branches/features/purchaseOrders/grails-app/conf/BuildConfig.groovy @ 942

Last change on this file since 942 was 942, checked in by gav, 13 years ago

Svn merge -r920:r941 trunk/ into branches/features/purchaseOrders.
This brings the purchaseOrder branch fully up to date.

File size: 3.2 KB
RevLine 
[532]1grails.project.class.dir = "target/classes"
2grails.project.test.class.dir = "target/test-classes"
[901]3grails.project.test.reports.dir = "target/test-reports"
[942]4//grails.project.war.file = "target/${appName}-${appVersion}.war"
5grails.project.war.file = "target/${appName}.war"
[532]6
7grails.war.resources = { stagingDir, args ->
[920]8    // Remove some duplicate/not required jars.
9    // From export plugin lib dir.
[532]10    delete file: "${stagingDir}/WEB-INF/lib/iText-2.1.5.jar"
[920]11    // From acegi plugin lib dir.
12    delete file: "${stagingDir}/WEB-INF/lib/facebook-java-api-2.0.4.jar"
13    delete file: "${stagingDir}/WEB-INF/lib/easymock.jar"
14    delete file: "${stagingDir}/WEB-INF/lib/cas-client-core-3.1.1.jar"
15    delete file: "${stagingDir}/WEB-INF/lib/openid4java-0.9.2.jar"
16
[532]17}
18
19grails.project.dependency.resolution = {
20
21    // inherit Grails' default dependencies
[901]22    inherits("global") {
[532]23        // uncomment to disable ehcache
24        // excludes 'ehcache'
25    }
26
27    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
28
29    repositories {
[876]30        grailsHome()
[532]31        grailsPlugins()
[876]32        grailsCentral()
[532]33
34        // uncomment the below to enable remote dependency resolution
35        // from public Maven repositories
36        //mavenLocal()
37        mavenCentral()
[901]38        mavenRepo "https://nexus.codehaus.org/content/repositories/snapshots"
[532]39        //mavenRepo "http://snapshots.repository.codehaus.org"
40        //mavenRepo "http://repository.codehaus.org"
41        //mavenRepo "http://download.java.net/maven/2/"
42        //mavenRepo "http://repository.jboss.com/maven2/"
43    }
44
[920]45    plugins {
46        runtime ':acegi:0.5.3'
47        runtime ':export:0.7'
48        runtime ':filterpane:0.7'
49        runtime ':help-balloons:1.4'
50        runtime(':jasper:1.1.3') {
51            transitive = false
52        }
53        runtime ':navigation:1.1.1'
54        runtime ':quartz:0.4.2'
55        runtime ':richui:0.8'
56        runtime ':searchable:0.6-SNAPSHOT'
57
58        test ':geb:0.6-SNAPSHOT'
59        test ':spock:0.5-groovy-1.7'
60    }
61
[532]62    dependencies {
63        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
64
[561]65        runtime 'mysql:mysql-connector-java:5.1.9'
[532]66
[920]67        // Japser plugin.
68        runtime('net.sf.jasperreports:jasperreports:3.7.2') {
69            excludes 'antlr', 'commons-beanutils', 'commons-collections', 'commons-logging',
70                    'ant', 'mondrian', 'commons-javaflow','barbecue', 'xml-apis-ext','xml-apis', 'xalan', 'groovy-all', 'hibernate', 'saaj-api', 'servlet-api',
71                    'xercesImpl','xmlParserAPIs','spring-core','bsh', 'spring-beans', 'jaxen', 'barcode4j','batik-svg-dom','batik-xml','batik-awt-util','batik-dom',
72                    'batik-css','batik-gvt','batik-script', 'batik-svggen','batik-util','batik-bridge','persistence-api','jdtcore','bcmail-jdk14','bcprov-jdk14','bctsp-jdk14'
73        }
[901]74        runtime('org.apache.poi:poi:3.5-FINAL') {
[920]75            excludes 'log4j', 'commons-logging'
[561]76        }
77
[920]78        // Origin unknown, still required?
[901]79        runtime('org.apache.ant:ant:1.7.1')
80        runtime('org.apache.ant:ant-launcher:1.7.1')
[636]81
[920]82        test('org.seleniumhq.selenium:selenium-htmlunit-driver:latest.release') {
[901]83            excludes 'xml-apis'
84        }
[532]85    }
86
87}
Note: See TracBrowser for help on using the repository browser.