Package com.diffplug.gradle.eclipse
Class MavenCentralMapping
- java.lang.Object
-
- com.diffplug.gradle.eclipse.MavenCentralMapping
-
public class MavenCentralMapping extends Object
Maps eclipse jars to their mavenCentral artifact ids and versions based on their official release.
-
-
Constructor Summary
Constructors Constructor Description MavenCentralMapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
bundleToVersion(EclipseRelease release)
Returns a map from every bundle-id to its corresponding 3-part version (the qualifier is dropped).static String
groupIdArtifactId(String bundleId)
Returns the MavenCentral groupId:artifactId appropriate for the given bundleId.static Map<String,String>
groupIdArtifactIdToVersion(EclipseRelease release)
Returns a map from every groupId:artifactId to its corresponding version in maven central (the qualifier is dropped).static boolean
isEclipseGroup(String group)
-
-
-
Method Detail
-
isEclipseGroup
public static boolean isEclipseGroup(String group)
-
groupIdArtifactId
public static String groupIdArtifactId(String bundleId)
Returns the MavenCentral groupId:artifactId appropriate for the given bundleId.
-
bundleToVersion
public static Map<String,String> bundleToVersion(EclipseRelease release)
Returns a map from every bundle-id to its corresponding 3-part version (the qualifier is dropped).
-
groupIdArtifactIdToVersion
public static Map<String,String> groupIdArtifactIdToVersion(EclipseRelease release)
Returns a map from every groupId:artifactId to its corresponding version in maven central (the qualifier is dropped).
-
-