mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
BDE-68: Merged HEAD to BRANCHES/V2.0
35947: BDE-68: Added fetchWarFile Gradle task to fetch alfresco.war from Nexus 35957: BDE-68: fetchWarFile Gradle task now also fetches share.war git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@35985 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
14
build.gradle
14
build.gradle
@@ -83,6 +83,13 @@ subprojects {
|
|||||||
dirs explodedLibsDir
|
dirs explodedLibsDir
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven {
|
||||||
|
url "http://maven.alfresco.com/nexus/content/repositories/enterprise-releases/"
|
||||||
|
credentials {
|
||||||
|
username 'bamboo'
|
||||||
|
password 'b@mb00'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -92,6 +99,13 @@ subprojects {
|
|||||||
|
|
||||||
/** --- Compile tasks --- */
|
/** --- Compile tasks --- */
|
||||||
|
|
||||||
|
task fetchWarFile(type:Copy) {
|
||||||
|
from configurations.testRuntime
|
||||||
|
into '.'
|
||||||
|
include '*.war'
|
||||||
|
rename { String filename -> warFile }
|
||||||
|
}
|
||||||
|
|
||||||
// make sure that the dependancies have been unpacked before compiling the Java
|
// make sure that the dependancies have been unpacked before compiling the Java
|
||||||
compileJava.doFirst {
|
compileJava.doFirst {
|
||||||
explodeDeps.execute()
|
explodeDeps.execute()
|
||||||
|
@@ -2,3 +2,4 @@ groupid=alfresco
|
|||||||
packageName=rm
|
packageName=rm
|
||||||
version=2.0.0
|
version=2.0.0
|
||||||
build=2
|
build=2
|
||||||
|
alfrescoBaseVersion=4.0.1
|
||||||
|
@@ -7,6 +7,8 @@ dependencies {
|
|||||||
|
|
||||||
testRuntime files(explodedConfigDir)
|
testRuntime files(explodedConfigDir)
|
||||||
testRuntime files(configDir)
|
testRuntime files(configDir)
|
||||||
|
|
||||||
|
testRuntime group: 'org.alfresco.enterprise', name: 'alfresco', version: alfrescoBaseVersion, type: 'war'
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
Reference in New Issue
Block a user