Apache Maven core
Go to file
Kenney Westerhof 711eb8c416 Add get/setParentContainer to the configuration, and use it in
the embedder.

If the classrealm that's passed in has a parent realm, 
then only the resources from the realm are scanned (getRealmResources).
This was done to re-use components from parent realms.

However, when embedding maven within another plexus container,
providing a new dummy classworld with the current classloader
as the parent, no components will be found. Since there's no 
parent container, it won't be checked for components.

So, allowing a parent realm to be set in classworlds also
requires a parent container to be set, so that when no components
are found (since they're present in the parent container),
there is a parent container available to delegate lookups to.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@563173 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:38:57 +00:00
maven-artifact Cleanup unit tests to make them more readable; add more tests for snapshots; failures are commented out (see table at http://docs.codehaus.org/display/MAVEN/Versioning) 2007-07-24 13:59:54 +00:00
maven-build-context Merging revIds: 515814:520600 from 2.1-lifecycle-refactor branch to trunk. 2007-03-20 21:40:59 +00:00
maven-core o Minor adjustment to error message. 2007-08-02 12:34:04 +00:00
maven-embedder Add get/setParentContainer to the configuration, and use it in 2007-08-06 15:38:57 +00:00
maven-error-diagnostics updating license headers 2007-02-28 22:50:38 +00:00
maven-lifecycle Try to assume that a plugin bound in the POM but not resolved during build-plan-building will be resolvable later. 2007-06-08 16:46:20 +00:00
maven-model MNG-1849 Fix Extension.hashCode() throwing NPE if groupId or artifactId is null 2007-06-01 03:47:31 +00:00
maven-monitor updating license headers 2007-02-28 22:50:59 +00:00
maven-plugin-api Remove svn:executable from pom and java files 2007-03-02 10:55:05 +00:00
maven-plugin-descriptor Remove svn:executable from pom and java files 2007-03-02 10:55:05 +00:00
maven-plugin-parameter-documenter updating license headers 2007-02-28 22:51:47 +00:00
maven-profile updating license headers 2007-02-28 22:52:16 +00:00
maven-project Fix it0088 / MNG-2124 etc.. (regression) 2007-07-30 22:49:24 +00:00
maven-reporting updating license headers 2007-02-28 22:54:36 +00:00
maven-script Upgrade snapshots 2007-05-27 05:45:18 +00:00
maven-settings Restoring backward compatibility and deprecating old methods, so plugins and shared utilities can still use them without having to release new versions or suffer incompatibilities. 2007-07-13 02:30:50 +00:00
src/main/assembly produce a source assembly as part of the release 2007-06-15 03:10:55 +00:00
README.txt o point people at the website 2006-11-23 20:46:24 +00:00
ant-contrib-1.0b2.jar Merge maven.new for latest plexus classworlds and container APIs 2006-12-07 00:17:53 +00:00
build.properties o updating to the releases of plexus-utils, plexus, and modello 2007-07-31 00:25:39 +00:00
build.sh o the joys of using ant to bootstrap :-) It's staring to look like a real ant build! 2006-12-11 01:33:39 +00:00
build.xml o updating to the new version of plexus which is the unified JAR once again. I can now move on 2007-07-28 04:57:37 +00:00
ci.sh o updating plexus and classworlds with latest releases 2006-12-30 06:34:51 +00:00
doap_Maven.rdf license header update 2007-02-28 22:57:03 +00:00
make-embedder.sh Reverting the package changes 2007-06-02 15:35:57 +00:00
pom.xml o updating to the releases of plexus-utils, plexus, and modello 2007-07-31 00:25:39 +00:00

README.txt

See: 

http://maven.apache.org/guides/development/guide-building-m2.html