Git Product home page Git Product logo

Comments (3)

zhegexiaohuozi avatar zhegexiaohuozi commented on July 20, 2024

HelloRose的依赖目前写的是:
dependencies {
compile "net.paoding:rose:1.2-SNAPSHOT"
compile "net.paoding:rose-jade:1.2-SNAPSHOT"
compile "sslext:sslext:1.10-4"
}
而在qieqie重命名子项目,将rose-jade简化为jade,但打包时使用全名称paoding-rose-jade.jar后,这里也应该相应的改成:
dependencies {
compile "net.paoding:paoding-rose:1.2-SNAPSHOT"
compile "net.paoding:paoding-rose-jade:1.2-SNAPSHOT"
compile "sslext:sslext:1.10-4"
}
你自己修改后再试试,我猜测是这个问题。

from paoding-rose.

kingkf avatar kingkf commented on July 20, 2024

遇到了同样的问题,楼上的方法貌似没用。。。

from paoding-rose.

roodkcab avatar roodkcab commented on July 20, 2024

需要修改一下rose的gradle文件,repo改为mavenlocal(),另外要将paoding-rose都去掉,然后sample的gradle也改一下,去掉paoding前缀。

sample的build
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'war'
apply plugin: 'jetty'

[compileJava, compileTestJava].options.encoding = 'UTF-8'

repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "net.paoding:rose:1.2-SNAPSHOT"
compile "net.paoding:jade:1.2-SNAPSHOT"
compile "sslext:sslext:1.10-4"
}

rose的build

subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'

group = "net.paoding"
version = "1.2-SNAPSHOT"

sourceCompatibility = 1.6
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

repositories {
    mavenLocal()
mavenCentral()
}

uploadArchives {
    repositories {
        mavenDeployer {
            mavenLocal()
        }
    }
}

dependencies {
}

jar {
    manifest.attributes "Implementation-Title": "paoding-rose", "Implementation-Version": version
}

}

project(':rose') {
archivesBaseName = "rose"
dependencies {
compile project(':context')
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-lang:commons-lang:2.6"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:3.1.2.RELEASE"
compile "org.springframework:spring-web:3.1.2.RELEASE"
compile "log4j:log4j:1.2.17"
compile "javax.servlet:jsp-api:2.0"
compile "commons-fileupload:commons-fileupload:1.2.2"
compile "org.springframework:spring-webmvc:3.1.2.RELEASE"
testCompile "org.springframework:spring-mock:2.0.8"
compile "org.apache.velocity:velocity:1.7"
compile "org.apache.velocity:velocity-tools:2.0"

}

}

project(':context') {
archivesBaseName = "context"
dependencies {
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-lang:commons-lang:2.6"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:3.1.2.RELEASE"
compile "org.springframework:spring-web:3.1.2.RELEASE"
}
}

project(':jade') {
archivesBaseName = "jade"
dependencies {
compile project(':context')
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-lang:commons-lang:2.6"
compile "commons-jexl:commons-jexl:1.1"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:3.1.2.RELEASE"
compile "org.springframework:spring-jdbc:3.1.2.RELEASE"
testCompile "org.hsqldb:hsqldb:2.2.8"
}
}

project(':pipe') {
archivesBaseName = "pipe"
dependencies {
compile project(':rose')
testCompile "junit:junit:4.7"
compile "javax.servlet:servlet-api:2.4"
compile "javax.servlet:jsp-api:2.0"
compile "com.metaparadigm:json-rpc:1.0"
}
}

from paoding-rose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.