Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
12 daysDo not use Guava's UTF-8 constant.HEADmasterAlexander Kurtakov1-2/+2
Use Java's own StandardCharsets one. Change-Id: Ibac7399623499c23521a2903cdb247faafaf11c9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
12 daysMove away of the deprecated WagonManager.Alexander Kurtakov1-1/+1
Change-Id: Ie74f66bfdf87be6cb22eb1aac09ee9629191e825 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-31Do not use deprecated plexus-utils method.Alexander Kurtakov1-1/+1
Use the new one (type fixed) instead. Change-Id: If7d75a8615f1c5ab66852a1d716931b307cb0282 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-31Remove workaround for javax.annotation and Java 11.Alexander Kurtakov2-36/+0
Tycho 1.4(which m2e uses now) handles removed modules properly now. Change-Id: I93ec79db7efb3fb358b70760b18770f0926b0e20 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-31Remove redundant overrides for tycho-version.Alexander Kurtakov4-4/+0
Change-Id: I07368c39aa023e71bfccd8d6849b395d449f4402 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-31Fix generification warnings in the workspace.Alexander Kurtakov6-31/+29
Change-Id: Ia68b6cac13f2ff8dc9231bb7ad2c964624760264 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-31Update maven build plugins.Alexander Kurtakov1-3/+3
* Tycho to 1.4.0 * Jacoco to 0.8.4 Change-Id: I3880b39559e016bbac775d0b0c0a3cb062c76fa7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-29Bug 547338 - Update to guava 24.1.1+Tony Homer4-3/+8
fix CVE-2018-10237 added Orbit 2019-06 M3 repo CQ: 19822 Change-Id: I85cc8cd8f37c9abb7914ec2a5e42d5ae034c74a9 Signed-off-by: Tony Homer <tony.homer@intel.com>
2019-05-29Update discovery catalog url to 1.12Fred Bricon1-1/+1
Change-Id: Ic75e9abcb7e15d42067c9da0ed0b78219f8c1a1f Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-05-29Update versions of plugin templates in pom.xml editorFred Bricon1-3/+3
Change-Id: Icf27fcd04f7e46016f7643ec729570785353d487 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-05-29Bug 547760 - Errors in the log "Failed to evaluate: ReferenceExpressionAndrey Loskutov1-1/+4
[definitionId=org.eclipse.m2e.sourcelookup.ui.m2estratum]" Only test "org.eclipse.jdt.launching.jdtstratum" property on appropriate elements (org.eclipse.debug.core.model.DebugElement) to avoid runtime exceptions. Change-Id: I81b280ff9bc8fd2e29430c1de96319b386de2304 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-05-29Bug 547765 : add 'Update Configuration...' to pom.xml context menuFred Bricon1-1/+15
Change-Id: I88328766d81cefcfaa066865494dcbef691f0581 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-05-29Bug 547339: update to aether-connector-okhttp 0.17.6Fred Bricon1-1/+1
Change-Id: Ieb3b2af4c72a3d84f79728c222e5c8944f26c704 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-05-28Bug 501493 : Fixed unnecessary version conflict labelFred Bricon1-3/+7
Change-Id: I433320fcf3fb1688f2a5072f1e2ca199e385505e Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-05-28Bug 547339: update to aether-connector-okhttp 0.17.5Fred Bricon1-1/+1
Change-Id: Ibecce1a3d20d56ad63d3a1b4925d091af1d272ab Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-05-17Fix various deprecation usages.Alexander Kurtakov12-22/+29
Change-Id: I2609f865d94a73e2410aa6c3c8e38e6d7766cf7c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-15Bug 547239 - Download sources 1 by 1Mickael Istria3-106/+154
Splitting the download operation can allow smaller invocations of Maven, which should result in small maximum memory consumption in that case (there is no memory benefit in downloading multiple sources in same operation). Change-Id: Ib7e7ef64e58857df71541dfdac63460c54c0fe3e Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-14Bug 547172 - Can't read project if parent coordinates don't matchMickael Istria9-1/+151
Change-Id: I40708155607f026836bf541aaca83f3cc6240253 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-13Bug 515668 - Group operations in ProjectRegistryRefreshJobMickael Istria2-24/+71
Grouping instead of iterating usually enables better performances. Change-Id: I4b80a2dfd951c55e8739ff85e55bfec7a7f90754 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-13Bug 515668 - Fix bug in project resolutionMickael Istria8-10/+103
Some useless and erroneous check prevents from reloading already parsed project even when one of their dependencies is updated. Change-Id: If9ebe1721209cad8df89a2852fa2fc83a24861f4 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-09Bug 515668 - Use more efficient APIs to read projects during refreshMickael Istria9-85/+262
Instead of iterating on projects to invoke N times readMavenProjectFacades (L399) and each of this time creating depth(N) MavenProjects (1 for each stage of the parent hierarchy), we accumulate the projects to update and call readManageProjectFacades only once that shares hierarchy of objects, resulting in O(N) MavenProject instances. As a result, we replace "sum of all depths of all projects" instances by "amount of project" instances, which in most case can be a 2 or 3 factor, and for biggest projects can be a 6 or 7 factor. The further steps of the refresh operation are not optimized at the moment, as they're not involved in the usual import step. But they would be worth a further improvement. Change-Id: Icf38520d1c220590612dd32f4481eb703827e747 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-09Bug 515668 - Introduce APIs to group MavenProject readsMickael Istria3-45/+138
Using ProjectBuilder.build(singlePom...) has a speed and memory complexity of O(depth(project)) where depth(project) is the number of parents (recursively). Iterating on this over N projects lead to a pseudo-quadratic cost O(N*maxProjectDepth) where maxProjectDepth can be up to N-1. Instead, we introduce APIs that take advantage ProjectBuilder.build(multiplePom...) which has a complexity of O(N). For Apache Camel that is 700+ modules, these new APIs instantiate 700+ MavenProject instead of ~4000 (since many modules have a depth of 5/6) like legacy API do. Change-Id: Ica74542eb8db6833de3b796bfad8c07c2ae9b002 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-05-02Prepare move to Maven 3.6.xMickael Istria4-15/+25
Change-Id: I52cd77f105d845665ef556c07e6bed02addbaf6c Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-04-25Use HTTPS for m2e-core-tests submoduleMickael Istria1-1/+1
Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-04-25Link m2e-core-tests as submoduleMickael Istria3-0/+16
Change-Id: I74461867090355713466e9a629fcc5f41e655222 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-03-24Bug 545470: add required --enable-preview during conversionFred Bricon2-5/+42
Change-Id: If0cc8e489b8f0d461e6c4d89b2450dc703506dc3 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-03-24Bug 545462: configure preview features according to he --enable-preview flagFred Bricon2-5/+106
The change is backward compatible with Eclipse 4.11 without Java 12 support. Change-Id: Ib49f5f258a94b38d0d4c21bb6b290ae92facd057 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-03-20Build against Eclipse 2019-03 bitsFred Bricon1-7/+2
Change-Id: I28e0b922fd10a23498d048e4b372231df4a18522 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-03-19Bug 545026: fix background color in Source Lookup preferencesMickael Istria1-14/+36
Do not override Composite so theme association remains Change-Id: I50662eced34a4ece0011f75001e601bd6ae3bd9d Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-03-19Bug 545563 : add keyword reference to Source Lookup preference pageFred Bricon1-0/+1
Change-Id: I9b1b2a10cd5a57be2db8fa80b98cc89e4cb87cd7 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-03-19Revert "Bug 545026: fix background color in Source Lookup preferences"Fred Bricon2-14/+1
This reverts commit c5392da6bab9893bcbf5b43f651abe48d5819bea. Change-Id: I879a797c7eab84217af09fa67622cfc8582628ce Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-03-19Upversion to 1.12.0-SNAPSHOTFred Bricon83-209/+631
Change-Id: Ifc05cbb58824a9eee9219e2b0b6909c8e6586f75 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-03-05Bug 545026: fix background color in Source Lookup preferencesmilestones/1.11/1.11.0.20190220-2119Fred Bricon2-1/+14
Change-Id: Icf6a81b3473bfe5c9c79c56c68b7eff64bf6fbd4 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-02-20Make a bunch of constants finalFred Bricon3-4/+4
Change-Id: Iaf32ca1dd9d2dfe0864f5c4882d9f0ccdd92519e Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-02-20Fix selection in BinaryProjectImportActionFred Bricon1-1/+1
Change-Id: I820071e0dd21baa300077a7d51d73923d06ec450 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-02-19Bug 508238 Support projects as root of deltasTobias Liefke1-2/+1
Change-Id: Iabddfdb371a33ad38a2e22f37a3eb2ba4a2019de Signed-off-by: Tobias Liefke <eclipse@liefke.biz>
2019-02-19Bug 530898 : better error message for invalid catalog urlFred Bricon3-5/+22
Change-Id: I6bb02059b9eb62b2e360af54578e3ee56ce32d9e Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-02-19Bug 543924 : guard against NPE in MarkerLocationService.checkVariousFred Bricon1-1/+1
Change-Id: I56f79edf4ef6fb59dad096a50f7414feb9b915a8 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-02-17Bug 543766 - Java module not found at runtime even with requiresTill Brychcy1-19/+18
transitive Change-Id: I84d0b62445b1230040f1cf58e91cd535bda404b8 Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2019-01-28Bug 543898: Inconsistent casing in description of new wizardsMatthias Becker1-7/+6
Also: Remove not longer used text Change-Id: I27ad4fa44f163bdd24a59bc6c1fac08419698d03 Signed-off-by: Matthias Becker <ma.becker@sap.com>
2019-01-22Update maven build machinery.Alexander Kurtakov1-2/+22
* Bump min maven version to actual one. * Bump to tycho 1.3.0 * Define tycho plugins used version in pluginManagement. Change-Id: I91cdb889dc0528fd3c96e62a6a413008fe3bb49b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-22Bug 350953 - Console unreadable with dark themep1-21/+29
Change-Id: I95661312b5fa65b9df333d2abf9b534ec2df86d7 Signed-off-by: p <pino.silvaggio@gmail.com>
2019-01-21Fix failing tests on macOSFred Bricon1-1/+1
Change-Id: I7e4f376c45d1ae1a412d8cd441dee9c9a0854c63 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-01-21Upversion to 1.11.0-SNAPSHOTFred Bricon64-144/+143
Change-Id: I4e1c2cbc2d4de08089f5a79abec442ee32f62961 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2019-01-18Bug 515668 - Add test to ensure registry consistencyMickael Istria6-14/+96
This test verifies registry is properly cleared from obsolete or invalid poms. Change-Id: Icf6e450e6ac66325e98fa838f9d7ec94b68222a4 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-01-18Make Importer test more stableMickael Istria1-23/+10
Change-Id: I23ac0d8747d5d743bf7ad3a20b11e88a749c1eb0 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-01-08Better report MavenProblemsMickael Istria1-4/+23
Drill down some exceptions to get more details about problem and improve error messages and locations. Change-Id: I21bec965b700fbaed9f16e1ab47c5bc0431c8efb Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-01-08Support testing on Java 11Mickael Istria2-13/+50
Change-Id: I818fbd17bb46066e2a33c20938b7d0d39ad1119c Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-01-04fix(codeClean) pass an empty list instead of nullRomain Bioteau1-1/+1
Change-Id: I91b986e8f25c98f80693801be746f86ca06ef254 Signed-off-by: Romain Bioteau <romain.bioteau@bonitasoft.com>
2019-01-03Test for MNG-6530Mickael Istria8-0/+180
Maven 3.6.x introduce a severe regression, discussed in MNG-6530. This tests checks whether m2e is affected by the regression (and it is) and will help to adopt a newer Maven version making sure the upstream bug doesn't cascade to m2e. Change-Id: Id19d7c41d5cf158d1766ada5abd4a623c22af02d Signed-off-by: Mickael Istria <mistria@redhat.com>

Back to the top