John Dennis Casey
00a1edc008
disable project-specific loading of extensions and plugins until we can figure out how to do it without causing OOME's.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 23:15:23 +00:00
John Dennis Casey
b97533f845
Fix Maven/DefaultMaven method signatures, push projectSessions map into request.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589822 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 19:42:33 +00:00
John Dennis Casey
4f44eaddf3
Restoring ability to use webdav wagon by fixing WagonManager's use of new active collections in the container, and fixing the active collections to scan descendant realms for qualifying components.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588777 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 20:57:39 +00:00
John Dennis Casey
b0cc7be1ac
Improving the use of project sessions in the embedder, and exporting control over the project session map to the embedder instead of Maven.execute().
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588144 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 05:13:22 +00:00
Carlos Sanchez Gonzalez
2271551d4a
Store the pom File object in the execution request instead of its path
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588060 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:25:48 +00:00
Carlos Sanchez Gonzalez
9637ac8c5a
Store the pom File object in the execution request instead of its path
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588059 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:25:28 +00:00
John Dennis Casey
9d94f8d310
Fixing NPE in execution request. Apparently, bootstrap was not run after these were changed.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588034 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:23:48 +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
Carlos Sanchez Gonzalez
64e0d64a56
Store the pom File object in the execution request instead of its path
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587998 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:07:08 +00:00
Jason van Zyl
b762ce620c
o put the tycho profile back
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587800 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 06:58:27 +00:00
Carlos Sanchez Gonzalez
1241d1b299
Kept John's constructors but still use File/URL instead of String
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587692 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:23:22 +00:00
Carlos Sanchez Gonzalez
efd372c24a
Restore backwards compatibility readding static OS_* vars
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587684 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:55:53 +00:00
Jason van Zyl
c81694144f
o cleaning up debug output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587649 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 20:33:43 +00:00
Jason van Zyl
7f8b8699a5
o for milos' test i am now adding the component to the container programmatically so we don't need to manually stuff an artifact handler into
...
the artifact handler manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 20:33:10 +00:00
Jason van Zyl
959ea187df
o fork never for every build except the embedder, something in surefire is causing a verify error if I fork all the other builds
...
o get rid of the tycho profile, eugene has made his own eclipse plugin thingy and doesn't need the felix plugin which doesn't work properly or half-ass attempt at making a manifest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 17:42:19 +00:00
Herve Boutemy
353cd5bac4
[MNG-2254] support XML file encoding when writing settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587489 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 12:56:21 +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
John Dennis Casey
eb2e63bd5b
Excluding jdom from bin assembly, since it's brought in by maven-model and maven-profile still...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586105 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 19:54:19 +00:00
John Dennis Casey
b9995dfb60
Updating reporting for mojo failures.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586100 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 19:38:16 +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
Jason van Zyl
8f084c95db
o updating assembly and that we don't need the shaded jar anymore
...
o keep JDOM in the distro for the time being
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585563 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:32:51 +00:00
Herve Boutemy
eecea0895e
[MNG-2254] support XML file encoding when reading/writing settings and pom files
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 21:26:43 +00:00
John Dennis Casey
ac8ff20611
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).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585012 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 02:59:05 +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
John Dennis Casey
957a77435a
some formatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583515 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 15:31:09 +00:00
John Dennis Casey
dc6e7c8368
[MNG-3194] Fixing logging problems, but error diagnosis is still missing from CLI version of things...this should probably be replaced and/or restored. I'll commit unit tests for 3194 next.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583314 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 22:28:02 +00:00
Jason van Zyl
975862e353
test project for the missing parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583031 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 00:46:28 +00:00
Jason van Zyl
112e69aa0e
o adjusting the request to hold the upfront repositories that can be taken out of profiles
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@582071 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 04:03:10 +00:00
Jason van Zyl
5d2c433ba9
o applying patch to allow to read the model with a reader
...
Submitted by: Eugene Kuleshov
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@581732 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 21:40:17 +00:00
Jason van Zyl
b3461d5936
o If we are not actually in an SVN repository then don't run tests that require SVN.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580653 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 22:11:05 +00:00
Jason van Zyl
e6a6476ad7
o cleaning up the project builder, deprecating maven 1.x repository support, it will be 3 years by the time this is actually released
...
so tough noogies for people still trying to use Maven 1.x repositories with Maven 2.x.
The next series of refactoring I will be doing with GIT.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580609 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:19 +00:00
Brett Leslie Porter
3bc1f858e1
removing JDK 5 API and adding some notes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573953 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 06:29:48 +00:00
Brett Leslie Porter
e76401752d
[MNG-3088] s/maven/apache-maven/ in the assembly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573932 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 23:42:20 +00:00
Jason van Zyl
14ff3302d0
o block a few more artifacts out of the assembly
...
o the populator now has a clear populate() that shows how the request is being constructed, there should be nothing beyond the embedder now
the does any of this configuration and loading and it should remain this way. no processing of settings or profiles deep in the bowels
of Maven is all happens in the populator.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573783 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 04:04:48 +00:00
Jason van Zyl
d72b8bc88a
o put the profile manager back into place as the project build is exposed in a ton of plugin. arrrg.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573718 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 21:29:08 +00:00
Jason van Zyl
e9b6657f4c
o scrub of the settings building, was able to reduce to the need of the build context and use the execution request
...
directly. eventually i will get it to be the session, along with the profile tools, then all the tools can also
share a common interpolator, which can then be shared by other components instead of having 5 interpolators lying
around causing a great deal of inconsistency.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573494 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 07:54:11 +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
d919345800
o adding components the populator needs, it's handling settings building now
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573439 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:51:04 +00:00
Jason van Zyl
c8cf70d2da
o use cli options the same way as in other places
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573438 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:50:26 +00:00
Jason van Zyl
a698b7ef49
o the request populator is now responsible for initializing everything, anything you want to know about how the front-end is configuration, or initialized can be found in this class. i think i have almost everything out of the Maven component and in the Embedder. this is the one place to look now and I know feel comfortable about documenting it
...
o the profiles additions from settings are now process in the request populator and taken out of the default profile manager itself which has resulted in decoupling the Settings from the profile manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573435 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 03:47:07 +00:00
Jason van Zyl
99bd5ac68f
o trying to get a grasp of the entire profile mechanism, especially in relation to how they deal with repositories.
...
here i am just collecting all the profile code into one place as it's scattered over several packages and is
hard to determine what the profile system as a whole is doing. the first task i would like to do is decouple
the profile system from the Settings. this can be done at the front-end i.e the profile information from Settings
can be fed into the profile manager up front.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573325 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 17:09:36 +00:00
Jason van Zyl
2769a95f9d
o part of my test slipped in before it's finished
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573128 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:55:36 +00:00
Jason van Zyl
e4d54ae2da
more of the sample import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573092 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 23:00:18 +00:00
Jason van Zyl
8b77989253
o inconsistent new lines from windows blew up the import (why is svn so retarded?)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573091 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:58:29 +00:00
Jason van Zyl
558f841229
o a complex sample project to test a new import model that should make it far easier for IDE integration. I'm tired of looking at duplicated code.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573090 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:52:27 +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
2a241710f0
MNG-3182
...
MNG-3183
First cleanup of the logging code (it is still a mess), but all the console logging has been removed from the Maven component and pushed back
into the CLI code. As a result we now have a way to log to a file easily.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 19:33:10 +00:00
Jason van Zyl
441b918f80
o try and start localizing the handling of -f, release poms, and normal poms to the embedder. just too much funk
...
going on in the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572388 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 16:52:37 +00:00
Jason van Zyl
cc1ca10d74
o separating out the MavenEmbedderProjectWithExtensionReadingTest which shows that the artifacts handlers must be loaded up-front
...
in the readProjectWithDependencies method because it is not being done in the core unless projects are executed. So Milos' assertion
is correct. I'm now looking at a layered approach for project resolution and then execution so that the readProjectWithDependencies
(which is essential for IDE integration) will yield something that can be pushed into the lifecycle executor. Right now there
is much duplication which makes the IDE integration crappy.
Another result of this is trying to create a simple IDE import model that gives back client code the fully resolved, topo sorted
set of projects which point to binary dependencies outside the reactor, and to source folders inside the reactor. The result will
be a useful model for all IDE integration, right now everyone is doing their own thing. This model will need hooks for customization
to take into account turning "workspace resolution" on/off and allow easy overriding of this process.
o Fixed IT0035
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572366 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:42:29 +00:00
Jason van Zyl
01f970117a
o if we are given a base directory, set the actual POM file in the populator, we can eventually move a lot of the logic that is in the CLI there because it's not CLI specific
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572237 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 06:23:09 +00:00
Jason van Zyl
2425f945fb
o adding a validation method to the lifecycle executor so that I can tell users what is wrong before actually trying
...
to execute the lifecycle. Trying to do this validation shows in detail how tangled some of our code is as I need
to create the dispatcher in order to create the session which is required to make the reactorManager which
is required to get the project required to validate the goal name ... yah.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572214 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:35:05 +00:00
Jason van Zyl
5c5c39e8ec
o use ${pom.version} and not just ${version}
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572213 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:25:41 +00:00
Jason van Zyl
5380116b79
MNG-2398: the lifecycle executor exception wasn't being propagated properly.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572210 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 01:39:28 +00:00
Jason van Zyl
4005482797
MNG-2935: make sure build tanks if the settings are bad (user and global)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572180 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 22:48:43 +00:00
Jason van Zyl
248c7199a0
o remove redundancy
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572041 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 17:25:01 +00:00
Jason van Zyl
fc05e3e050
o a project to test the resolution of projects when they are not installed in the local repository. this makes sure that
...
IDE integration works for newly created projects that have inter-module dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571905 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:02:23 +00:00
Jason van Zyl
8ce69da938
o separate out the embedder tests into packages by concern
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571902 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:01:02 +00:00
Jason van Zyl
e72f6758be
o script for creating the eclipse integration jar
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571901 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:00:32 +00:00
Jason van Zyl
c16665a086
o renaming to populator as I'm going to put a few more pieces that are currently instantiate but should be components like the profile manager. I will move this out of DefaultMaven and put it in the request to be shared in the session.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 23:21:29 +00:00
Jason van Zyl
c2f29dc0a4
o sorting tests in packages by execution, validation, and project (to come)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571885 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:59:30 +00:00
Jason van Zyl
41977f976a
o removing debug
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571883 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:56:32 +00:00
Jason van Zyl
9c88509721
o putting the old style assembly back as it is too much pain to for the uber jar
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571876 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:36:35 +00:00
Jason van Zyl
8b0aaef52f
o creating two scripts for convenience for the IntelliJ and Eclipse IDE integrators
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571874 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:28:26 +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
Jason van Zyl
7097dc041a
o add a little script for Vlad to build the embedder JAR for the IntelliJ integration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571861 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 19:21:20 +00:00
Jason van Zyl
a227a73569
o a little more documentation about the profile required for IntelliJ
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571375 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 04:48:02 +00:00
Jason van Zyl
34b4b59c7c
o creating a profile for the embedder that needs to be created for IntelliJ
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571374 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 04:43:57 +00:00
Carlos Sanchez Gonzalez
a8f5da6950
Close properly the readers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571120 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 12:00:09 +00:00
Carlos Sanchez Gonzalez
fd64c2db2a
Close properly the readers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571106 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 10:34:35 +00:00
John Dennis Casey
72f24cf693
Commenting assembly plugin version 2.2-beta-2-SNAPSHOT, adding 2.2-beta-1.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570895 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:48:45 +00:00
Carlos Sanchez Gonzalez
4f6f890697
Add tests for new methods
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570891 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:31:11 +00:00
Carlos Sanchez Gonzalez
32f2fce4ee
Add TODO
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570890 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:30:57 +00:00
Carlos Sanchez Gonzalez
3c0f795c34
Fix bugs in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570889 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:24:22 +00:00
Carlos Sanchez Gonzalez
591efea5e8
Gather more information on settings validation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570805 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 13:26:29 +00:00
Carlos Sanchez Gonzalez
50b73df74b
improve exception message
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570791 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 12:53:18 +00:00
Carlos Sanchez Gonzalez
07c6e661f9
buildWithDependencies in the embedder shouldn't check for distribution status by default. Add test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570550 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 19:53:59 +00:00
Kenney Westerhof
50c099ba54
attach the shaded artifact instead of replacing it. When embedding maven or using another p-c-d or any other lib, those classes will be duplicated in the classpath, wreacking havoc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570281 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:41:25 +00:00
Kenney Westerhof
454114df03
Set a name for the container
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570277 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:27:39 +00:00
Vincent Siveton
53a4546af0
o added new license header
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566869 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:46:30 +00:00
Vincent Siveton
785e6819bd
o merged r566867 from branch (removed useless copyright)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566868 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:44:42 +00:00
John Dennis Casey
0d38b157b0
Adding new assembly descritor to assemble a repository containing the dependencies for maven (pre-shaded), and adding a profile to the POM to allow us to trigger the creation of this new assembly. This is valuable for plugins and other components that list one or more maven artifacts as dependencies, so they can be built without rebuilding all of maven.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@564306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:48:21 +00:00
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
Jason van Zyl
b01b42f89e
o using container configuration to setup plexus container
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561204 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 01:14:42 +00:00
Jason van Zyl
19ba741d4d
we have to keep classwords in a separate jar and boot it by itself or we end up with everythign in the primordial classloade
...
which sucks ass. I didn't notice that until I ran a big slew of tests and the realm out put was entirely different. We defin
definitely want to boot up with just classworlds in the primordial loader so we can do what we like with the rest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561194 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 00:24:55 +00:00
Kenney Westerhof
335a6fd250
fix the build - replacing project.file with a file in another dir fscks' up the alignment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561177 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 22:55:13 +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
Carlos Sanchez Gonzalez
844e17d4b5
Don't check for the distribution status building MavenProjects
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@555428 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 22:54:30 +00:00
Mark Hobson
b79759f338
[MNG-3039] mvn.bat fails
...
Fixing same problem for trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548789 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 16:32:57 +00:00
Jason van Zyl
c3272e9284
o put the shader in the package phase and order the plugins so that the shading happens first and then the assembly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548224 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 05:38:33 +00:00
Jason van Zyl
97cf3951e6
o just adding my debug ruby stuff
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543921 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 15:33:37 +00:00
Jason van Zyl
f53a45bda8
MNG-2992 Set %HOME% to something sane if null
...
Submitted by: Tim Reilly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543790 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 21:41:53 +00:00
Jason van Zyl
e8fc77cccd
o some jruby integration. I will integrate what Eric has made but this allows for some easy experiments with the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543754 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 16:31:27 +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
1bd449b2f1
[MNG-2943] Avoid using package names used in other artifacts: org.apache.maven
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543664 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:36:54 +00:00
Carlos Sanchez Gonzalez
1891c6abc0
[MNG-3013] The plugin manager incorrectly caches plugin versions between embedder calls, added test case that doesn't show the wrong behaviour yet
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543655 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:07:00 +00:00
John Dennis Casey
dce22c78fb
OPEN - issue MNG-2503: mvn.bat file is not correct for 4NT 5.0 and does "endlocal" twice if error
...
http://jira.codehaus.org/browse/MNG-2503
Applying the patch, even though it's not a patch...I was able to generate one using the supplied file and the current mvn.bat file from the trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543621 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 21:21:43 +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
d985970c2a
Fix failing test in cygwin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533235 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:40:00 +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
906e4a2f74
o state requirement of the mr file wagon
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@532026 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 17:46:48 +00:00
Jason van Zyl
e095f2ffff
o update shade
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531928 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 13:28:20 +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
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
e81d01d582
o complete removal of the plugin registry
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531246 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 18:18:46 +00:00
Jason van Zyl
93c8d30067
o lock verison of shade
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@530963 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 01:21:05 +00:00
Brian E Fox
f76116a78b
MNG-2582, MNG-2376 - added Java and OS info to debug output.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526632 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 02:27:05 +00:00
John Dennis Casey
a48bbdc0c8
Restoring fail-fast as a default reactor behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@523137 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 01:47:28 +00:00
Andrew Williams
589c23e289
Erm, jvanzyl, I don't think you meant to commit this change, it stopped maven from bootstrapping a usable application
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521647 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 09:38:52 +00:00
Jason van Zyl
05162de0d0
o bits for mng-1577
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521543 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 00:11:31 +00:00
Jason van Zyl
ccb49439ee
o fixing default perms for deployment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 16:49:57 +00:00
Jason van Zyl
17a7a726c5
MNG-2868 The behavior in MNG-1577 is now available on the trunk
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520923 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 16:00:17 +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
Brett Leslie Porter
c231a635b3
put back correct licenses that were reverted in r496493
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@519281 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 10:17:28 +00:00
Jason van Zyl
f03d8d662f
o testing repeatedly with an empty repository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516820 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 00:48:53 +00:00
Jason van Zyl
badcd2287f
o roll back to wagon beta-2 to fix the rash of problems with m2eclipse plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516654 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 05:38:50 +00:00
Jason van Zyl
ebb699fe5f
o the minijar plugin is now on central
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514450 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 18:07:44 +00:00
Jason van Zyl
9ae91863b4
o moving assembly descriptor to src/main/assembly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514305 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 01:07:00 +00:00
Jason van Zyl
5fe0842333
o i guess there are a couple people using windows ... buy a MAC!
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514300 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 00:56:51 +00:00
Jason van Zyl
3bd3bb5b79
o moving over the stuff required for the CLI here
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514296 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 00:48:55 +00:00
Andrew Williams
1f9709694d
More role-hint fixes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514019 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 23:43:49 +00:00
Jason van Zyl
4116fe6192
o get rid of debug
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513966 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 21:28:52 +00:00
Jason van Zyl
9a08951069
o fixing header
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513943 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 20:46:44 +00:00
Jason van Zyl
6fd5ead5d5
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513938 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 20:36:58 +00:00
Jason van Zyl
2ccc760685
updating license headers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513028 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:50:21 +00:00
Jason van Zyl
967c2533b9
MNG-2051 The SCM plugin which uses the scm manager works fine.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512903 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 19:02:06 +00:00
Jason van Zyl
053216ffe6
MNG-2829 PlexusLoggerAdapter.error(String, Throwable) ignores Throwable
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512897 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:37:18 +00:00
Jason van Zyl
d9004ba0ef
MNG-2778 Code and documentation for accessing the plexus container.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512896 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:33:25 +00:00
Jason van Zyl
98dea7e4d6
o documentation for MNG-2835
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512892 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:23:03 +00:00
Jason van Zyl
fb7988c21c
o Tests for MNG-2835
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512891 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:21:58 +00:00
Jason van Zyl
24b3c86c9b
MNG-2835 Make sure the global settings are obeyed when they are the only settings provided
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512890 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:21:05 +00:00
Jason van Zyl
9d1ee49281
MNG-2330 adding a little harness for running projects easily and testing with eclipse:eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512844 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:04:57 +00:00
Jason van Zyl
fb03e03672
o optimizing imports, trying to clean up settings use so i can track them down and purge them
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512775 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:47:51 +00:00
Jason van Zyl
d3deb61421
o remove maven-tools and put the utility code in the only module that now depends on it, maven-project
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512763 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:20:13 +00:00
Jason van Zyl
f37ff7ef4d
o use FileUtils for copying the POM.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512749 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 13:17:02 +00:00
Jason van Zyl
0f95fb4472
o typo in test name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512589 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:13:53 +00:00
Jason van Zyl
de8ba44853
o fix sample reference
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512586 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:03:42 +00:00
Jason van Zyl
0b0949ab86
o make sure that even when all the configurations handed to the embedder are crap
...
it will still start up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512585 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:02:12 +00:00
Jason van Zyl
e981109693
o updating the example
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512583 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:54:07 +00:00
Jason van Zyl
4d8b30460a
o start of a little site for the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512572 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:34:59 +00:00
Jason van Zyl
f34ebdd221
o adding snippet markers to the simple example
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512571 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:31:57 +00:00
Jason van Zyl
eb87f15ce7
o adding a simple example that can be used as a snippet
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512570 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:29:42 +00:00
Jason van Zyl
8bb63d56d7
o Going to start writing some documentation and I would like everything of use in the embedder package. I'll keep internal goodies in sub packages.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512559 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:56:48 +00:00
Jason van Zyl
b5cbfc8bd4
o more tests for the configuration validation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512558 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:54:23 +00:00
Jason van Zyl
fb6ffdc9de
o test for embedder configuration validation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512556 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:45:55 +00:00
Jason van Zyl
afc8c1ac11
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512555 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:33:00 +00:00
Jason van Zyl
a96f5bdd95
o settings simplication
...
o removing old configuration, cleaned up and moved to another package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512554 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:32:38 +00:00
Jason van Zyl
6edbabf67f
o we'll use the embedder now for some default values because we still have an asymmetry for many of the methods that
...
don't use an execution request, or configuration, but require direct use of things like settings and the local repository. an
example being the profile manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512541 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:13:33 +00:00
Jason van Zyl
513e42d79d
o adding a way to set the local repository in the configuration
...
o adding a configuration validator so that clients can tell what state the settings are in before firing up the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512540 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:11:43 +00:00
Jason van Zyl
d4c28b894d
MNG-2847 close up the reader properly when reading model.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511342 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 20:39:48 +00:00
John Dennis Casey
ac4e1f1cfa
adding SettingsBuilderAdvice configuration the MavenExecutionRequest.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511175 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 00:57:00 +00:00
John Dennis Casey
2d5711c8f0
Adding SettingsBuilderAdvice, to enable skipping default locations for settings files. Also, removing the settings cache, to enable call-by-call synchronization of settings between Maven embedder instances that share the same settings files. Next step is to refresh settings per-call to the embedder.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511172 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 00:44:29 +00:00
John Dennis Casey
b8289153a1
Adding read/writeSettings() api to the maven-tools and the embedder along with unit tests in each place, and adding a cache object for the settings that is based on the build-context.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@510335 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:01:54 +00:00
Jason van Zyl
1ff7c5a235
o renaming the embedder request to embedder configuration which is more appropropriate
...
o move toward using one constructor which takes a configuration for session wide configuration, the execution still
takes an execution request as per usual
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505664 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 09:20:11 +00:00
Jason van Zyl
5288374ef1
o fixes to the embedder for finding settings and cleaning up embedder initialization
...
Submitted by: Eugene Kuleshov
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505612 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 02:01:42 +00:00
Joakim Erdfelt
33f23db7de
* Migrating to wagon-manager 1.0-beta-3-SNAPSHOT
...
* Created org.apache.maven.artifact.manager.ArtifactManager
* Deprecated org.apache.maven.artifact.manager.WagonManager in favor of new ArtifactManager
* Updated the rest of maven to utilize this new ArtifactManager.
* The default wagon providers list is now managed from within wagon-manager's dependency list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505520 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 21:53:27 +00:00
Milos Kleint
345e8c3732
MEVENIDE-484 - embedder's project loading didn't take the artifact handlers in plugin extensions into account when loading project dependencies.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498975 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 10:20:10 +00:00
John Dennis Casey
cf308da3de
Adding ability to undo the log-level change, to some extent...it's not too elegant, but it should work in most cases.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498043 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 02:02:47 +00:00
John Dennis Casey
4ca4301f1d
Adding line to enable log-level control from the MavenExecutionRequest.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498030 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 01:00:32 +00:00
Kenney Westerhof
b7ae6feb1c
Enable all tests again
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497810 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 13:43:11 +00:00
Jason van Zyl
e2e634d16c
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497176 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 21:19:32 +00:00
Kenney Westerhof
b61fba1d5f
Implemented embedder extensions. You can register a set of URLs that
...
are scanned for components, after the container is started, that
will override any core components defined.
o Updated (Default)MavenEmbedRequest with a getter/setter for the extension list;
o Updated the MavenEmbedder to scan the extensions.
o Added testcase: dummy component implementation and components.xml to specify
the override.
o Also added pom.properties since running unit tests in an IDE
will fail because the pom.properties is generated only inside the archive,
and with project references inside the IDE that resource is not available.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496904 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 00:46:49 +00:00
John Dennis Casey
01b08e86d1
Adding showErrors to the tests, so we can see problems that come up.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496399 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:44:56 +00:00
Jason van Zyl
812e887a07
o little example of using the source plugin to create aggregate source jars and having the source jars be installed with normal install/deploy
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496200 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 01:30:57 +00:00
Jason van Zyl
990f9a55c9
o update bundle
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495102 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:39:55 +00:00
Jason van Zyl
26e8fb2081
o add method so that the artifact handler can be looked up, useful in IDEs where we want to look up whether a particular artifact should be added to the classpath.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495101 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:39:22 +00:00
Jason van Zyl
241652c45f
o clean up distribution management
...
o going to just use my manifest with filtering, the assembly plugin doesn't work and neither does the
the felix plugin. they just crap out or don't work. this works and does the job just fine
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493929 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:41:56 +00:00
Jason van Zyl
ed381aec0d
o Code from netbeans integration that will write out changes to a model and preserve the existing structure for the most part.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493817 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:23:21 +00:00
Jason van Zyl
d47e7c221c
o a little utility using jdom to write out models
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493812 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:16:37 +00:00
Jason van Zyl
72e7a4df53
o lining up all the uses of modello and using 1.0-alpha-13 of the modello plugin everywhere
...
o add the generation of a JDOMWriter for use in the embedder so that working with models doesn't
completely whack the existing XML, and allow for outputting the namespace declarations
o add a security manager to the embedder which is off by default but will barf if someone
tries to set system properties. you have to specifically turn this on because it will more then
likely break tons of code like xerces setting a system property named "version", nice.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493811 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:13:33 +00:00
Kenney Westerhof
4be6542867
Update dependency on plexus-container-default to 1.0-alpha-16-SNAPSHOT to fix child
...
container issues when maven builds use extensions;
Update dependency on plexus-classworlds to 1.0-alpha-7-SNAPSHOT to fix child container
plexus-bootstrap.xml loading problems.
Define p-c-d as a direct dep for maven-embedder; if not, an older version can be used
than is specified in the parent pom (dependencyManagement is not applied to transitive deps,
which is a bug (right?)).
Alter AbstractArtifactTask.java and MavenEmbedder.java to call the proper constructor
in DefaultPlexusContainer.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493294 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 04:03:24 +00:00
Jason van Zyl
318ec6ac0f
o looking other IDE integration and cleaning up stub methods that are useless to anyone until they are implemented fully and properly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491536 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:29:29 +00:00
Jason van Zyl
ae10e790ac
o remove old readProjectWithDependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491535 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:21:47 +00:00
Jason van Zyl
439ba113d7
o move more configuration to one location
...
o removing uneeded components from DefaultMaven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:53:39 +00:00
Jason van Zyl
8120d856c7
o collect all WagonManager configuration in one place
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491531 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:45:35 +00:00
Jason van Zyl
774972e7ec
MNG-1385 You can now activate a profile using the embedder.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491529 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:08:06 +00:00
Jason van Zyl
e07b4f0970
o making the baseDirectory properties the same
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 02:54:23 +00:00
Jason van Zyl
23e2504d23
MNG-2733 When request.setPomFile( file ) is used, takes its basedir for the execution request so that request.getBasedir() doesn't NPE
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491524 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 02:52:56 +00:00
Jason van Zyl
8f4a420c8d
MNG-2728 return a MavenExecutionResult from Maven.execute( request )
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491512 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 00:18:12 +00:00
Jason van Zyl
cd1c9e7b29
MNG-2721: Determine a standard way to pass proxy information into the embedder
...
http://jira.codehaus.org/browse/MNG-2721
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491499 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:56:33 +00:00
Jason van Zyl
54ee18c115
MNG-2724: Create a component in the embedder who's responsibility is to configure an execution request
...
http://jira.codehaus.org/browse/MNG-2724
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491490 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:07:01 +00:00
Jason van Zyl
622f014e0d
MNG-2724: Create a component in the embedder who's responsibility is to configure an execution request
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491487 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:04:13 +00:00
Jason van Zyl
9780fa6c86
o updating the tests for the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491469 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 19:22:57 +00:00
Jason van Zyl
87b3775025
MNG-2722 Create a strategy for providing sane default values in the MavenExecutionRequest
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491468 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 19:20:44 +00:00
Milos Kleint
9d792d6d1c
remove System.out
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491399 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 09:26:27 +00:00
Jason van Zyl
43ec595fed
o Removing the LifecycleExecutor component, not used.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491395 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 06:03:37 +00:00
Jason van Zyl
e259065562
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491373 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 03:24:59 +00:00
Jason van Zyl
8e51bbe8ec
o Remove the MavenEmbedderConfiguration as this is not used in any of the IDE integration. The MavenEmbedRequest is what is being used as the session level configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491363 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 02:13:58 +00:00
Jason van Zyl
df12fcab5d
o restoring assembly descriptor so that I can actually build from within this module
...
o all the use of an embedder request with no settings file information and have the defaults just kick in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491334 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 22:21:18 +00:00
Jason van Zyl
4f269094d0
o manifest for using the embedder as an osgi bundle
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483659 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 20:55:45 +00:00
Jason van Zyl
7136b01f88
o merging in my changes from the refactored embedder branch
...
milos, this has some stuff that we worked on so i've tried to unify everythign in trunk
now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483655 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 20:53:33 +00:00
Andrew Williams
2d9fc16efb
revert the revert of r480835 - there must be an inconsistency in my home repository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483399 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 09:52:49 +00:00
Andrew Williams
7897be76b4
Goodness me this file was missed too, apologies again. Everything builds again now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483313 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 00:39:30 +00:00
Andrew Williams
44ae99fc2d
Merge maven.new for latest plexus classworlds and container APIs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483302 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 00:17:53 +00:00
Jason van Zyl
a6977b53c7
o not sure what happened but i couldn't make an assembly the way i used to, so i reverted
...
o added an OSGi manifest to make it easier to Eugene to integrate into Eclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@480835 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 04:45:40 +00:00
John Dennis Casey
33e6497989
Adding blank outputFileNameMapping entry to the dependencySet to avoid unpacking into ${artifactId} subdirectories, and binding the assembly:single goal to the package phase to automatically make/attach the -dep artifact.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@477314 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 20:16:08 +00:00
John Dennis Casey
dbfc2db51b
Fixing ID keyword...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470397 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:49:47 +00:00
Jason van Zyl
e7594ada3e
MNG-2560 patch applied to make the bootstrap easier
...
Submitted by: Dan Fabulich
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@453099 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 03:10:27 +00:00
Milos Kleint
625012b029
MNG-1884 - the wagon manager needs to be injects the proxy/mirror info, otherwise the readProject() calls don't get through the firewalls.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@434079 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 16:58:33 +00:00
John Dennis Casey
7c43aa27d7
Merging fix for loss of dependency ordering from branch.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@430573 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 22:43:48 +00:00
John Dennis Casey
864fbd29e2
Consolidating modello plugin configuration into parent-pom within pluginManagement.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@421308 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 16:31:25 +00:00