Commit Graph

250 Commits

Author SHA1 Message Date
Jason van Zyl 9185af5752 o updating to use latest snapshot of plexus which uses XBR. i'll update again when xbr does a release in a couple days.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649863 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 23:37:32 +00:00
Jason van Zyl 5018136c1a o updating the pom and build file for the addition of the distribution module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648512 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:58:47 +00:00
Jason van Zyl a5865e985c o merging in work from xbr branch for the ant task based build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648287 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:41:13 +00:00
John Dennis Casey d51e3b5e7a Adding tests for the plugin-parameter expression evaluator, and some better behavior around MojoExecution and PluginDescriptor instances. Also, bumping plexus-container-default to -alpha-45-SNAPSHOT to take advantage of a new MapConverter fix.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648053 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 23:22:10 +00:00
John Dennis Casey 9b1b57f100 Adding codehaus snapshots repo for now until we have plexus-interpolator released.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@644401 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 16:43:44 +00:00
John Dennis Casey 05e92de35e Adding plexus-interpolation to the POM and build.xml/.properties, to prepare for the fix to MNG-3355 and MNG-2339(a)...also adding a new embedder-driven integration-test project to eventually hold the error-reporting tests currently in the maven-embedder tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@644352 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 15:13:24 +00:00
Brian E Fox 02b1ff0f76 use new parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@637236 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 20:04:09 +00:00
Jason van Zyl 9bf54d4984 o rolling back r631468, we will use the container to dynamically pull in wagons in 2.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@634081 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 23:34:06 +00:00
Milos Kleint 667d800240 integrate maven-toolchain, make buildable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632594 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 14:07:09 +00:00
John Dennis Casey a5f49900f2 Adding the beginnings of a workspace to Maven, which is just a shared cache component for project, model, and POM file instances (for now). This allows fine-grained control over when such caches are cleared in environments where embedder instances may be reused multiple times, and will eventually enable new profile activators that require access to project information in the current build along with other advanced caching and cache-querying features.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632482 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:58:00 +00:00
Brett Leslie Porter c2bc33050c [MNG-2664] add wagon-webdav to the built in providers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@631468 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 02:46:17 +00:00
Herve Boutemy db4820c72b [MNG-3316] use plexus-utils 1.5+ which fixes problem when an XML attribute is named *encoding
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@630415 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 09:00:09 +00:00
John Dennis Casey 9a2d2f9e4d Rolling this back until version 8 is released...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629277 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 23:38:45 +00:00
John Dennis Casey adc2f41cae Bumping parent version to 8-SNAPSHOT until 8 is released.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@629258 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 22:41:32 +00:00
Vincent Siveton fb4092ba17 o fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@628738 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 13:43:28 +00:00
Vincent Siveton 2d42c8f6a8 o added more ML and ML archives
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@628720 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 13:25:20 +00:00
John Dennis Casey ad27233c7c Bumping to next version of plexus-container-default to take advantage of mutable ComponentMap modifications, so things like gpg:sign will work again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618779 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:26:28 +00:00
Jason van Zyl e30510f0c9 o rolling back to r617947
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618044 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:47:10 +00:00
Vincent Siveton 2282145d52 o merged from r618026
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618028 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:18:15 +00:00
John Dennis Casey 0cee304d37 Restore JDK 1.4 compat, and add a profile to do a strict build that enforces the use of JDK 1.4.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614316 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 20:49:07 +00:00
John Dennis Casey 3dbe70a25c bumping plexus-container-default to latest release version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613239 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 19:45:31 +00:00
Milos Kleint 73c4f0c651 use 1.2-alpha-12 of plexus-classworlds
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613224 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 18:56:00 +00:00
John Dennis Casey 47b1dda978 Switch to forkmode=once to try to escape problems with 2.0.x build (possibly polluting the classpath with its own plexus container api version?)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612209 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 20:37:38 +00:00
John Dennis Casey 25460922d5 More unit tests for error-reporting pointcuts, and some minor adjustments for duplicated handler methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611014 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 01:57:27 +00:00
John Dennis Casey c3355fb23d bump the plexus version to alpha-42.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609742 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 19:09:18 +00:00
Carlos Sanchez Gonzalez bb118b98dd Remove codehaus snapshot repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609729 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 18:15:15 +00:00
Milos Kleint 4b7ca6bc0e use plexus-classworlds 1.2-alpha-11, contains fix necessary for netbeans integration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601852 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 20:49:34 +00:00
John Dennis Casey d1f7e63e51 Move back to jdk 1.4 compliance in these projects.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598761 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 20:36:01 +00:00
John Dennis Casey 5fc3d35ce0 Removing maven-build-context, and replacing it with caching aspects for model-lineage stuff and project instances. Still needs caching for artifact resolution, and I have an aspect for this too, but it's not enabled yet, since it's still buggy.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@595215 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 05:37:55 +00:00
Jason van Zyl 1a286e2325 o adding PomMetadataSource for the changes to maven-artifact
o adding in all the artifact handlers here as they are Maven specific and don't belong in maven-artifact


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593857 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 08:10:35 +00:00
John Dennis Casey 696b217c20 Switch to plexus alpha-38 to help memory consumption.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593587 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 16:42:47 +00:00
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