Commit Graph

219 Commits

Author SHA1 Message Date
John Dennis Casey fe8c4071a6 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🅰️v of the plugin, plus the hashcode of all g🅰️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.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@591391 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 16:44:00 +00:00
John Dennis Casey a1c2b00069 bumping to new plexus container release.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588931 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 01:33:03 +00:00
John Dennis Casey 808f9c3111 adding codehaus snapshots with todo to disable once plexus is released again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588066 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:47:02 +00:00
John Dennis Casey 16c064c4bc Cleaning up extension and plugin realms for a project once the build completes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588029 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:14:27 +00:00
Jason van Zyl 453383370c o dump doxia to release version
o put doxia into the depMan of the parent POM


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587420 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 08:27:25 +00:00
Jason van Zyl def0ed7957 o use released version of plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587419 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 08:23:35 +00:00
Carlos Sanchez Gonzalez 5aded04a0a Add codehaus snapshot repo for plexus alpha 34-snapshot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587165 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 17:26:10 +00:00
Jason van Zyl 60f9555333 o use the programmatic setup of the container
o use the new active collections in Pleuxus


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587015 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 07:07:29 +00:00
Carlos Sanchez Gonzalez ca9f8e7843 Set explicit versions of jar anf bundle plugins and fix the osgi profile
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586189 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 00:19:11 +00:00
Jason van Zyl 3979ed47d3 o removing jdom from the core for the embedder and we will soon have a different tool for writing out POMs, trying to slim
down the core


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586044 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:05:59 +00:00
John Dennis Casey cebe6bcb31 rolling p-c-d version back down to -alpha-32, since this exception improvement from -alpha-33-snap isn't critical ATM.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@584797 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 14:17:39 +00:00
John Dennis Casey 0d0f7396b2 Cleaning up exception wrapping to allow better reporting of errors to end users. Also implementing the beginnings of a new error reporter, and bumping the version of plexus-container-default up to 1.0-alpha-33-SNAPSHOT to improve the accessibility to ClassRealm info for ComponentLookupException.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@584343 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:10:29 +00:00
Brett Leslie Porter 9253ec60ba utilise the bundled integration tests and add an optional module to be able to run against the just-built Maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578617 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 01:31:22 +00:00
Jason van Zyl 9c8903441f o profiles are now decoupled from settings. so that i don't do this is one huge commit i need to move settings stuff into the core
while i transform the settings components to take a MavenSession. Any component executing within Maven should be able to use
  a session. the session will contain everything required and any new component added to the system should only take the 
  session as a parameter. same pattern for all components. that's the goal. it will take a few hops.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 05:25:49 +00:00
Jason van Zyl a2a9e392b2 o remove unused module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573161 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 06:44:38 +00:00
Jason van Zyl d445c6be09 o adding the reporting-api module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573116 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:25:04 +00:00
Jason van Zyl ec5c9dca8f o don't need the maven-script module here any mo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572476 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 01:14:00 +00:00
Jason van Zyl aaaed9cf00 o i'm reworking the error reporting mechanism. i am going to concretely deal with each error we can come up with instead of
the generalization we have.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572463 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 00:34:08 +00:00
Jason van Zyl ae1501b9f6 o collecting all logging/eventing into the core. i posted a list of possible errors that can occur in the core, the stuff we had was only
partially being use and we problems being emitted with messages like:

  NOTE: One or more purely derived expression elements were detected in this expression. 
  If you continue to get this error after any other expression elements are specified correctly
  please report this issue to the Maven development team.

  I think we have to make a very concerted effort to make useful messages because I'm tired of standing behind Maven
  users and being embarrassed when they look at me and ask "what does that mean?". "i actually have no idea."


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572456 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 00:05:04 +00:00
Jason van Zyl 884f70085e o integrate changes made in maven-artifact for non fail-fast and request/result usage in the embedder for
use in IDE integration to provide as much feedback as possible.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571862 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 19:23:17 +00:00
Carlos Sanchez Gonzalez fc1dad0d22 Remove comment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571108 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 10:37:05 +00:00
Carlos Sanchez Gonzalez 0a0bc73d66 Remove unneeded repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570990 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 00:08:23 +00:00
Carlos Sanchez Gonzalez 2383636a77 Upgrade felix bundle plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570985 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 23:57:04 +00:00
Jason van Zyl 1bb845492e o now that i can get online, i can adjust for the movement of m-a
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566927 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 06:01:00 +00:00
John Dennis Casey 1d58a421ce Removing snapshot repo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@564423 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 23:35:28 +00:00
John Dennis Casey b2e2644f83 Setting up a deployment config for snapshots of maven.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@564301 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:45:56 +00:00
Jason van Zyl 1ec554f6da o updating to the releases of plexus-utils, plexus, and modello
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561196 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 00:25:39 +00:00
Jason van Zyl 6583991465 o updating to the new version of plexus which is the unified JAR once again. I can now move on
to doxia and attempt to use the same container for the trunk and branch.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@560496 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 04:57:37 +00:00
Kenney Westerhof e54695ddba Move osgi bundle manifest generation to osgi profile.
The generated manifests are incorrect, for instance, maven-project's manifest
misses the package-import org.apache.maven.artifact.transform which should come from 
maven-artifact CacheAware*.java.

