Commit Graph

161 Commits

Author SHA1 Message Date
Alexander.Glukhov
6512e30146 [maven][aether][IDEA-373145] use NioTrackingFileManager instead of DefaultTrackingFileManager
(cherry picked from commit ab3383546763160f7bf836f6ba83a53b2a891978)

IJ-CR-167363

GitOrigin-RevId: 8082950cbbdeaf113b5ac48876ce052d1928014e
2025-06-30 12:32:24 +00:00
Alexander.Glukhov
0a481a95e5 [maven][aether][IDEA-373145] cleanup: moved RepositorySystem into a separate file
(cherry picked from commit 5ed011a279e7e8b5c187033e91dbeb52469928d7)

IJ-CR-167363

GitOrigin-RevId: 664bb2579abb6984442024b000951fed6a1c6151
2025-06-30 12:32:24 +00:00
Alexander.Glukhov
1233d6d7b1 [maven][aether][IDEA-373145] implemented java.nio.Path based version of TrackingFileManager
(cherry picked from commit c87d6434cd952e4965c4328fd5b48d9e027e8eb7)

IJ-CR-167363

GitOrigin-RevId: 109022502ac1f9db6a8eef69f6beabb8f5d09833
2025-06-30 12:32:24 +00:00
Mikhail Filippov
40e854e522 IJPL-188826 bump Kotlin language version to 2.2
GitOrigin-RevId: 61c9fecae6a713d7e328e74b83186bc5d2f6bf66
2025-05-26 13:41:54 +00:00
Vladimir Krivosheev
e6503904f1 update bazel files
GitOrigin-RevId: 56d6864910cad2dfe611d38d680ee290d4209f79
2025-05-13 18:02:20 +00:00
Ilia Kirianovskii
a38a19fa65 [bazel] Update build files
GitOrigin-RevId: b3eb595781593209fca189a18c0091f11621bd51
2025-05-13 15:36:09 +00:00
Vladimir Krivosheev
3616fb0a2f simplify bazel labels (another step towards using simple names that reflect directory structure) — handle camelCase case
GitOrigin-RevId: 709eafe49fcb3be48c50440ae19a08e083bc8cb3
2025-05-12 07:18:42 +00:00
Mikhail Filippov
493c93a4bf IJPL-182711 bump Kotlin language version
GitOrigin-RevId: 0beaed34efbd3b42a739dddd78de097b4e1d09c5
2025-04-09 14:26:59 +00:00
Vladimir Krivosheev
3c86abc51f update bazel files
GitOrigin-RevId: d7bc484d70a0b98066dc8f1ce7d2287eeb7b37fe
2025-04-08 13:56:33 +00:00
Vladimir Krivosheev
f397f3147e maven-resolver-provider - do not export libs that are used directly
GitOrigin-RevId: c94e7b8fe049bda8ed635e9c1df1e629b5756bf0
2025-04-07 15:07:39 +00:00
Vladimir Krivosheev
f8805410b5 cleanup (final, reduce visibility)
GitOrigin-RevId: 70c74a738dc4dd871646f67a434461f969298999
2025-01-13 18:17:25 +00:00
Vladimir Krivosheev
0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00
Vladimir Krivosheev
c760e695b8 cleanup
GitOrigin-RevId: db6ac3f5ae230e7ce0792e90cc9c58499de23e29
2024-12-26 14:56:01 +00:00
Vladimir Krivosheev
98799639aa do not use _test as lib - test targets do not support this
GitOrigin-RevId: f2f49db4294b6a64040dbbd5f1d95e972cbd70a3
2024-12-15 18:32:30 +00:00
Dmitriy.Panov
0269e91c81 IDEA-362760 collecting of misconfigured transitive dependencies cannot be executed in parallel
due to non thread-safe field `org.apache.maven.model.validation.DefaultModelValidator#validIds`

GitOrigin-RevId: 105db5b0662d72af4301581b759dff41118a883d
2024-12-12 23:26:13 +00:00
Eugene Zhuravlev
c35d1a4b0f prefer standard functional interfaces from util
GitOrigin-RevId: 79e005cfa9bc3651cc35480e3e5904854c81768c
2024-12-11 12:30:35 +00:00
Tagir Valeev
b8ee1161ea Warnings fixed
GitOrigin-RevId: cc9cfbf7aecb4ec370ce0f83060b16ed23f31beb
2024-12-11 11:10:03 +00:00
Leonid Shalupov
d90a2f770e DPE-21 Provide an alternative libraries resolver for monorepo project
* platform's HttpRequest-based downloader for library roots
 * test that it can be used for all repository libraries in monorepo
 * unify getting authentication data from all providers (now can be used with multiple resolvers)

 Resolver is turned off by default and can be enabled by `jar.http.downloader.enabled` registry key

