Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-05-05cleanup JavaProjectConversionParticipant.getMostRecentPluginVersion()Fred Bricon1-6/+10
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-04407221 : Use latest m-compiler-p version during conversionFred Bricon1-4/+71
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-04-28405880 fixed NPE during sources download in some casesIgor Fedorenko1-17/+13
DownloadSourcesJob needed to call facade.getMavenProject(monitor) to load MavenProject instance after workspace restart. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-18Order of classpath entries is modified when updating maven projectRoberto Sanchez1-14/+11
- I wrote 100% of the code; - I have the right to contribute the code to Eclipse; - The file header contains the appropriate License header
2013-02-17wrote AbstractSourcesGenerationProjectConfigurator javadocIgor Fedorenko1-0/+13
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-16156134 m2e fails with 4.3 I20130212-0800Igor Fedorenko1-0/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-16replaced deprecated Eclipse-LazyStart with Bundle-ActivationPolicyIgor Fedorenko1-1/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-16require at least JavaSE-1.6 execution runtime environmentIgor Fedorenko2-5/+5
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-15397251,356645 introduced MavenExecutionContextIgor Fedorenko3-22/+94
ThreadLocal is used to associate maven execution context with the current thread. The context encapsulates maven session configuration, i.e. force update, offline, etc flags, as well as repository session cache and data. This ensures consistent use of this configuration and data structures by all maven calls performed by the thread. Specicially, * solves multiple cases where forceUpdate was not honoured during project configuration update (bug 397251) * solves extremely slow performance when multiple projects reference the same missing dependency and forceUpdates=true (bug 356645) See IMavenExecutionContext javadoc for new API details Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-15version 1.4.0.qualifierIgor Fedorenko2-5/+5
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-02-14Bump version to 1.3.1-SNAPSHOTFred Bricon2-2/+2
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-01-17398369 : Use m-compiler-p 3.0 when converting to MavenFred Bricon1-2/+8
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-01-16368230 : new API for Runtime classpath resolutionFred Bricon13-38/+704
3rd party plugins can contribute IClassifierClasspathProvider implementations via the new classifierClasspathProvider extension point. These implementations should resolve the appropriate classpath (main or test) for a given classifier during classpath resolution of Launch configurations by the MavenRuntimeClasspathProvider. For instance, for the ejb "client" classifier, a dedicated classifierClasspathProvider extension would make available the EJB project classes to the main classpath, but not its test classes to the test classpath. It's recommended the implementations extend the AbstractClassifierClasspathProvider, as to provide better forward compatibility. Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-01-01Code format, organize importsIgor Fedorenko28-369/+473
... also enabled automatic code format and organize imports on file save, hopefully this will help us keep formatting consistent in the future. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-12-24removed workaround for long-fixes jdt bug 154071Igor Fedorenko1-53/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-12-05374742 : limit conversion to specific packagingsFred Bricon1-1/+7
AbstractProjectConversionParticipant can now declare a set of supported Maven packagings, contributed via an extension point. The conversion manager now checks the requested packaging is compatible with a given conversion participant. If no restrictions are defined or the given packaging is listed in the restricted packagings, then it's considered compatible. For JDT project conversion, only the jar packaging is defined by default for org.eclipse.m2e.jdt.javaProjectConversionParticipant. So if a Java Project is converted to an eclipse-plugin for instance, since eclipse-plugin is not declared as compatible packaging for org.eclipse.m2e.jdt.javaProjectConversionParticipant by default, no maven-compiler-plugin configuration will be added during the project conversion. More compatible packagings can be declared, if necessary, by 3rd party plugins, using the <conversionParticipantConfiguration> element. <compatiblePackagings> is optional since the extension point could be used to add additional restriction policies (https://bugs.eclipse.org/bugs/show_bug.cgi?id=388981). It's recommended AbstractProjectConversionParticipant implementations declare at least one restricted packaging, as 3rd party plugins could introduce restrictions when none were originally declared. Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-11-18minor tweaks to m2e.jdt implementaton extensibilityIgor Fedorenko2-6/+10
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-09-07m2e 1.3.0-SNAPSHOTIgor Fedorenko2-5/+5
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-09-01388596 fixed inconsistent handling of expanded snapshot dependenciesIgor Fedorenko1-1/+1
Consistently resolve dependencies with fully expanded snapshot versions, i.e. 1.0-20120831.185302-1, to workspace projects both in BuildPathManager and EclipseWorkspaceArtifactRepository. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-08-17385666 : maintain Helios compatibilityFred Bricon1-0/+7
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-07-19385505 : don't visit missing folders for resourcesFred Bricon1-7/+9
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-06-25m2e version 1.2.0-SNAPSHOT, take 2Igor Fedorenko1-3/+3
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-06-25m2e version 1.2.0-SNAPSHOTIgor Fedorenko2-2/+2
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-06-22Reduce Exception creation overhead during java conversionFred Bricon1-0/+7
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-03-15Add null-check on directory when adding resourceFred Bricon1-2/+6
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-02-28370685 fixed resource folders being removed from classpathFred Bricon1-4/+16
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-01-30338252 require slf4j 1.6.2, ship slf4j 1.6.4 and logback 1.0.0Igor Fedorenko1-1/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-01-30359340 introduced 'nature' converter attributeIgor Fedorenko1-1/+2
When converting a project, only consider converters that apply to project's natures. All other converters are ignored, thus avoiding unnecessary bundle activation. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-01-30359340 : Add API for Eclipse project -> Maven Model conversionFred Bricon3-2/+352
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2012-01-25369752 fixed stale classpath containers not removed during updateIgor Fedorenko1-12/+0
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-01-25added missing copyright headerIgor Fedorenko1-0/+11
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2012-01-11368333 fixed missing generated sources folders in some casesIgor Fedorenko1-1/+1
Removed now unnecessary logic to de-duplicate IClasspathDescriptor entries. Deduplication did not consider 'stale' entry flag and resulted in existing entries being removed from the classpath. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-12-05364721 fixed automatic java sources downloadIgor Fedorenko1-0/+6
Regression was cased by JDT UI fix for 360642 Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-11-08363190 cleaned up most unused dependenciesIgor Fedorenko1-8/+1
Had to keep some unused dependencies as a workaround for PDE/JDT complaining about indirectly referenced .class files. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-11-07360962 preserver forbiddenReference JDT preference set by UserIgor Fedorenko1-1/+6
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-10-20361549 better handling of non-existing source foldersIgor Fedorenko1-38/+48
Create classpath entries for all compile and test compile roots defined in MavenProject, regardless if corresponding workspace resources exist or not. Mark all source classpath entries as optional, so that JDT does not complain too loudly when corresponding resources get deleted by clean workspace build or by running "mvn clean" from command line. Do shallow refresh of workspace folders that correspond to compile and test compile source roots. This should provide slightly better support for source roots added to the model by <execute/> mapping. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-10-03359725 fixed NPE when <resource/> points at workspace rootIgor Fedorenko1-1/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-09-28349586 introduced notion of pre-configuration buildIgor Fedorenko1-1/+3
Pre-configuration build is executed as part of project import and update configuration and is meant to allow changes to the mutatable state of MavenProject instance, i.e. sources roots, resource and properties. Pre-configuration buidl is executed with special "no-changes" build context, which allows direct execution of maven plugins compatible with workspace incremental build. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-09-28353266 preserve custom .classpath entriesIgor Fedorenko6-20/+105
Introduced new IClasspathEntryDescriptor pomDerived attribute. If false, the entry is preserved during project import and configuration update. Internally, pomDerived is implemented as IClasspathAttribute and thus is stored in .classpath file. All new classpath entries created through IClasspathDescriptor API are considered pomDerived by default and will be automatically removed from classpath during project configurtion update unless recreated. Clients of this API that prefer to manage stale classpath entry cleaup need to pomDerived to false explicitly. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-09-27updated .settings for juno m2Igor Fedorenko1-1/+0
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-09-11new version 1.1.0-SNAPSHOTIgor Fedorenko2-6/+6
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-08-04Merge remote-tracking branch 'origin/master' into m2e-self-hostingIgor Fedorenko3-7/+32
Conflicts: com.ning.async-http-client/pom.xml org.eclipse.m2e.archetype.common/META-INF/MANIFEST.MF org.eclipse.m2e.archetype.common/pom.xml org.eclipse.m2e.core.ui/pom.xml org.eclipse.m2e.core/pom.xml org.eclipse.m2e.discovery/pom.xml org.eclipse.m2e.editor.xml/pom.xml org.eclipse.m2e.editor/pom.xml org.eclipse.m2e.feature/pom.xml org.eclipse.m2e.integration.tests.common/pom.xml org.eclipse.m2e.jdt/pom.xml org.eclipse.m2e.launching/pom.xml org.eclipse.m2e.lifecyclemapping.defaults/pom.xml org.eclipse.m2e.logback.appender/pom.xml org.eclipse.m2e.logback.configuration/pom.xml org.eclipse.m2e.logback.feature/pom.xml org.eclipse.m2e.maven.indexer/META-INF/MANIFEST.MF org.eclipse.m2e.maven.indexer/pom.xml org.eclipse.m2e.maven.runtime/META-INF/MANIFEST.MF org.eclipse.m2e.maven.runtime/pom.xml org.eclipse.m2e.model.edit/pom.xml org.eclipse.m2e.refactoring/pom.xml org.eclipse.m2e.scm/pom.xml org.eclipse.m2e.sdk.feature/pom.xml org.eclipse.m2e.site/pom.xml org.eclipse.m2e.tests.common/pom.xml org.eclipse.m2e.usagedata/pom.xml org.jboss.netty/pom.xml pom.xml target-platform/pom.xml
2011-08-04version 1.0.200-SNAPSHOTIgor Fedorenko2-2/+2
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-08-04Adding logic to AbstractJavaProjectConfigurator to address compiler flag ↵Tim O'Brien1-2/+27
synonyms for source and target
2011-08-03344657: folder file encoding reverted when m-compiler-p config removedAnders Hammar1-3/+3
Signed-off-by: Anders Hammar <anders@hammar.net>
2011-07-31Merge remote-tracking branch 'origin/master' into m2e-self-hostingIgor Fedorenko3-34/+49
2011-07-31removed stale/redundant eclipse metadata filesIgor Fedorenko6-71/+5
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-07-29Moved maven runtime and other "wrapper" bundles to m2e-maven-runtimeIgor Fedorenko1-3/+3
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-07-28use proper progress monitor instanceIgor Fedorenko1-1/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2011-07-28typo in javadocIgor Fedorenko1-1/+1
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

Back to the top