Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-06-18396554 changed packaging to use Orbit org.apache.velocity396554_orbitVelocityBundleIgor Fedorenko1-3/+5
sadly, this completely broke archetyper integration, so more work will have to be done before this can be merged to master DEBUG: Sisu - Initialize: org.codehaus.plexus.velocity.DefaultVelocityComponent@61631478 [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [ERROR] Problem instantiating the template loader. Look at your properties file and make sure the name of the template loader is correct. Here is the error: [ERROR] java.lang.ClassNotFoundException: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader cannot be found by org.apache.velocity_1.5.0.v200905192330 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at org.apache.velocity.util.ClassUtils.getClass(ClassUtils.java:76) at org.apache.velocity.util.ClassUtils.getNewInstance(ClassUtils.java:95) at org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:48) at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:134) at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:594) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:241) at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116) at org.codehaus.plexus.velocity.DefaultVelocityComponent.initialize(DefaultVelocityComponent.java:79) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.eclipse.m2e.core.internal.MavenPluginActivator.lookup(MavenPluginActivator.java:357) at org.eclipse.m2e.core.internal.MavenPluginActivator.getArchetype(MavenPluginActivator.java:393) at org.eclipse.m2e.core.internal.archetype.ArchetypeCatalogFactory.getArchetyper(ArchetypeCatalogFactory.java:71) at org.eclipse.m2e.core.internal.archetype.ArchetypeCatalogFactory$InternalCatalogFactory.getArchetypeCatalog(ArchetypeCatalogFactory.java:108) at org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizardArchetypePage.getAllArchetypes(MavenProjectWizardArchetypePage.java:541) at org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizardArchetypePage.getArchetypesForCatalog(MavenProjectWizardArchetypePage.java:516) at org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizardArchetypePage$15.run(MavenProjectWizardArchetypePage.java:557) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-16Reintroduced small MavenProject instances cacheIgor Fedorenko2-35/+106
MavenProject instances cache size is hardcoded to 5 and it is meant to improve incremental build performance. From limited and not very scientific testing, trivial m2e-maven-runtime incremental build takes ~130ms without the cache and <30ms with the cache. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-16Do not retain MavenProject instances foreverIgor Fedorenko9-212/+355
Before this change, MavenProject instances were eagerly loaded for each workspace Maven project are were retained for as long as the projects were opened. With this change, MavenProject instances are loaded on as needed basis and discarded when they are not needed any more. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-16Fixed missing error marker when builder can't read pom.xmlIgor Fedorenko2-133/+125
Also reworked MavenBuilder to reconsile code paths used during build() and clean() methods. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-15fixed wrong maven execution context use in MavenProjectManager#executeIgor Fedorenko1-2/+7
Reworked MavenProjectManager#execute to execute facade.getMavenProject inside expected maven execution context. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14cleanup compiler warnings in JobHelpersIgor Fedorenko1-1/+2
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14Suspend execution context during JobHelpers#flushProcessingQueuesIgor Fedorenko2-4/+37
JobHelpers#flushProcessingQueues was bypassing normal background jobs schedulling in some cases, which masked problems with Maven execution context use in background processing queues. To prevent test execution context from "leaking" into background processing queue flushing code, suspend/resume the context when flushing test queues. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14Reworked ParentGatherer and related pom.xml manipulationsIgor Fedorenko15-308/+339
Introduced ParentHierarchyEntry that encapsulates MavenProject and corresponding IMavenProjectFacade and reworked all clients of ParentGatherer to use ParentHierarchyEntry instead of brittle mapping between MavenProject and IMavenProjectFacade instances. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14trivial NPE guard in M2EUtilsIgor Fedorenko1-0/+3
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14perf: use repository session cache during jdt app launchIgor Fedorenko1-2/+14
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14perf: use repository session cache during project importIgor Fedorenko1-5/+10
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14minor MavenMarkerManager cleanupIgor Fedorenko2-5/+10
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14minor MavenBuilder cleanupIgor Fedorenko2-4/+3
Use specific MavenImpl type to be able to access methods not exposed via public interface. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14introduced @RequireMavenExecutionContext test annotationIgor Fedorenko2-0/+96
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-14introduced AbstractRunnable convenience ICallable implIgor Fedorenko1-0/+31
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-08410263 fixed resolve parent.file is null in some casesIgor Fedorenko1-1/+10
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-06new version 1.5.0-SNAPSHOTIgor Fedorenko43-84/+86
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-06-01add java version to http user-agentreleases/1.4/1.4.0.20130601-0317milestones/1.4/1.4.0.20130601-0317Igor Fedorenko1-1/+2
need to a way to measure how many users who upgrade m2e run on stale/outdated versions of java Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-25excluded jsr305 due to incompatible licensemilestones/1.4/1.4.0.20130525-0310Igor Fedorenko1-0/+7
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-25use orbit jetty 6.1.23 and servlet api 2.5.0Igor Fedorenko8-5/+5
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-21408557 : add missing icons to build.propertiesmilestones/1.4/1.4.0.20130521-1115Fred Bricon1-1/+2
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-17cleanup, removed stale repository referencemilestones/1.4/1.4.0.20130517-0214Igor Fedorenko1-10/+0
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-17407797 removed now unnecessary slf4j/logback bundlesIgor Fedorenko1-13/+0
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-15407983 : quote maven bootclasspathFred Bricon1-1/+1
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-12o deprecate setWorkspaceRuntime and encourage people to use ↵runtimeJason van Zyl4-241/+202
addWorkspaceRuntime as there are at least two variants of a Maven runtime now: standard Maven flavour and Tesla flavour o create an AbstractWorkspaceRuntime which can be shared by the existing MavenWorkspaceRuntime and the new TeslaWorkspaceRuntime
2013-05-12Merge branch 'master' into runtimeJason van Zyl29-510/+1002
2013-05-08405427 Implemented m2e version neutral system property for configuring ↵milestones/1.4/1.4.0.20130508-1527Anders Hammar1-2/+14
discovery catalog path Signed-off-by: Anders Hammar <anders@hammar.net>
2013-05-06o account for tesla runtimes that keep all configuration in the conf/ directoryJason van Zyl1-2/+7
2013-05-06fix outdated 'Update Project' command javadocFred Bricon1-2/+2
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-05407153 : improve maven projects selectionFred Bricon3-7/+51
Before selecting all projects from the workspace if the current selection is empty, we look at the current active file editor from the current active workbench part. If nothing found, then we fall back on returning all workspace projects. This allows a user to hit Alt+F5 while editing a pom.xml (or any resource in the current project) and NOT select all workspace projects. Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-05cleanup JavaProjectConversionParticipant.getMostRecentPluginVersion()Fred Bricon1-6/+10
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-05361445 : add missing artifact GAVC as marker attributesFred Bricon2-0/+24
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-05407153 : change update project key to Alt+F5Fred Bricon1-1/+1
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-05made maven runtime selection ui reusableIgor Fedorenko2-76/+144
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-05Removed remnants of maven external builder in launcher uiIgor Fedorenko3-119/+39
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-05Moved maven launch support to a separate classIgor Fedorenko3-178/+318
Extracted MavenRuntimeLaunchSupport that can be used from any java launch configuration delegate. It can be used to generate and cleanup classworld configuration file and set vm arguments matching maven runtime selected in the launch configuration. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-04Adding a managed dependency adds a blank dependency insteadMarcos Munoz3-1/+26
- I wrote 100% of the code; - I have the right to contribute the code to Eclipse - I have updated the header Changes to be committed: modified: src/org/eclipse/m2e/core/ui/internal/Messages.java modified: src/org/eclipse/m2e/core/ui/internal/dialogs/MavenRepositorySearchDialog.java modified: src/org/eclipse/m2e/core/ui/internal/messages.properties
2013-05-04perf: don't refresh project facade during full buildIgor Fedorenko1-1/+12
Changed maven builder to refresh facade when project pom.xml has changed or facade is not available or facade is stale. Use cached facade instance in all other cases. This improves performance in common case when project configuration update and clean build are performed as one user operations. May cause stale facade cache when full build is invoked right after out-of-workspace pom.xml change. This is (and always was) an edge case, if this happens, the workaround is to manually invoke project configuration update. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-04perf: consolidate registry.refresh invocationsIgor Fedorenko1-15/+30
ProjectConfigurationManager refreshed facade for each project being updated separately. This resulted in unnecessary reloading of MavenProject instances for common case of multimodule project. The fix is to invoke registry.refresh for collection of all projects being updated. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-04perf: optimized WorkspaceStateWriterIgor Fedorenko1-10/+40
WorkspaceStateWriter was forcing loading of MavenProject for all workspace projects. Use IProject persistent property to avoid unnecessary loading of MavenProjects. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-05-04Bump m-compiler-p template version to 3.1Fred Bricon1-1/+1
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-05-03407187 : fix simple module project creationFred Bricon1-1/+3
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-03404178 : cleanup MavenProjectWizardArchetypeParametersPageFred Bricon1-10/+5
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-03404178 : Validation messages from MavenProjectWizardArchetypeParametersPage ↵Roberto Sanchez1-8/+27
shown before the page is shown - 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-05-03407153 : add missing @since tagFred Bricon1-0/+1
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-03407165 : fix templateId typoFred Bricon1-1/+1
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-03407165 : add an m2e-activated profileFred Bricon2-0/+20
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-03407153 : convert 'Update Project' to a CommandFred Bricon7-92/+182
This commit converts the existing 'Update Project' to use an Eclipse Command. That command is by default bound to Ctrl+Alt+U. The existing o.e.m.c.u.i.UpdateMavenProjectAction class is deprecated in favor of o.e.m.c.u.i.UpdateMavenProjectCommandHandler. Selection related methods from MavenActionSupport and MavenProjectActionSupport have been refactored to SelectionUtil, to prevent code duplication Signed-off-by: Fred Bricon <fbricon@gmail.com>
2013-05-03406222 : fix duplicate mnemonic keysFred Bricon1-1/+1
Signed-off-by: Fred Bricon <fbricon@gmail.com>

Back to the top