/[Apache-SVN]
ViewVC logotype

Revision 585012


Jump to revision: Previous Next
Author: jdcasey
Date: Tue Oct 16 02:59:05 2007 UTC (17 years ago)
Changed paths: 21
Log Message:
Adding project-level ClassRealm, which serves as a nexus for extensions. Extensions are loaded into separate ClassRealm instances, then scanned for components. These ComponentDescriptors are then used to add an import from the extension realm back to the project-session realm, and then the descriptor is added to the container with the project realm as its RealmId. From here, the registerWagons() method has been changed to use the map of projectSessions, and iterates through each project-level realm, setting the lookup-realm, then calling findAndRegisterWagons(..) for each. Also, the plugin manager has been changed to use the project-realm for loading plugins if it exists (the plugin realm becomes a child of the project realm, which should allow plugins to vary by project within a single reactor, though I haven't tested that yet).

Also, shading the embedder to hide the jdom classes, and adjusting the assembly appropriately.

Final thing: I'm rolling back some changes I accidentally made to the CLIManager the other day, which breaks the release plugin because the long options were removed for some reason (save action in Eclipse; don't ask).


Changed paths

Path Details
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/Maven.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.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/ReactorManager.java modified , text changed
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 added
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/ExtensionScanningException.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/PluginContainerException.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/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java modified , text changed
Directorymaven/components/trunk/maven-embedder/pom.xml modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/assembly/bin.xml modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java modified , text changed
Directorymaven/components/trunk/maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26