Commit Graph

5574 Commits

Author SHA1 Message Date
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
Andrew Williams 056e6ec542 make the ant build use the same classworlds as the maven build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493547 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 19:48:00 +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
Kenney Westerhof 4d0e8b9806 remove assembly-plugin configuration as there's no assembly in maven-core; that has been moved to maven-cli way back
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493293 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 03:54:40 +00:00
Kenney Westerhof 7f1b796988 Fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493028 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 13:23:18 +00:00
Brett Leslie Porter ad045aaa88 [MNG-1908] fix regression with LATEST metadata
Merged from: c492153 on maven-2.0.x


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492154 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 14:06:56 +00:00
Brett Leslie Porter a6ddaac0b5 [MNG-2228] fix null pointer exception
Merged from: 492103, maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492104 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 11:14:31 +00:00
Brett Leslie Porter 3d073bd7d3 [MNG-2228] put extensions in a child container. This guarantees separation avoiding root classloader pollution that was causing plugins such as the release plugin to fail when using wagon-webdav.
Merged from: r492068, maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492071 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 07:59:08 +00:00
Brett Leslie Porter 51c6fefb31 [MNG-2692] fix mvn.bat on windows after classworlds was renamed
Submitted by: Mike Henry


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492063 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 07:17:17 +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 98487def26 o reactor failure mode is validated elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491534 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:11:48 +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 cb381ffd76 MNG-2729 use the basedir specified in the execution request, don't use the system property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491514 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 00:46:11 +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 b234e48cf5 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@491489 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:06:57 +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
Jason van Zyl 26f1777dba o starting new tests for the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491443 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 16:58:08 +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 f253b60b3a SVN properties for issue management system integration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491374 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 03:28:22 +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 267dec7af8 o these are now fully separated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491372 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 03:21:49 +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
Andrew Williams 646c67db17 Use latest updates from plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491231 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 14:54:59 +00:00
Jason van Zyl 8353b90fc1 o updating plexus and classworlds with latest releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491181 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 06:34:51 +00:00
Arnaud Heritier f83fa2a5f2 Fix invalid XHTML in a comment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@490092 13f79535-47bb-0310-9956-ffa450edef68
2006-12-25 00:58:23 +00:00
Kenney Westerhof 06090da486 PR: MNG-2712
Fix honoring of updatePolicy=daily - create a metadata file even if the remote repo doesn't
have one. The following day the repo will again be checked.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@489724 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:01:58 +00:00
Kenney Westerhof 260516f8d2 Re-added 2 dropped methods that were never deprecated: buildSettings() and buildSettings( file ). maven-plugin-testing-tools uses the maven 2.0.x api's, but fails with NoSuchMethodError in 2.1-snapshot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@489693 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 17:07:40 +00:00
Kenney Westerhof 2327f170e6 Added a note on project sorting and cycles.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@489114 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 15:30:10 +00:00
Kenney Westerhof c15aadbe04 use descriptors/descriptors instead of deprecated descriptor for asm plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@488158 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 09:01:43 +00:00
Jason van Zyl 185a1a16d2 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486887 13f79535-47bb-0310-9956-ffa450edef68 2006-12-13 23:34:52 +00:00
Jason van Zyl f84f8801d9 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486733 13f79535-47bb-0310-9956-ffa450edef68 2006-12-13 16:53:39 +00:00
Jason van Zyl 61e2713156 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486703 13f79535-47bb-0310-9956-ffa450edef68 2006-12-13 16:09:22 +00:00
Jason van Zyl 404f7376eb o rough stab at what we want to do in continuum which cannot do this natively yet, though it could run the shell script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486674 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 14:34:13 +00:00
Jason van Zyl cc5a658907 o update the deps to the new releases of wagon wheels and plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486535 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 07:42:00 +00:00
Brett Leslie Porter d846d0d8aa [MNG-1908] fix the performance problem with this particular fix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486484 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 04:13:15 +00:00
Jason van Zyl 5291a94c9d o change message to reflect the creation of a realm and not a container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@485932 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 22:57:48 +00:00
Jason van Zyl 388b9b05c4 o wagon 1.0-beta-2-SNAPSHOT is working like a champ
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@485758 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 17:14:44 +00:00
Jason van Zyl 9d2bd7b7e3 o making sure the plugin registry is not used, it's turned off in 2.0.4. it causes too many problems.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@485728 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 15:55:03 +00:00