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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
94e440000d
o merge of the maven-embedder-refactor branch into the trunk
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@392327 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 15:57:09 +00:00
Jason van Zyl
5008852983
updating to new apis
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@322531 13f79535-47bb-0310-9956-ffa450edef68
2005-10-17 00:43:01 +00:00
Jason van Zyl
1af474d091
o make the reactor fail fast or exceptions seem to be lost
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307161 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 16:05:30 +00:00
Jason van Zyl
e9ab07e51c
o protecting against null properties in the PPEE
...
o fixing some composition declarations in embedder component descriptor
o adding notes on classloader mechanism
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293598 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 13:15:58 +00:00
Jason van Zyl
027453d5b1
o create a new dispatcher on every invocation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293482 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 01:37:09 +00:00
Jason van Zyl
7ff412aecf
o first pass at allowing the logging to be configurable
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292888 13f79535-47bb-0310-9956-ffa450edef68
2005-10-01 01:17:36 +00:00
Jason van Zyl
f96ed8ac07
o adding transfer listener to execution
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292816 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 17:22:45 +00:00
Jason van Zyl
fa1eaf9a2c
o provide the phases in the lifecycle by extracting the component descriptor
...
and pull them out of the configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292380 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 02:47:24 +00:00
Jason van Zyl
aa4344bae0
o adding the name to the deploy plugin metadata so that i can pull it down
...
and display it in an IDE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292339 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 22:56:41 +00:00
Jason van Zyl
a82f9fedf5
o making sure that the jar is indeed produced
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291779 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 23:17:21 +00:00
Jason van Zyl
e7e70cb97f
o adding a test which shows that a project can be built from the embedder,
...
now we need to work on the events and logging.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291775 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 22:49:03 +00:00
Jason van Zyl
16199817d4
o adding a test project that i'm going to try and build from the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291769 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 22:23:43 +00:00
Jason van Zyl
ea993565a8
o adding method to embedder to read a project building up the artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291429 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 15:28:55 +00:00
Brett Leslie Porter
0ff5c3906a
set EOL style
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291366 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 02:21:21 +00:00
Jason van Zyl
6c6b24938d
o very rough start at the embedding api
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291359 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 02:00:04 +00:00