Skip to content

Commit

Permalink
Publish 4.23 artifacts to maven central #13
Browse files Browse the repository at this point in the history
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
  • Loading branch information
sravanlakkimsetti committed Mar 15, 2022
1 parent f01bd7c commit ef1f137
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions publish-to-maven-central/sourceBundles.txt
@@ -0,0 +1,4 @@
platform/eclipse.platform.ui.tools.git \
bundles/org.eclipse.e4.tools.emf.ui \
R4_23 \
org/eclipse/platform org.eclipse.e4.tools.emf.ui 4.7.200
Expand Up @@ -68,6 +68,9 @@ public static void addUrlDevelopers(String gitUrl, String bsn, String indent, St
}

private static String gitRepoToWhoSInvolved(String gitUrl) {
if ((gitUrl == null) || (gitUrl.trim() == "")) {
return "https://projects.eclipse.org/projects/eclipse.platform/who";
}
String[] tokens = gitUrl.split("/");
if (tokens.length >= 6) {
String token = tokens[5]; // https://git.eclipse.org/c/equinox/rt.equinox.framework.git => start with rt.equinox.framework
Expand All @@ -85,8 +88,8 @@ private static String gitRepoToWhoSInvolved(String gitUrl) {
}
}
return "https://projects.eclipse.org/projects/"+project+"/who";
} else if (tokens.length >= 4) {
String token = tokens[3]; // https://git.eclipse.org/c/equinox/rt.equinox.framework.git => start with rt.equinox.framework
} else if (tokens.length >= 5) {
String token = tokens[4]; // https://github.com/eclipse-platform/eclipse.platform.releng.git => start with eclipse.platform.releng
int end = token.endsWith(".git") ? token.length()-".git".length() : token.length();
String project = token.substring(0, end);
// Special case for e4 projects
Expand Down

0 comments on commit ef1f137

Please sign in to comment.