Commit Graph

394 Commits

Author SHA1 Message Date
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
Carlos Sanchez Gonzalez f7a33ca068 POM cleanup, remove inherited fields, added license and xsd
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@419880 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 12:23:28 +00:00
Brett Leslie Porter 1b00d44cfc remove unused resources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@417803 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 16:00:02 +00:00
Milos Kleint d7a1ba698d MNG-2364 make sure the system properties are passed from the execution/embed requests, to make the on-property profile activation work in embedded environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415000 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 06:46:58 +00:00
Milos Kleint a1b2df1fd1 MNG-1979 throw IllegalStateException when calling methods in wrong order.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@400260 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 07:42:19 +00:00
Jason van Zyl d03ae071f5 Use the standard coding conventions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@400220 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 00:34:42 +00:00
Milos Kleint 0e548f6fc1 MNG-1937, MNG-1665
allow custom configuration of embedder.
correct settings location handling for embedder's project reading methods

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@395691 13f79535-47bb-0310-9956-ffa450edef68
2006-04-20 20:17:27 +00:00
Jason van Zyl 2322ec1e40 o use the latest release of the assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@392335 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 17:09:08 +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
Emmanuel Venisse 7b331c9605 Initialize profileManager from settings.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379812 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 16:56:24 +00:00
Jason van Zyl c100cbea1c o adding jochen's MavenEmbedder2 as reference, i won't be replacing the embedder with it but I will cherry pick
from it. Thanks for the contribution and I hope you'll help with some smaller patches! :-)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379670 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 03:55:43 +00:00
Jason van Zyl 38c1860f11 o fixing typo in method call
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379579 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:56:01 +00:00
Emmanuel Venisse 19382355ff Load profiles from settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379490 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:27:57 +00:00
Jason van Zyl 2737100a43 o creating a mode for aligning the the embedder with a user installation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@370406 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 07:19:04 +00:00
Jason van Zyl 08a9549931 merging from branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368989 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 05:52:00 +00:00
Brett Leslie Porter af1a99198f merge from branch maven-2.0.x, up to rev 365776
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@365790 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 01:14:17 +00:00
Jason van Zyl 680115310d o push in some changes for simplifying the creation of repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358624 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 20:46:23 +00:00
Jason van Zyl 363f82e42d o use the correct method
http://jira.codehaus.org/browse/MNG-1432
  
  Submitted By: Milos Kleint
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@331011 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 18:08:38 +00:00
Jason van Zyl 3edcf5dda5 o give clients an easy way to retrieve a single artifact: in this case milos
wants to be able to download a javadoc JAR.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330999 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:57:53 +00:00
Jason van Zyl 75731b688d o adding some methods to create artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330997 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:53:33 +00:00
Jason van Zyl 9cacd22ae5 o updating to use the DuplicateProjectException introduced post
2.0.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:42:23 +00:00
Jason van Zyl 7e9b4b26ef o moving main dependency version on maven forward to 2.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330995 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 13:37:39 +00:00
Jason van Zyl 398995ecb0 o just ran the release:perform again and it was fine ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330863 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 18:31:41 +00:00
Jason van Zyl e06f5e77a7 o roll back and try again ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330862 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 18:29:37 +00:00
Jason van Zyl 0071336a9a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330852 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:30:54 +00:00
Jason van Zyl a87bbebf8a [maven-release-plugin] prepare release maven-embedder-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330850 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:30:23 +00:00
Jason van Zyl 6fa5310c72 o use the released parent POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330849 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:28:45 +00:00
Jason van Zyl 155a9fbc78 o clean up the dependencies in the POM, i really only need to depend on the
core and everything else will come in transitively
  
o rolling things back to use the 2.0 release maven artifacts, i can
  subsequently, deploy 2.0.1-SNAPSHOTs and when 2.0.1 is released I will
  release 2.0.1 of the embedder. I think the releases of the embedder must
  follow closely on the heels of Maven itself.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330845 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:12:29 +00:00
Jason van Zyl 86ccccf3c0 o this should really be called 2.0.1-SNAPSHOT as that's what the
dependencies are on.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330832 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 16:11:45 +00:00
Jason van Zyl 417d4ffff0 o use the latest release of the assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330807 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 13:50:10 +00:00
Jason van Zyl a121153b73 o i'm just going to get the assembly plugin to do what i want, maintaining
this is a pita.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330107 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 18:45:26 +00:00
Jason van Zyl 326a583281 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330106 13f79535-47bb-0310-9956-ffa450edef68 2005-11-01 18:44:48 +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
Brett Leslie Porter 9a10c356bd update plexus utils version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314775 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 04:12:47 +00:00
Brett Leslie Porter 510de4fe54 upgrade plexus utils to 1.0.4-SNAPSHOT.
The group ID has changed, so add a bunch of exclusions to ensure the old is not picked up
fix bugs in mboot that wasn't honoring excludes.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307294 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:13:31 +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
Brett Leslie Porter 98d9d94424 use new jline-less input handler
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306535 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 06:00:25 +00:00
Jason van Zyl efbeeaca35 o fixing assembly so that old p-d-c is not imported
o adding metadata of maven-core for the runtime info component


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293602 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 13:29:49 +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 38269cca84 o A change that eliminates the use of System.properties from the core in an
attempt to move toward true embeddability. 

 - System properties are still populated in the CLI to make sure that the 
   system property profile activator functions and the settings are dealt with
   correctly. I will look at each of those shortly but this is a first step.
   


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293504 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 03:31:35 +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
John Dennis Casey 63b3f71f6d Fixing error messages related to invalid plugin configuration, similar to the instantiation exception for ArtifactRepository when there is no deployment repository...
o Moved the parameter documentation reader to a separate project, so that I can use Modello.
o Added some more parameter documentation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293410 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 18:06:00 +00:00
Jason van Zyl 0c3706aceb moving issues to jira
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293209 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 02:21:26 +00:00
Jason van Zyl 95282adf58 most issues are dealt with or in jira now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293203 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 01:47:18 +00:00
Brett Leslie Porter c5acaded88 upgrade to plexus 1.0-alpha-7 container, switching to new group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293193 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:54:01 +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 df59dabb75 o adding model writer for eu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292812 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 16:46:59 +00:00
John Dennis Casey 0b4d79d101 Resolving: MNG-1032, MNG-1033
o Improved the error diagnostics related to artifact resolution errors.

