mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[maven] [IDEA-349045] added baseVersion field to MavenCoordinates
GitOrigin-RevId: 9b59fb8acea3f714600ebc1bb161f56b3bb385ef
This commit is contained in:
committed by
intellij-monorepo-bot
parent
11c1678a20
commit
d655523012
@@ -13,8 +13,14 @@ data class MavenCoordinates @JvmOverloads constructor(
|
||||
val groupId: @NlsSafe String,
|
||||
val artifactId: @NlsSafe String,
|
||||
val version: @NlsSafe String,
|
||||
/**
|
||||
* For release versions the MavenCoordinates.version and MavenCoordinates.baseVersion are the same.
|
||||
* For snapshots, MavenCoordinates.version is the timestamped version number e.g. 1.0-20240918.105500-34
|
||||
* and baseVersion is the raw version number, e.g. 1.0-SNAPSHOT
|
||||
*/
|
||||
val baseVersion: @NlsSafe String = version,
|
||||
val packaging: @NonNls String = JpsMavenRepositoryLibraryDescriptor.DEFAULT_PACKAGING,
|
||||
val classifier: @NonNls String? = null
|
||||
val classifier: @NonNls String? = null,
|
||||
)
|
||||
|
||||
fun Library.getMavenCoordinates(): MavenCoordinates? = JavaLibraryUtil.getMavenCoordinates(this)
|
||||
Reference in New Issue
Block a user