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
Alexander.Kass
78ec1d97ef
ms: download native dll's from maven
...
GitOrigin-RevId: 05738642fec7e4f20b7b18c4144488c66f93be2d
2023-04-13 17:35:38 +00:00
Vladislav.Yaroshchuk
50cdd2ee26
[aether-resolver] StrictLocalRepositoryManager: reduce logging
...
Don't report full stacktrace of warnings
GitOrigin-RevId: 2f53458e598b73a19921a2b72a7c61b65c08dec6
2023-03-29 09:05:24 +00:00
Vladislav.Yaroshchuk
5444857716
Revert "maven artifacts resolution: mark bad jars corrupted but don't delete them"
...
This reverts commit c31746e6f09a670ebcfac5ff7f329f2df233ae19.
GitOrigin-RevId: 763adcb8aaa1b30ca4a9a111cfe1cd32cb46854c
2023-03-29 09:05:20 +00:00
Vladislav.Yaroshchuk
910101c353
[aether-resolver] IJI-1078 Fix retries: disable error caching
...
Retries did not work properly because errors were cached in resolver's
sessions. This commit forces session cache and data clear on retry to
make resolver repeat failed requests to remote repositories.
GitOrigin-RevId: 9eb88b98071287c53b14d809fe35c3fea2fb8ebc
2023-03-14 11:10:01 +00:00
Roman Shevchenko
389a727a01
Cleanup (replacing deprecated class usage; typos; formatting)
...
GitOrigin-RevId: 5633dfbb75d0fdd52cd6dab9e9cfc7f2bd84689c
2023-02-14 10:51:05 +00:00
Roman Shevchenko
7239b656e6
[project] getting rid of Guava dependency in 'aether-dependency-resolver'
...
(fixes the assertion in `ClasspathBootstrap#addToClassPath`)
GitOrigin-RevId: 5554f1cf6a247898a2802b9faee441b3e5916c24
2023-02-14 10:51:03 +00:00
Vladimir Krivosheev
63f26ba540
don't use guava without a valid reason
...
GitOrigin-RevId: 201cded1344072c68b29bf42c246f2324731e96f
2023-02-14 09:36:24 +00:00
Vladislav.Yaroshchuk
02dac8c264
maven artifacts resolution: mark bad jars corrupted but don't delete them
...
Bad JARs are moved to file-name.jar.corruptedXXXX instead of deletion which allows
to inspect bad ZIP contents if needed.
Should be revised when IDEA-269182 is enabled.
GitOrigin-RevId: c31746e6f09a670ebcfac5ff7f329f2df233ae19
2023-01-30 09:22:03 +00:00
Daniil Ovchinnikov
30fa6f95fa
Kotlin 1.8 language and API versions
...
GitOrigin-RevId: d019dab5535d6f9405514bb0efb7ffa6cd27f5b0
2023-01-07 13:16:21 +00:00
Dmitriy.Panov
d6cf712cf3
maven artifacts resolution: archive entries check should be called earlier from jps
...
GitOrigin-RevId: 50c2b5502ec0a29b3a892fd0b9bd0eeac3698d22
2022-11-25 19:55:21 +00:00
Dmitriy.Panov
fb466bce52
maven artifacts resolution: reading archive entries number as a validation check
...
GitOrigin-RevId: d8cbc1e5cb8501534524ea19c17e68b35a83bfaf
2022-11-09 10:52:50 +00:00
Daniil Ovchinnikov
45d44ea146
@JvmDefault: use -Xjvm-default=all
...
GitOrigin-RevId: 461876a557e97c9fd17fe5324c38ea268d18162e
2022-10-13 14:13:50 +00:00
Vladislav Yaroshchuk
d2a63c3b8b
[aether-resolver] IJI-636 improve retry with exp back off
...
* Make jitter smaller
* Log errors on 'warn' and 'error' levels
* Log exceptions properly
GitOrigin-RevId: deeedd0fb21a91275b19b1db816103dd78dff413
2022-10-03 10:43:29 +00:00
Nikolay Chashnikov
ed40abaffe
[intellij project configuration] remove useless '-version' argument from Kotlin compiler configuration in Kotlin facets
...
It does nothing and just occupies space in UI and in memory.
GitOrigin-RevId: 8977857c42dd8711ba91c7de6e819dd356b0f4cb
2022-08-15 12:42:16 +00:00
Nikolay Chashnikov
9480eb2791
[intellij project configuration] make target JVM version for Kotlin code consistent with language level
...
*.class files produced from Java and Kotlin files of a module should have the same version for consistency, so if a module uses custom language level it should also have a Kotlin facet specifying the same target JVM version.
GitOrigin-RevId: de4c7f6ef8e9c26b924a4eb2fd986ec83e48ef5c
2022-08-11 15:21:12 +00:00
Nikolay Chashnikov
4400e62446
[intellij project configuration] set language level to Java 11 for modules used in external build process (IDEA-299791)
...
GitOrigin-RevId: d52c1f16186c4d4c77798b2aebb93960233b8bc7
2022-08-11 15:21:04 +00:00
Tagir Valeev
debc7aa1c5
Warnings fixed
...
GitOrigin-RevId: 881782d29f1c951e43fdf9bc513703cc8065c23e
2022-07-04 07:50:05 +00:00
Alexander.Kass
567fdedfcc
support classifiers for maven drivers + use it for clickhouse
...
GitOrigin-RevId: d3d61c6fb7352c250fc259162acaf4c6077b9885
2022-07-01 07:08:52 +00:00
Vladimir Krivosheev
9a9ccdf3c8
convert BuildTasksImpl to modern language (part 2)
...
GitOrigin-RevId: 86b875280fa3b711e632cdada6eb1f7e6cb30489
2022-05-16 11:36:14 +00:00
Vladislav Yaroshchuk
51687593f9
[aether-resolver] IJI-781 Add retries support to ArtifactRepositoryManager
...
(cherry picked from commit 8101f4a14c0745c61d7c604eb7478be887aa2e0c)
IJ-MR-20326
GitOrigin-RevId: 93edea4f0d0c1d6c69fb01a1c73aa28370377db4
2022-02-18 09:11:38 +00:00
Vladislav Yaroshchuk
6034e60ed0
[aether-resolver] IJI-781 Create retry implementations
...
* Disabled - no retries, one attempt to perform a job
* With exponential back off
(cherry picked from commit 115a930ea325d799c36a9d2847dea90b5559fc6f)
IJ-MR-20326
GitOrigin-RevId: 44af9f2964732d33d962b48d6732df9c3e81693c
2022-02-18 09:11:35 +00:00
Vladislav Yaroshchuk
bcc925993f
[aether-resolver] IJI-781 Create base classes for retries injection
...
(cherry picked from commit 4bbee1dddba0504bd2edb0a7915d66fdeae66fba)
IJ-MR-20326
GitOrigin-RevId: c2c0b8fd40a16689ef61f73135b2144a4cbc742d
2022-02-18 09:11:32 +00:00
Eugene Zhuravlev
2d309063e7
make ArtifactRepositoryManager stateless and reuse the same manager instance across modules (part of IDEA-285617)
...
GitOrigin-RevId: 72e12d3053f4446dc2dba259065e9aee3cca6c4f
2022-02-15 16:47:50 +00:00
Dmitry Jemerov
4b7168cf3f
Split SLF4J into API and impl libraries
...
GitOrigin-RevId: c2787b3e82ce5a63d117ec241e6607dbe0fee948
2022-01-20 18:45:03 +00:00
Vladimir Krivosheev
695ac1e579
IDEA-278787 exclude jps-javac-extension from product lib, move required for JPS libs to 3rd-party-rt.jar
...
GitOrigin-RevId: bb8f6ecfad1aee0f2722599b8a802aa16f6d52f7
2021-09-26 06:52:35 +00:00
Nikolay Rykunov
976fddb348
[aether] Add commons-codec dependency to aether resolver
...
Fix NCDF during authorization process for org.apache.commons.codec.binary.Base64
GitOrigin-RevId: c23dd0ce7c6a9dbb5ad43c68446d73796780415a
2021-08-05 14:35:58 +00:00
Nikolay Rykunov
e05eef9a47
[aether] IDEA-264046: Allow providing auth data for remote maven repositories
...
GitOrigin-RevId: 2787fb80907d2c290a0d90224fdc84e30e245420
2021-08-05 14:35:51 +00:00
Grigoriy Myasoedov
2422395c03
[maven] fix tests after IDEA-274162
...
GitOrigin-RevId: 99f38c7f66dfd6e76cf3b201d3649d88c0af0c3c
2021-07-26 16:08:41 +00:00