GitOrigin-RevId: 31227e90763b77de6602354fcef9170ac6e42277
2024-12-07 04:12:52 +00:00
Vladimir Krivosheev
17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Louis Vignier
f561dd578e [maven] Do not force activate os-specific maven profiles
#IJPL-171448 Fixed
#IDEA-362994 Fixed

GitOrigin-RevId: fd879a9255358203b7c485c90fb7a576293b1eb3
2024-11-14 10:41:08 +00:00
Vladimir Krivosheev
d0f2112207 bazel - use unique name to maven repository due to bazel issue (https://github.com/bazel-contrib/rules_jvm_external/issues/916)
GitOrigin-RevId: 1378657735b438684e934c8aca721d43980869c8
2024-11-09 11:06:41 +00:00
Andrzej Głuszak
cbca664f6c [bazel] Second attempt at generating tests
GitOrigin-RevId: 7763c9994b7c311310b83b98a542775feb00ed68
2024-11-09 11:06:41 +00:00
Vladimir Krivosheev
a9e7930abe bazel - build lang-impl
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Vladimir Krivosheev
a1210118c0 bazel - fix JPMS, exports and internal
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Eugene Zhuravlev
242b41635a update maven resolver to 3.9.9
GitOrigin-RevId: 2abdd551becaf6a62dcc87a3db2f3bd7366ecd1c
2024-09-25 13:18:57 +00:00
Vladimir Krivosheev
4eb9b78b78 use bazel to build platform-impl
GitOrigin-RevId: b5bbc75323a08c7674777e512dcfd988ceb4461f
2024-09-22 17:01:28 +00:00
Vladimir Krivosheev
834bd75254 run jps-to-bazel by Bazel, compile platform using Bazel
GitOrigin-RevId: 3774d5adc404b02036f70b7cc35c9e60fdb5d84c
2024-09-21 00:54:17 +00:00
Vladimir Krivosheev
8455df53ca build build-scripts using Bazel
GitOrigin-RevId: f6ab74d791f866f567297e20266a7620cddfafae
2024-09-20 01:52:02 +00:00
Mikhail Filippov
bf43f2fc01 IJPL-150165 bump Kotlin language and API version
GitOrigin-RevId: a59dc8ca214a5047773fccf1cf28a1e1b07acf68
2024-08-30 22:15:55 +00:00
Eugene Zhuravlev
99fbe25af3 remove superfluous constants which also lead to proxy selector being accessed from a static initializer
GitOrigin-RevId: a80bb97292218c2169eaec2b438538d3be3ebcd5
2024-06-26 13:59:53 +00:00
Daniil Ovchinnikov
07f7cdaf55 IJPL-1044 wrap clinit instance requests in non-cancellable section
GitOrigin-RevId: f63849ca504a01dbae51faac27f29e69f43bff86
2024-06-25 20:12:17 +00:00
Pavel Kirpichenkov
a05c97a762 [Kotlin] Resolve parts of KMP libraries in multiplatform descriptor
KTIJ-29725

GitOrigin-RevId: c7f8cb5e25abd7db02e9d3404283d6b3db04a96c
2024-05-16 13:00:18 +00:00
Vladislav.Yaroshchuk
7142eb461b Revert "[aether-dependency-resolver] IJI-1457 Disable all errors caching"
This reverts commit 22c9953d8087c719190e49f8b00781dbd2e4206c.

GitOrigin-RevId: e53e23c43704fc44471ac73501bac396f544d48b
2023-12-19 23:03:33 +00:00
Vladislav.Yaroshchuk
6de7456694 [aether-dependency-resolver] IJI-1457 Explicitly set UPDATE_ALWAYS remove Maven repository policy
The default setting is UPDATE_POLICY_DAILY, and 5xx resolution
errors are cached in local repository for one day and retry
does not work.

GitOrigin-RevId: 1dc82442cf8d27384a127e1bba32bfb541cb07ca
2023-12-19 23:03:33 +00:00
Vladislav.Yaroshchuk
88fc03be53 [aether-dependency-resolver] IJI-1457 Disable all errors caching
Switch from `ResolutionErrorPolicy.CACHE_NOT_FOUND` to
`ResolutionErrorPolicy.CACHE_DISABLED`, because with
`CACHE_NOT_FOUND`  5xx response is still cached in local
repository and not re-requested, see IJI-1457

GitOrigin-RevId: 22c9953d8087c719190e49f8b00781dbd2e4206c
2023-12-08 08:56:54 +00:00
Vladislav.Yaroshchuk
0e71c30b2e [artifact-repository-manager] RetryProvider: do not log retry limit exceeded exception as err, use warn instead
Otherwise, some tests behaviour may change by an error thrown from logger:
`com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Retry attempts limit exceeded`

GitOrigin-RevId: c167353951d0d263bb5a457727eb6ba18999f204
2023-11-15 21:13:29 +00:00
Vladislav.Yaroshchuk
55b4ed056d IDEA-223423 Disable bind repositories for IJ
The feature is not ready for use

GitOrigin-RevId: 99081ac13d0b973ef02fcce167f48c5d11a270cb
2023-10-25 10:05:39 +00:00
Roman Shevchenko
18b74d5c5e [project] giving the SLF4J library a more canonical name; dropping clones (IJPL-301)
GitOrigin-RevId: 610e8c9b9b74d4484edf0833f8512fbe71e067aa
2023-10-24 09:07:23 +00:00
Roman Shevchenko
f66ae2de0d [platform] upgrading SLF4J to 2.x branch (IJPL-301)
GitOrigin-RevId: 044dbe68b61e665d35e948eefa610f18b63abe8a
2023-10-23 14:25:33 +00:00
Ilya Muradyan
1ea19ca755 KTNB-357: Fix the work of serialization plugin in the notebook, add test
GitOrigin-RevId: 46d2d30a667f20291b9785d6b9048539e7425b82
2023-10-05 17:22:29 +00:00
Daniil Ovchinnikov
27e155fc21 IJPL-167 bump language and API version 1.8 -> 1.9
GitOrigin-RevId: 5204df1784bbbba550476415e4ceff7368ab5fd4
2023-09-19 19:52:47 +00:00
Vladimir Krivosheev
80492a3161 IJPL-238 remove the unnecessary usage of commons-lang library (part 5 - introduce commons-text)
GitOrigin-RevId: cd43b822494cea06bfd4eba2af1f70869b954024
2023-09-15 20:50:06 +00:00
Vladimir Krivosheev
e6bb4d161e IJPL-238 Update library versions in project
This commit updates the versions of xml-apis, opentelemetry, TestNG, xtext-xbase, slf4j-jdk14, tls-channel, and associated dependencies in .idea/libraries. The jar-repository-id "central-proxy" was adjusted or added where necessary.

GitOrigin-RevId: 3e390ee1e9a093051b42001ff2aa3a338b7ed8eb
2023-09-15 20:50:05 +00:00
Nikolay Chashnikov
8d77f4bc8c [intellij project configuration] use the modern variant of the 'jetbrains-annotations' library
There is no need to use java5 variant since these modules now require Java 8 anyway. Also, this is needed to ensure that the old variant of the library isn't included into distribution (IDEA-329910).

GitOrigin-RevId: 2dc5d60e989b140d7401ea7929309321d3d8f0bf
2023-08-17 09:26:02 +00:00
Leonid Shalupov
7952af6975 maven resolver: enable repositories cache
Enable remote repositories reuse to establish connection to remote servers only once
which greatly increases artifact resolving speed

The change affects only the current instance of ArtifactRepositoryManager
which is created once per resolve session

GitOrigin-RevId: e9adf1deeb00d0938834905512559842ef754925
2023-08-15 17:36:53 +00:00
Vladislav.Yaroshchuk
255adcc095 [aether-dependency-resolver] IJI-1259 Log resolver requests
GitOrigin-RevId: 9cc967794415c323c6d3981524b6f372174f9077
2023-08-15 16:49:01 +00:00
Vladislav.Yaroshchuk
c22f6ba36e [aether-dependency-resolver] IJI-1259 Don't use sl4j logger
GitOrigin-RevId: b35ab65b58b14d2dc3cc64b049aef777a7f04ca8
2023-08-15 16:49:01 +00:00
Vladislav.Yaroshchuk
a8ace86e27 IJI-1182 Enable Maven dependencies checksum verification
GitOrigin-RevId: c092a94aafbffc6378dce963e3df6272ded9c092
2023-07-03 15:37:15 +00:00
Vladislav.Yaroshchuk
3f8603b2c7 [aether] Drop invalid ZIP validation and removal logic
Dependency resolver mustn't have unexpected side effects like artifact removal.
Related logic is moved to
`org.jetbrains.jps.incremental.dependencies.DependencyResolvingBuilder`.

GitOrigin-RevId: f0c0152345bf17a53fa8b48a211b7c4a9335d517
2023-06-05 17:18:16 +00:00
Leonid Shalupov
8d9b622972 .idea: add missing sources to libraries
GitOrigin-RevId: f76f8d06832e0ae3f1331174e7e95a3d03e83292
2023-05-18 03:23:46 +00:00