Further, this doesn't work in an osgi environment, since if each artifact
is a bundle, then maven-embedder must have access to all component.xml files
in all maven core artifacts, and in all dependencies (which aren't bundles
but that can be fixed).
Osgi import/exports for packages work for resources too, but META-INF/ isn't
a package so this doesn't work. This may work with 'Require-Bundle'
(it does in my implementation although i don't think i follow the spec entirely ;)).
The next problem you get is classcasts for wagon (httplightweightwagon). This
has to be included in a bundle too and get proper exports. The same goes
for all other dependencies (plexus-*).
Maven and plexus are not suited for osgi yet - too much changing is required
in both the metadata structure, the code, and all dependencies and/or
packaging and binary inclusion of dependencies to make this work.
The best bet is to use the one-artifact embedder.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@549982 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 23:54:45 +00:00
Jason van Zyl 3d1a1ca9cf o using 6-SNAPSHOT -> using the new remote-resources plugin causes a CCE so rolling back to 5 until I can test it
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548048 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 15:53:18 +00:00
Brett Leslie Porter 3efdafe6a8 produce a source assembly as part of the release
Merged from: r547502,547498 from maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@547505 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 03:10:55 +00:00
Brett Leslie Porter 9d341d66f1 add required snapshot repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@547110 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 04:19:32 +00:00
John Dennis Casey f6416573fa Bumping surefire plugin version to fix problem with wrong plexus-utils version in ModelUtilsTest (in maven-project).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@545535 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 15:43:35 +00:00
John Dennis Casey 7db88ddfaf Bumping up the version of plexus-utils, to use PropertiesBasedValueSource for the settings builder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@545285 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 19:53:43 +00:00
Jason van Zyl cc5f2f954b Reverting the package changes
Issue id: MNG-2943


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543753 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 15:35:57 +00:00
Carlos Sanchez Gonzalez 46e5b38635 [MNG-2943] Avoid using package names used in other artifacts, configure the bundle plugin to ignore deprecated packages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543666 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:38:41 +00:00
Carlos Sanchez Gonzalez 7b5bac791a Upgrade snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541965 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 05:45:18 +00:00
John Dennis Casey 10febbbda0 Replaced old build-plan mess with a single recursive plan instance that tracks direct invocation forks as well as lifecycle forks. All unit tests run, and I'm running integration tests now, to see if this fixes it0013.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541938 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 21:06:12 +00:00
Carlos Sanchez Gonzalez 7141f4e05a [PLX-340] Embedder logging manager is ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@540393 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 02:03:56 +00:00
Carlos Sanchez Gonzalez a7bd6cc320 [MNG-2936] Upgrade plexus-utils to solve quoting issues on windows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@539925 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 19:52:03 +00:00
Carlos Sanchez Gonzalez 0efdb9d1e1 [MECLIPSE-262] Add plexus-component-api to dependencyManagement to ensure the version used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533225 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:19:29 +00:00
Carlos Sanchez Gonzalez 6339d39f7c Added OSGi manifest generation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533201 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 19:59:54 +00:00
Jason van Zyl 1e87b8acd8 o using a new plexus release, have to setting for the two jar plexus setup, i can't get the single jar
to work right now


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@532065 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 20:09:40 +00:00
Jason van Zyl fbc466ae7d git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531706 13f79535-47bb-0310-9956-ffa450edef68 2007-04-24 02:58:53 +00:00
Jason van Zyl f40e0bf52c o unifying anythign to do with artifact resolution into one module
o maven-artifact-test not used                                                                                                                   
o maven-artifact-manager is not consumed separate anywhere as the ant tasks are now an uber jar                                                  
o i'm fine with having a proper maven-artifact-api jar but it's leaking all over the place and the api is out of control                      


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531291 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 22:19:23 +00:00
Jason van Zyl 05986fc6f2 o remove maven-artifact-test, not used anywhere
o fix shade plugin so the new uber is produced
o allow plexus-utils back into the mix
o take out the dep.xml assembly descriptor as shade is making the uber jar now



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531259 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 19:58:09 +00:00
Jason van Zyl 1b12eba13d o no plugin registry anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531247 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 18:20:43 +00:00
John Dennis Casey 464cf765b2 Bumping plexus-utils version up to 1.4.1, at least until we can hide the fact that it's here in maven (including removing p-u from the artifact filter manager).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@523139 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 02:08:32 +00:00
John Dennis Casey 5a6e66f5e8 Bumping plexus version up to alpha-22 to fix a problem with active collections and the collected-requirement assignment.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521581 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 04:35:31 +00:00
John Dennis Casey 34bf67ecf1 Merging revIds: 515814:520600 from 2.1-lifecycle-refactor branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520609 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 21:40:59 +00:00