mstein / elasticsearch-grails-plugin

ElasticSearch grails plugin
Based on Graeme Rocher initial stub. Note that it is still in early stage.
Other
62 stars 164 forks source link

cacheDir dosent work #52

Open ghost opened 11 years ago

ghost commented 11 years ago

When i try to run the project offline, just dosent work:

| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

Here is my config file:

grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0) grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.target.level = 1.6 grails.project.source.level = 1.6 grails.server.port.http=8080 grails.project.plugins.dir="plugins" //grails.project.war.file = "target/${appName}-${appVersion}.war"

grails.project.dependency.resolution = {

cacheDir "target/ivy-cache"

// inherit Grails' default dependencies
inherits("global") {
    // specify dependency exclusions here; for example, uncomment this to disable ehcache:
    // excludes 'ehcache'
}
log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // Whether to verify checksums on resolve

repositories {
    inherits true // Whether to inherit repository definitions from plugins

    grailsPlugins()
    grailsHome()
    grailsCentral()

    mavenLocal()
    mavenCentral()
    mavenRepo "http://oss.sonatype.org/content/repositories/releases/"
    // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
    //mavenRepo "http://snapshots.repository.codehaus.org"
    //mavenRepo "http://repository.codehaus.org"
    //mavenRepo "http://download.java.net/maven/2/"
    //mavenRepo "http://repository.jboss.com/maven2/"
}
dependencies {
    compile 'org.imgscalr:imgscalr-lib:4.2'
    // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
    // runtime 'mysql:mysql-connector-java:5.1.20'
}

plugins {

    runtime ":hibernate:$grailsVersion"
    //runtime ":database-migration:1.1"
    runtime ":jquery:1.8.3"
    runtime ":resources:1.2.RC2"
    compile ":cache:1.0.1"

    // Uncomment these (or add new ones) to enable additional resources capabilities
    compile ":cache-headers:1.1.5"
    runtime ":zipped-resources:1.0"
    runtime ":cached-resources:1.0"
    runtime ":mongodb:1.1.0.GA"
    //runtime ":yui-minify-resources:0.1.4"

    build ":tomcat:$grailsVersion"

    compile ":spring-security-core:1.2.7.3"
    compile ":mail:1.0.1"
    compile ":quartz:1.0-RC5"
    compile ":elasticsearch:0.18.7.1-SNAPSHOT"

    //compile ":platform-core:1.0.RC5"
    //compile ":email-confirmation:2.0.6"
    //compile ":recaptcha:0.5.3"
    //compile ":asynchronous-mail:1.0-RC3"
}

}