o Added xml-based documentation of supported plugin parameter expressions, including info about how to affect them ('-o' for example), how to specify them (<distributionManagement><repository/> for example in ${project.distributionManagementArtifactRepository}), and what the expressions are actually used for. This can also serve as a basis for creating documentation for plugin parameter expressions on the website.

o Improved the error diagnostics for plugin configuration errors.

o Added a couple of ITs in the 1000 series to test these two error conditions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292750 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 14:33:10 +00:00
Jason van Zyl 57cb1589cc git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292606 13f79535-47bb-0310-9956-ffa450edef68 2005-09-30 03:01:24 +00:00
Jason van Zyl b5e90cc3fb o mock data for embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292564 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 22:04:25 +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 b4a87a494e need the lifecycle phases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292378 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 02:23:45 +00:00
Brett Leslie Porter 5ff7fca508 no longer needed - fixed assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292375 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 02:04:49 +00:00
Jason van Zyl b3dae8c7cc o updating the metadata for the core and bumping the version in the scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292343 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 23:08:41 +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 d672c383ce o adding metadata needed by DefaultRuntimeInformation
o adding required plexus component descriptors



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291966 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 14:42:04 +00:00
Jason van Zyl 15e28864eb git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291956 13f79535-47bb-0310-9956-ffa450edef68 2005-09-27 14:24:52 +00:00
Jason van Zyl 4d10cc8a75 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291951 13f79535-47bb-0310-9956-ffa450edef68 2005-09-27 14:10:23 +00:00
Jason van Zyl 0881dd50f9 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291949 13f79535-47bb-0310-9956-ffa450edef68 2005-09-27 14:02:41 +00:00
Jason van Zyl 003b6f0d78 o adding some getters for eugene to access things like the default local
repository and such.y


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291948 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 14:02:06 +00:00
Jason van Zyl fda11fb725 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291940 13f79535-47bb-0310-9956-ffa450edef68 2005-09-27 13:57:41 +00:00
Jason van Zyl de98870b03 adding notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291937 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 13:38:35 +00:00
Jason van Zyl af059c3bb4 more notes from eugene
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291933 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 13:13:02 +00:00
Jason van Zyl 41ae1736a5 more notes from eugene
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291932 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 13:11:31 +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 84e3f2c016 o adding execution for goals/phases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291754 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 21:36:18 +00:00
Jason van Zyl 945af48359 o doing a quick pass at integrating the fork mojo into the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291748 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 21:19:07 +00:00
Jason van Zyl a1cd1cd03b o make the execute method public as kenney and i are going to hack in the
support required to make the maven-it-plugin work with the embedder.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291747 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 20:54:37 +00:00
Jason van Zyl 94ddffd863 o a tiny hack to make sure that the assembly JAR with everything it in works
in a stand-alone environment.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291717 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 19:21:34 +00:00
Jason van Zyl 9ae22bf60e git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291710 13f79535-47bb-0310-9956-ffa450edef68 2005-09-26 18:54:01 +00:00
Jason van Zyl 0f36231a98 o tweak to components.xml to make IT work
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291708 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 18:52:22 +00:00
Jason van Zyl 5dc1bd8d33 o cut/paste error taking the components.xml from the ant tasks :-)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291706 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 18:37:02 +00:00
Jason van Zyl 2c5b3a39e7 o need a hand rolled components.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291705 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 18:32:19 +00:00
Jason van Zyl 5569a51a1a o don't need any component descriptors for this facade.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291644 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:33:13 +00:00
Jason van Zyl 47eea3d431 o trying to make as small an assembly for embedding as possible
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291638 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:00:25 +00:00
Jason van Zyl 69fc4d27ea o creating an all-in-one assembly for tool integration use
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291631 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:33:28 +00:00
Jason van Zyl c9b995a945 o adding more notes from eu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291621 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 13:42:52 +00:00
Jason van Zyl 853028dfab o adding method to the maven project builder that takes a transfer listener
as a parameter. this method is currently being used in the embedder

o see MNG-1015 for notes on where the monitor may be bested placed. if
everything eventually uses the embedder then it won't matter so much.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291499 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 00:23:33 +00:00
Jason van Zyl bc92124d6d adding some notes from eu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291484 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 22:58:51 +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