Anyone met the problem that the subject shows?
my build.gradle is: apply plugin: ‘java’ apply plugin: ‘maven’ apply plugin: ‘maven-publish’ apply plugin: ‘maven-publish-auth’
group = ‘com.fuhu.bluemorpho’ version = ‘0.1-SNAPSHOT’
description = ‘bluemorphoserver-api’
sourceCompatibility = 1.7 targetCompatibility = 1.7
buildscript{
dependencies {
classpath ‘org.hibernate.build.gradle:gradle-maven-publish-auth:2.0.1’
}
repositories {
maven {
url “http://repository.jboss.org/nexus/content/groups/public/”
}
mavenLocal()
mavenCentral()
} }
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
name “snapshots”
url “http://my-private-repository.myco.com/nexus/content/repositories/snapshots”
}
} }
repositories {
mavenCentral()
maven { url “https://artifactory.fuhu.org/artifactory/fuhu-releases” }
maven { url “https://artifactory.fuhu.org/artifactory/fuhu-snapshots” }
maven { url “http://repo.maven.apache.org/maven2” } }
dependencies {
compile group: ‘com.fuhu.commons’, name: ‘fuhu-cassandra’, version:‘2.2.0’
compile group: ‘com.fuhu.commons’, name: ‘fuhu-utils’, version:‘2.2.0’
compile group: ‘org.xerial.snappy’, name: ‘snappy-java’, version:‘1.1.0.1’
compile group: ‘com.fuhu.bluemorpho’, name: ‘bluemorphoserver-core’, version:‘0.1-SNAPSHOT’
compile group: ‘org.apache.solr’, name: ‘solr-solrj’, version:‘4.7.0’
compile group: ‘mysql’, name: ‘mysql-connector-java’, version:‘5.1.30’
compile group: ‘com.google.code.gson’, name: ‘gson’, version:‘2.2.4’
compile group: ‘org.scala-lang’, name: ‘scala-library’, version:‘2.10.4’
testCompile group: ‘info.cukes’, name: ‘cucumber-java’, version:‘1.1.5’
testCompile group: ‘info.cukes’, name: ‘cucumber-junit’, version:‘1.1.5’
testCompile group: ‘info.cukes’, name: ‘cucumber-spring’, version:‘1.1.5’ }