Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2017-09-20 04:04:07 -0400
committerJan Belle2017-09-20 04:04:07 -0400
commitd0a5ef12fd6483faa3f8712fd785ad1fcd4cf33d (patch)
treefcbd52b445cda46d24221a143a580fea4aa3f3f8
parent14cd53e48f361275ac2d2541ed61ddd15f34bd9b (diff)
downloadorg.eclipse.etrice-d0a5ef12fd6483faa3f8712fd785ad1fcd4cf33d.tar.gz
org.eclipse.etrice-d0a5ef12fd6483faa3f8712fd785ad1fcd4cf33d.tar.xz
org.eclipse.etrice-d0a5ef12fd6483faa3f8712fd785ad1fcd4cf33d.zip
[releng] prepared gradle publishing, fixed buildTimestamp
-rw-r--r--gradle/publish.gradle12
-rw-r--r--plugins/org.eclipse.etrice.abstractexec.behavior/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.common/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.config/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.etmap/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.genmodel.fsm/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.genmodel/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.core.room/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.c/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.config/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.doc/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.fsm/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.gnuplot/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator.java/build.gradle3
-rw-r--r--plugins/org.eclipse.etrice.generator/build.gradle3
-rw-r--r--releng/org.eclipse.etrice.parent/pom.xml2
20 files changed, 64 insertions, 4 deletions
diff --git a/gradle/publish.gradle b/gradle/publish.gradle
index 1bcf65198..c70e47ab0 100644
--- a/gradle/publish.gradle
+++ b/gradle/publish.gradle
@@ -1,8 +1,6 @@
-apply plugin: 'maven-publish'
-
publishing {
publications {
- mavenJava(MavenPublication) {
+ etrice(MavenPublication) {
from components.java
}
}
@@ -23,5 +21,13 @@ publishing {
password project.properties.eclipseRepoPassword
}
}
+ maven {
+ name 'protos'
+ url 'http://10.8.1.101:8081/artifactory/maven-protos'
+ credentials {
+ username project.properties.protosArtifactoryUsername
+ password project.properties.protosArtifactoryPassword
+ }
+ }
}
} \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.abstractexec.behavior/build.gradle b/plugins/org.eclipse.etrice.abstractexec.behavior/build.gradle
index c15063587..a079e7bc6 100644
--- a/plugins/org.eclipse.etrice.abstractexec.behavior/build.gradle
+++ b/plugins/org.eclipse.etrice.abstractexec.behavior/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.fsm')
diff --git a/plugins/org.eclipse.etrice.core.common/build.gradle b/plugins/org.eclipse.etrice.core.common/build.gradle
index f89b435a6..bdc48372d 100644
--- a/plugins/org.eclipse.etrice.core.common/build.gradle
+++ b/plugins/org.eclipse.etrice.core.common/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile "org.eclipse.platform:org.eclipse.core.runtime:$core_runtime_version"
compile "org.eclipse.platform:org.eclipse.core.resources:$core_resources_version"
diff --git a/plugins/org.eclipse.etrice.core.config/build.gradle b/plugins/org.eclipse.etrice.core.config/build.gradle
index 4e10d0c3b..c829113a7 100644
--- a/plugins/org.eclipse.etrice.core.config/build.gradle
+++ b/plugins/org.eclipse.etrice.core.config/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.room')
diff --git a/plugins/org.eclipse.etrice.core.etmap/build.gradle b/plugins/org.eclipse.etrice.core.etmap/build.gradle
index a49fa9a8b..161885cc5 100644
--- a/plugins/org.eclipse.etrice.core.etmap/build.gradle
+++ b/plugins/org.eclipse.etrice.core.etmap/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.etphys')
diff --git a/plugins/org.eclipse.etrice.core.etphys/build.gradle b/plugins/org.eclipse.etrice.core.etphys/build.gradle
index 0044dee50..38eec7fdb 100644
--- a/plugins/org.eclipse.etrice.core.etphys/build.gradle
+++ b/plugins/org.eclipse.etrice.core.etphys/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
}
diff --git a/plugins/org.eclipse.etrice.core.fsm/build.gradle b/plugins/org.eclipse.etrice.core.fsm/build.gradle
index 1d29137fe..5d7da7362 100644
--- a/plugins/org.eclipse.etrice.core.fsm/build.gradle
+++ b/plugins/org.eclipse.etrice.core.fsm/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
diff --git a/plugins/org.eclipse.etrice.core.genmodel.fsm/build.gradle b/plugins/org.eclipse.etrice.core.genmodel.fsm/build.gradle
index bba13bccb..caee6c8ca 100644
--- a/plugins/org.eclipse.etrice.core.genmodel.fsm/build.gradle
+++ b/plugins/org.eclipse.etrice.core.genmodel.fsm/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.fsm')
diff --git a/plugins/org.eclipse.etrice.core.genmodel/build.gradle b/plugins/org.eclipse.etrice.core.genmodel/build.gradle
index de3e1b9b5..ec1c6a0f7 100644
--- a/plugins/org.eclipse.etrice.core.genmodel/build.gradle
+++ b/plugins/org.eclipse.etrice.core.genmodel/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.room')
diff --git a/plugins/org.eclipse.etrice.core.room/build.gradle b/plugins/org.eclipse.etrice.core.room/build.gradle
index 20efac29c..4e8ed82cd 100644
--- a/plugins/org.eclipse.etrice.core.room/build.gradle
+++ b/plugins/org.eclipse.etrice.core.room/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.fsm')
diff --git a/plugins/org.eclipse.etrice.etunit.converter/build.gradle b/plugins/org.eclipse.etrice.etunit.converter/build.gradle
index e44d587c1..d0941c22a 100644
--- a/plugins/org.eclipse.etrice.etunit.converter/build.gradle
+++ b/plugins/org.eclipse.etrice.etunit.converter/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'application'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile "org.eclipse.platform:org.eclipse.core.runtime:$core_runtime_version"
compile "org.eclipse.emf:org.eclipse.emf.common:$xtext_version"
diff --git a/plugins/org.eclipse.etrice.generator.c/build.gradle b/plugins/org.eclipse.etrice.generator.c/build.gradle
index c25ee5832..420bb37d6 100644
--- a/plugins/org.eclipse.etrice.generator.c/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.c/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'application'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.room')
compile project(':plugins:org.eclipse.etrice.core.etphys')
diff --git a/plugins/org.eclipse.etrice.generator.config/build.gradle b/plugins/org.eclipse.etrice.generator.config/build.gradle
index 5b9d89a8f..53ca221b6 100644
--- a/plugins/org.eclipse.etrice.generator.config/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.config/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.room')
diff --git a/plugins/org.eclipse.etrice.generator.cpp/build.gradle b/plugins/org.eclipse.etrice.generator.cpp/build.gradle
index e3c8f948f..ae83d0652 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.cpp/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'application'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.room')
compile project(':plugins:org.eclipse.etrice.core.etphys')
diff --git a/plugins/org.eclipse.etrice.generator.doc/build.gradle b/plugins/org.eclipse.etrice.generator.doc/build.gradle
index 2a8bb7982..e1a6ff4f5 100644
--- a/plugins/org.eclipse.etrice.generator.doc/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.doc/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.etmap')
compile project(':plugins:org.eclipse.etrice.core.genmodel')
diff --git a/plugins/org.eclipse.etrice.generator.fsm/build.gradle b/plugins/org.eclipse.etrice.generator.fsm/build.gradle
index 74ebd8be6..a1de1737f 100644
--- a/plugins/org.eclipse.etrice.generator.fsm/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.fsm/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.fsm')
compile project(':plugins:org.eclipse.etrice.core.genmodel.fsm')
diff --git a/plugins/org.eclipse.etrice.generator.gnuplot/build.gradle b/plugins/org.eclipse.etrice.generator.gnuplot/build.gradle
index 87790ea12..5271ea243 100644
--- a/plugins/org.eclipse.etrice.generator.gnuplot/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.gnuplot/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.genmodel')
diff --git a/plugins/org.eclipse.etrice.generator.java/build.gradle b/plugins/org.eclipse.etrice.generator.java/build.gradle
index 161180d1d..04ad2cf81 100644
--- a/plugins/org.eclipse.etrice.generator.java/build.gradle
+++ b/plugins/org.eclipse.etrice.generator.java/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'application'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.room')
compile project(':plugins:org.eclipse.etrice.core.etphys')
diff --git a/plugins/org.eclipse.etrice.generator/build.gradle b/plugins/org.eclipse.etrice.generator/build.gradle
index d34fb39e1..23dd009e2 100644
--- a/plugins/org.eclipse.etrice.generator/build.gradle
+++ b/plugins/org.eclipse.etrice.generator/build.gradle
@@ -1,7 +1,10 @@
plugins {
id 'java'
+ id 'maven-publish'
}
+apply from: "$rootDir/gradle/publish.gradle"
+
dependencies {
compile project(':plugins:org.eclipse.etrice.core.common')
compile project(':plugins:org.eclipse.etrice.core.fsm')
diff --git a/releng/org.eclipse.etrice.parent/pom.xml b/releng/org.eclipse.etrice.parent/pom.xml
index 35002649c..0cf52161d 100644
--- a/releng/org.eclipse.etrice.parent/pom.xml
+++ b/releng/org.eclipse.etrice.parent/pom.xml
@@ -85,7 +85,7 @@
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
- <format>'${build.type}'YYYYMMDDHHMM</format>
+ <format>'${build.type}'yyyyMMddHHmm</format>
</configuration>
</plugin>
<plugin>

Back to the top