/[Apache-SVN]
ViewVC logotype

Revision 591391


Jump to revision: Previous Next
Author: jdcasey
Date: Fri Nov 2 16:44:00 2007 UTC (17 years ago)
Changed paths: 33
Log Message:
Switching back to selectively import extensions into a project-specific ClassRealm, except this time extension realms will be shared (the origin of the aforementioned imports) to conserve memory tied up by classloading. Similarly, plugin realms are managed using a key produced from g:a:v of the plugin, plus the hashcode of all g:a:v of the plugin-level dependencies aggregated into one string, to distinguish the deploy plugin 2.0 with no deps from the deploy plugin 2.0 with a plugin-level dep on wagon-webdav. Plugin realms have their parent realms managed by the pluginManager now prior to lookup or execution of the mojo instance, and PluginDescriptor.(classRealm|artifacts) attributes are set for each execution. Likewise, the MavenPluginCollector now tracks plugin descriptors with their version information included, instead of just using g:a.

Had to bump the plexus-container-default version up to alpha-36 to fix a problem in ClassicSingletonComponentManager. All realms for extensions, plugins, and projects (which contain only imports from extensions) are now managed by the MavenRealmManager.


Changed paths

Path Details
Directorymaven/components/trunk/build.properties modified , text changed
Directorymaven/components/trunk/maven-core/src/main/aspect/org/apache/maven/compat/plugin/Maven20xCompatAspect.aj modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenRealmManager.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.java deleted
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenRealmManager.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RealmManagementException.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/RealmUtils.java added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/BuildExtensionScanner.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultBuildExtensionScanner.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/ExtensionManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/ExtensionManagerException.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginCollector.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/loader/DefaultPluginLoader.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/loader/PluginLoader.java modified , text changed
Directorymaven/components/trunk/maven-core/src/test/java/org/apache/maven/execution/MavenProjectSessionTest.java deleted
Directorymaven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/java/org/apache/maven/embedder/Configuration.java modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/java/org/apache/maven/embedder/DefaultConfiguration.java modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java modified , text changed
Directorymaven/components/trunk/pom.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26