Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 preferencesreleases/1.11/1.11.0.20190220-2119milestones/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>
2018-12-29Bug 542465 - generate jacoco.exec coverage reportsMickael Istria1-6/+20
Change-Id: I82f2b693529a124f08889aa31c88fa75263004eb Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-12-13Bug 542462 - Enforce specific version of SonarQube pluginMickael Istria1-0/+9
to work with sonar.eclipse.org Change-Id: Iedf10950c5193259f5b225b8e495a062f4002ec2 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-11-27Update discovery catalog url to 1.10releases/1.10/1.10.0.20181127-2120milestones/1.10/1.10.0.20181127-2120Fred Bricon1-1/+1
Change-Id: I020676db9692c1b0b3b44992fa89ab7a8ea0df65 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-11-24Bug 540274 - m2e doesn't put multi-release jar files on the module pathTill Brychcy1-35/+92
Change-Id: I49461d21d356d5ab99b6c9dba37bd7dbe23659a8 Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2018-11-22Bug 540700 - StackOverflowError in LocalProjectScannerSnjezana Peco1-5/+5
Change-Id: Ia364455308a690c712383892c8e97dd2a56974dc Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2018-11-21Bug 515668 - [Preliminary] Remove useless parameterMickael Istria1-4/+4
The DependencyResolutionContext contains a lot of important state. If it's not used by the methods, let's just remove it to clarify that those methods do not depend on nor change the state of the DependencyResolutionContext. Change-Id: I8e4cd4a5a59adc3c00c310e8899b63df41732cde Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-11-21Bug 515668 - [Preliminary] Make ICallable a @FunctionalInterfaceMickael Istria3-56/+28
Change-Id: I2ec68584690f0b41c534aee857e6b17889135a10 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-11-15Bug 515668 - [Preliminary] ResolverConfiguration equals/hashCodeMickael Istria1-1/+25
Change-Id: Icdf37d3ac708a6292c9fb4878300caa4286e3828 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Add lookup(Class<T>) to IMaven APIErwin Tratar2-1/+11
The lookup() variant is preferred over the lookupComponent() as it is a better fit from the thrown Exception. Change-Id: Id3bebff08d075d6cfdad60d93841bb4594c2ab3a Signed-off-by: Erwin Tratar <erwin.tratar@gebit.de> Bug: 539248
2018-09-21Bump version to 1.10.0-SNAPSHOTFred Bricon62-139/+139
Change-Id: I221389a9a95f52d765f90081d845517eaf9fc47c Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-09-20Bump version to 1.9.2-SNAPSHOTFred Bricon62-62/+62
Change-Id: Iced537f87fb413fbfdd9d8007225d6035844521c Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-09-12Bug 536867 - Support maven mojos refreshing whole folder in BuildContextMickael Istria2-2/+4
Some mojos may need to refresh the whole project folder. This case currently throws an exception: java.lang.IllegalArgumentException: Path must include project and resource name: /org.eclipse.acute.netcoredbg.linux.x86_64 at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2117) at org.eclipse.core.internal.resources.Container.getFolder(Container.java:202) at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.refreshResources(MavenBuilderImpl.java:246) This patch prevents this exception from happening. Change-Id: I7326b46d58c33b93a29658e2dd1cae9dab606a0b Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-06Bug 538461 : let MavenBuilder use a null scheduling ruleMickael Istria8-0/+45
Added an experimental and semi-hidden preference to make the Maven builders scheduling rule null. The preference will be visible when Eclipse is started with the -Dm2e.showExperimentalFeatures=true flag (in eclipse.ini) Change-Id: Ieb231142368927ed9d138afa400f1ad1cec175a1 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-05Bug 538609: Call writeWorkspaceState in a save participant instead of in ↵Snjezana Peco1-1/+27
MavenPluginActivator.stop() Change-Id: I2155c321a14e826003b6e68ac06177d5d5820ffe Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2018-08-29Bug 533463: prevent NPE when importing Maven project without artifactId.Paul Pazderski3-0/+10
Change-Id: Idae58e85fb2954395e33cc6b525433700ebd65de Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2018-08-28Bug 537578: provide a way to disable the test classpath flagFred Bricon3-16/+28
Projects adding <m2e.disableTestClasspathFlag>true</m2e.disableTestClasspathFlag> to their <properties> section will disable the test classpath segregation in JDT, allowing test resources of this project to be used as test-jar dependencies with the compile scope, in other projects. Change-Id: Id1f567732f6f7a0628fb8e2e90cc1f88fc918af9 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-08-27Bug 538319: provide minimal Java 11 supportFred Bricon1-14/+18
The change consists in making the Java project configurator look into available JavaSE-* environments, so that future Java version will be automatically supported, without needing specific development, assuming the versioning scheme remains stable. Change-Id: Ie393cd14f2f7a40660bed689b31c9e61dca9a384 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-08-23Bug 537544 : fix 10 support for real (ノ ゜Д゜)ノ ︵ ┻━┻Fred Bricon1-1/+1
Change-Id: I3b246c8589ca96665ea3327bb30516c657ff1f9f Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-08-22Bug 537544 : actually fix 1.10 support this timeFred Bricon1-1/+1
Change-Id: I73faf1d1d0eca8b33aa5bea7ad9eacdf4ae23361 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-08-21Bug 414645 : limit runtime-scoped dependencies visibility to test classpathFred Bricon1-5/+5
Change-Id: Id128d2a867968463d4a6bc8a35f93a6bdfc8ead8 Signed-off-by: Fred Bricon <fbricon@gmail.com>
2018-08-21Bug 536402: add jansi dependency to the embedded MavenAurélien Pupier1-0/+4
Change-Id: I72c55158b23d224928c2c3d7e99b4cbd952f9458 Signed-off-by: Aurélien Pupier <apupier@redhat.com>

Back to the top