aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-06-19 12:28:16 +0200
committersonartech <sonartech@sonarsource.com>2018-06-19 18:34:42 +0200
commitbeebd6be35f06fd712d7a2f6d80c5f411af78612 (patch)
tree82204b1e18c7b9e114b40ce68c19222d879846d4
parent3ba09d3fb4328ee12b68c33b1b9a16824cb04a25 (diff)
downloadsonarqube-beebd6be35f06fd712d7a2f6d80c5f411af78612.tar.gz
sonarqube-beebd6be35f06fd712d7a2f6d80c5f411af78612.zip
Do not deploy the artifacts used only internally
-rw-r--r--server/sonar-db-dao/build.gradle16
-rw-r--r--server/sonar-db-migration/build.gradle17
-rw-r--r--server/sonar-plugin-bridge/build.gradle15
-rw-r--r--server/sonar-process/build.gradle14
-rw-r--r--server/sonar-qa-util/build.gradle15
-rw-r--r--server/sonar-server-common/build.gradle11
-rw-r--r--server/sonar-server/build.gradle18
-rw-r--r--sonar-home/build.gradle1
-rw-r--r--sonar-markdown/build.gradle1
-rw-r--r--sonar-testing-harness/build.gradle1
10 files changed, 2 insertions, 107 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle
index f7103bceaae..b7c6ef08d86 100644
--- a/server/sonar-db-dao/build.gradle
+++ b/server/sonar-db-dao/build.gradle
@@ -47,19 +47,3 @@ configurations {
artifacts {
tests testJar
}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- artifact testJar
- }
- }
- }
-}
diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle
index 53e5be5a48c..91ab0460623 100644
--- a/server/sonar-db-migration/build.gradle
+++ b/server/sonar-db-migration/build.gradle
@@ -30,20 +30,5 @@ dependencies {
}
test {
- systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
-}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
+ systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
}
diff --git a/server/sonar-plugin-bridge/build.gradle b/server/sonar-plugin-bridge/build.gradle
index d1fdaf049e8..9f327b3694d 100644
--- a/server/sonar-plugin-bridge/build.gradle
+++ b/server/sonar-plugin-bridge/build.gradle
@@ -12,18 +12,3 @@ dependencies {
compileOnly 'com.google.code.findbugs:jsr305'
}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-}
diff --git a/server/sonar-process/build.gradle b/server/sonar-process/build.gradle
index 862d121f001..4f6c00cbf54 100644
--- a/server/sonar-process/build.gradle
+++ b/server/sonar-process/build.gradle
@@ -28,17 +28,3 @@ dependencies {
testCompile 'org.mockito:mockito-core'
testCompile project(':sonar-testing-harness')
}
-
-artifactoryPublish.skip = false
-
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-}
diff --git a/server/sonar-qa-util/build.gradle b/server/sonar-qa-util/build.gradle
index da6634f460c..14a6ccd4573 100644
--- a/server/sonar-qa-util/build.gradle
+++ b/server/sonar-qa-util/build.gradle
@@ -14,18 +14,3 @@ dependencies {
compileOnly 'com.google.code.findbugs:jsr305'
}
-
-artifactoryPublish.skip = false
-
-// Required for core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-}
diff --git a/server/sonar-server-common/build.gradle b/server/sonar-server-common/build.gradle
index 12184b6cdaa..94fa4862ee7 100644
--- a/server/sonar-server-common/build.gradle
+++ b/server/sonar-server-common/build.gradle
@@ -21,14 +21,3 @@ dependencies {
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
}
-
-//artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- }
- }
-}
diff --git a/server/sonar-server/build.gradle b/server/sonar-server/build.gradle
index 6b4fd8a88a6..c62666ca78b 100644
--- a/server/sonar-server/build.gradle
+++ b/server/sonar-server/build.gradle
@@ -95,21 +95,5 @@ configurations {
}
artifacts {
- tests testJar
-}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- artifact testJar
- }
- }
- }
+ tests testJar
}
diff --git a/sonar-home/build.gradle b/sonar-home/build.gradle
index c4323e91133..223f6e32bf0 100644
--- a/sonar-home/build.gradle
+++ b/sonar-home/build.gradle
@@ -18,7 +18,6 @@ dependencies {
artifactoryPublish.skip = false
-// Used by core plugins
publishing {
publications {
mavenJava(MavenPublication) {
diff --git a/sonar-markdown/build.gradle b/sonar-markdown/build.gradle
index ec958b2434c..e43f7a81fd3 100644
--- a/sonar-markdown/build.gradle
+++ b/sonar-markdown/build.gradle
@@ -18,7 +18,6 @@ dependencies {
artifactoryPublish.skip = false
-// Used by core plugins
publishing {
publications {
mavenJava(MavenPublication) {
diff --git a/sonar-testing-harness/build.gradle b/sonar-testing-harness/build.gradle
index f6493bcca95..a8bc3f4290b 100644
--- a/sonar-testing-harness/build.gradle
+++ b/sonar-testing-harness/build.gradle
@@ -18,7 +18,6 @@ dependencies {
testCompile 'org.assertj:assertj-core'
}
-// Used by sonar-db-core to run DB Unit Tests
artifactoryPublish.skip = false
publishing {
publications {