Commit Graph

231 Commits

Author SHA1 Message Date
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
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