Commit Graph

123 Commits

Author SHA1 Message Date
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
Nikolay Chashnikov
b610cb44f9 [repository libraries] explicitly exclude transitive dependencies which was rejected during conflict resolution (IDEA-274162)
Some of transitive dependencies of an artifact may be rejected during conflict resolution. If we disable other dependencies, they may become not rejected and will be unexpectedly added to the library. In order to prevent this, we now show all dependencies including rejected ones in the transitive dependencies tree, and explicitly exclude rejected dependencies if needed.

GitOrigin-RevId: 2ed449dda66bee8a990e15fe4026f57ad563936e
2021-07-26 11:06:05 +00:00
Dmitrii Orekhov
474705ea7f Reverting changes: deleting previously introduced ZIP_ARCHIVE instance of ArtifactKind enum
GitOrigin-RevId: 73608109b83cc2a1b2b2f9f1197f4f250640767b
2021-06-14 15:53:34 +00:00
Dmitrii Orekhov
3e74b0780b Added ArtifactKind.ZIP Enum instance to download zip artifacts + some WIP changes to DownloadModelService
GitOrigin-RevId: 373c680f5845ce07f35da63fe68bd500ea164060
2021-06-14 15:52:03 +00:00
Leonid Shalupov
f93f77463c IDEA-205492 Proxy validation may take much time with resolving dependencies
GitOrigin-RevId: 49f169c24d9947e92a6cee786023e4a51f80bb88
2021-04-11 16:14:08 +00:00
Nikita Skvortsov
a38d098d23 Fix snapshot version handling in annotations artifacts lookup
GitOrigin-RevId: 89689b905ef5fe3376a2adf9d403c2a7ff2e1755
2021-03-02 10:10:07 +00:00
Vladimir Krivosheev
72e96856ce update maven-resolver-provider from 3.6.1 to 3.6.3 and exclude transitive dependency plexus-utils (already added as library to project)
GitOrigin-RevId: 18e79bba9941818936c22915b0096c271fd13bea
2020-12-23 11:26:08 +00:00
Alexander Bubenchikov
6d6240e006 i18n gradle and maven fixes
GitOrigin-RevId: 95569f88503e95dfca45d4d6224ca95c5b8b7d18
2020-11-18 18:14:47 +00:00
Dmitriy.Panov
d0d48a52c5 IDEA-250744 IJ-CR-3053 naming fixed
GitOrigin-RevId: 1374e5fad68439785cc01f71fe18b18414e978f6
2020-09-23 13:38:20 +00:00
Dmitriy.Panov
13ebaea13e Revert "aether resolver: default remote repos are replaced with cache-redirector"
This reverts commit 036612ba

GitOrigin-RevId: ac65cc8e2148249c555e73e5b01cd4920795ff71
2020-09-23 13:38:19 +00:00
Dmitriy.Panov
70cfcc7e83 IDEA-250744 aether-dependency-resolver downloads POMs of excluded dependencies
GitOrigin-RevId: 3d1c23e39d05c40f90bbb417086f5656d8b3a319
2020-09-14 19:23:10 +00:00