diff --git a/de.ugoe.cs.rwm.mocci.connector.dummy/build.gradle b/de.ugoe.cs.rwm.mocci.connector.dummy/build.gradle index 47a193b1cdd0a9d01dea38d02f71381500626fe4..885b3fbc4e61d2515ae229978678c197a6784ebb 100644 --- a/de.ugoe.cs.rwm.mocci.connector.dummy/build.gradle +++ b/de.ugoe.cs.rwm.mocci.connector.dummy/build.gradle @@ -44,7 +44,10 @@ uploadArchives { repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") { authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD')) } - pom.version = System.getenv('VERSION') + if (System.getenv('VERSION') != null) { + pom.version = System.getenv('VERSION') + println "Version is set to: " + System.getenv('VERSION') + } pom.artifactId = "connector" pom.groupId = "de.ugoe.cs.rwm.mocci" } diff --git a/de.ugoe.cs.rwm.mocci.connector/build.gradle b/de.ugoe.cs.rwm.mocci.connector/build.gradle index 18be058690ff1edb247ea4b266fc328533c4fec4..3994d640fe34d81e58660c4c0682ba19d6c2aecc 100644 --- a/de.ugoe.cs.rwm.mocci.connector/build.gradle +++ b/de.ugoe.cs.rwm.mocci.connector/build.gradle @@ -39,7 +39,10 @@ uploadArchives { repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") { authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD')) } - pom.version = System.getenv('VERSION') + if (System.getenv('VERSION') != null) { + pom.version = System.getenv('VERSION') + println "Version is set to: " + System.getenv('VERSION') + } pom.artifactId = "connector" pom.groupId = "de.ugoe.cs.rwm.mocci" } diff --git a/de.ugoe.cs.rwm.mocci.model.edit/build.gradle b/de.ugoe.cs.rwm.mocci.model.edit/build.gradle index b094a47d2c123cbf8e4386b0e1c109bf273a642d..2ab48a5c717c676b132fe397e519222695773820 100644 --- a/de.ugoe.cs.rwm.mocci.model.edit/build.gradle +++ b/de.ugoe.cs.rwm.mocci.model.edit/build.gradle @@ -43,7 +43,10 @@ uploadArchives { repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") { authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD')) } - pom.version = System.getenv('VERSION') + if (System.getenv('VERSION') != null) { + pom.version = System.getenv('VERSION') + println "Version is set to: " + System.getenv('VERSION') + } pom.artifactId = "edit" pom.groupId = "de.ugoe.cs.rwm.mocci.model" } diff --git a/de.ugoe.cs.rwm.mocci.model/build.gradle b/de.ugoe.cs.rwm.mocci.model/build.gradle index 01e287119228c1253c0fba03c8418fa7ae185c4c..555fd7bbd4b927bf7d7c024fc557f652d661143c 100644 --- a/de.ugoe.cs.rwm.mocci.model/build.gradle +++ b/de.ugoe.cs.rwm.mocci.model/build.gradle @@ -73,7 +73,10 @@ uploadArchives { repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") { authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD')) } - pom.version = System.getenv('VERSION') + if (System.getenv('VERSION') != null) { + pom.version = System.getenv('VERSION') + println "Version is set to: " + System.getenv('VERSION') + } pom.artifactId = "model" pom.groupId = "de.ugoe.cs.rwm.mocci" }