Commit Graph

1250 Commits

Author SHA1 Message Date
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 31dffa9fd6 o plugin-registry is not used anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@531243 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 18:04:11 +00:00
Brian E Fox 67c7ec50e6 MNG-2880 added classifier to install-file instructions when an artifact can't be found that needs a classifier
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526583 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 17:40:33 +00:00
Brian E Fox cab99dad59 MNG-2926 - fixed plugin prefix searching order.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526484 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 21:05:22 +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
John Dennis Casey d1c52a0843 Restoring backward compat using the old constructor, which is now deprecated.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@523092 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:37:36 +00:00
John Dennis Casey 0a3a36f657 Fixing the case for site:run where a direct mojo invocation needs reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@523087 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:24:41 +00:00
Andrew Williams a4e5d68be7 IF changing the URL to the repos you should also change the ID (and name) to match
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521643 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 09:31:26 +00:00
John Dennis Casey 0ba926c61f Bumping plexus-active-collections version up to 1.0-beta-1.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521549 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 00:35:36 +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
Carlos Sanchez Gonzalez e405e6c5d3 Add codehaus snapshot repo required for active-collections
Issue id: Add codehaus snapshot repo needed


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520679 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 00:30:33 +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
Andrew Williams 94ba392461 Copy the ArtifactMetadataSource to use the 'default' hint as well as the, deprecated, 'maven' one. This will mean that with the new plexus components don't have to hint to get the default impl
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514652 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 11:48:15 +00:00
Jason van Zyl cc6d9a1425 o update to released plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@514298 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 00:51:25 +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 09e46f4b94 updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513027 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:49:30 +00:00
Jason van Zyl 37692fbea1 MNG-2827 pull the entry from the expression documenter using a method that works from the command line and in an embedded environment.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512860 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:32:23 +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 37e012f0c1 o updating to the new use of the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512553 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:31:13 +00:00
Jason van Zyl 737d36b126 o add wagon-manager to the filter list
o create the session using a request and eliminate pulling out the individual elements for the constructor of the session


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512549 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:27:53 +00:00
Jason van Zyl 6dedba51d9 o prefer methods that only use the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512548 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:26:56 +00:00
Jason van Zyl fbb0ad4780 o remove deprecated methods and move toward using methods that use only the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512547 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:26:33 +00:00
Jason van Zyl 2b3aa59647 o remove most of the plugin registry logic as we've turned it off from the command line, it's too complicated and we
have pretty much decided that it is a best practice to lock down the versions of plugins being used.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512546 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:25:54 +00:00
Jason van Zyl f17c4fefe4 o don't need settings in here anymore, as we'll move toward session and request level configuration and eventually have a single source passing through
the core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512545 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:24:26 +00:00
Jason van Zyl 7bdf0a8d5d o have very much simplified the use of settings use so the settings advice is not required as it is the job
of the client using the embedder to decide the semantics of use. some uses may have only one settings file, some may have five and
  some may have none. trying to move away from hardwired usage patterns for the embedder. the cli is now responsible for dealing with what
  is now standard insofar as user and global settings.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512544 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:23:32 +00:00
Jason van Zyl 9783df0a61 o use a MavenExecutionRequest to hold all the information we need so that we can move toward referencing a single source of configuration information
for session and request level.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512543 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:21:11 +00:00
John Dennis Casey f4b3eedc8a Fixing some lingering dependency ordering problems from artifact resolution, and adding settings-builder advice to the CLI.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512339 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:47:30 +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 d508d7181c Prevent scanning of modules that are not in the current reactor, and simplify the API usage for scanning in a reactor scenario.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@509715 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 19:22:05 +00:00
John Dennis Casey 2b95701a5c Rearranging project-builder caching so it's done externally and available for use in the model-lineage builder and during artifact resolution as well.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@509692 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 18:09:53 +00:00
John Dennis Casey 6b36d026da Fixing problem with unresolved sub-expressions being converted to 'null'.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@508151 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 21:15:36 +00:00
Joakim Erdfelt 36eced2a73 Adding back the extension manager support for injected containers into the WagonManager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@507294 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 23:14:14 +00:00
Jason van Zyl 17817ccc00 MNG-2819 Prevent extension scanner from looping infinitely when projects are in a flattened structure
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505663 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 09:18:46 +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
John Dennis Casey ad35b458bf Fixing project-loading to process inheritance in the correct direction, and finishing support for custom profile activators...also moving /project/build/extensions handling out to a separate extension scanner component, for later reuse elsewhere.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@501186 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 21:26:30 +00:00
John Dennis Casey 08825262be Adding custom profile activator support, using the <custom/> tag in the <activation/> section of a profile.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@499911 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 19:02:16 +00:00
Andrew Williams 62706826a1 Move some debug from info() to debug()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@499053 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 15:32:48 +00:00
Kenney Westerhof dec70bc79b Update to latest HEAD of plexus-containers - getLookupRealm is now a PlexusContainer instance API method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498749 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:05:47 +00:00
Jason van Zyl 290c6bc18a git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498057 13f79535-47bb-0310-9956-ffa450edef68 2007-01-20 03:31:28 +00:00
John Dennis Casey db225079d5 Fixing plugin-discovery when one plugin depends on another, and the pluginCollector sees a plugin before that plugin is meant to be added with its componentRealm.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498048 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 02:45:20 +00:00
John Dennis Casey e7412f71cf Adding methods for backward compat, and deprecating them...and adding a few debug log statements.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498044 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 02:03:27 +00:00
John Dennis Casey dee7f572c1 Adding support for pre-scanning POMs for build extensions. NOTE: Plugins-as-extensions is not yet supported in this way.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497993 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 22:55:19 +00:00
John Dennis Casey dfc4a10c68 Adding the notion of a build-context, and several build-context classes that can be used: ProjectBuildContext, which contains lineage and current-project info, ExecutionBuildContext, which contains the information in the original MavenExecutionRequest, and SystemBuildContext, which contains things like System properties...these use the BuildContextManager to store and retrieve their info from the core container's Context object.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497911 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 19:15:18 +00:00
Kenney Westerhof 6c2268f0bd Only filter core artifacts from plugins, not extension artifacts, as they may break the plugin by bringing in incompatible API artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497888 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:56:16 +00:00
Kenney Westerhof c98ee0a930 Cleanup and doco
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497881 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:21:02 +00:00
Kenney Westerhof 11a88e90f5 remove the 'unused' var for plugin artifact resolution. When they're resolved, all core artifacts are already removed from the resolutiongroups' result. Why add them back again later?
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497838 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 15:08:08 +00:00
Kenney Westerhof 753ccae2af Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497836 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 15:02:21 +00:00
John Dennis Casey 5bd4c1927c partially fixing problem with plugin-dependency loading...now, we're including maven-plugin-api in the plugin realm somehow, which means the standard artifact filter isn't working.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497696 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 03:12:44 +00:00
John Dennis Casey 5a2439e750 Moving extensions back to the core classrealm, and adding a dynamic artifact filter to keep MNG-2228 from reappearing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497671 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 01:09:28 +00:00
Kenney Westerhof 2faffb229f Fix resolving <plugin><dependencies>: it0081
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497533 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 18:49:58 +00:00
Kenney Westerhof 18b83fe00a Use plugin realm to lookup plugin components - fixes custom lifecycle mappings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497491 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 16:33:34 +00:00
Kenney Westerhof c783818ab2 Set the proper default lookup realm for mojo execution - they may lookup components when executing too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497307 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:28:02 +00:00
Kenney Westerhof 8e7dc9ef14 Realm fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497305 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:22:08 +00:00
Kenney Westerhof 45b87aa936 Remove unused and unavailable imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497304 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:21:49 +00:00
Brett Leslie Porter 7985a25ef6 [MNG-2097] add prepare-package phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497197 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 22:00:46 +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
John Dennis Casey 4e51a3d185 Fixing NPE's related to a reactor manager that doesn't exist (in the case of a build error, f.e.).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496406 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:03:48 +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 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
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 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 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 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
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 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
Brett Leslie Porter 7f65892418 [MNG-2681] Add cli flag to set all snapshot repos to updatePolicy = never
Submitted by: Jason Dillon


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483809 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 03:35: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 7c6052772e we can use stable deps here
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483395 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 09:41:46 +00:00
Andrew Williams 95072582c4 Apologies, not sure how those lines got duplicated on merge
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483308 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 00:27:07 +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
Brett Leslie Porter 6a36ae3b72 [MNG-2228] make sure build extensions are filtered from being loaded in plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@480377 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 03:40:59 +00:00
Kenney Westerhof 7ae3a1a2b9 PR: MNG-1508; add process-test-classes phase. Merged from rev 470427 @ 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470432 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 17:26:10 +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
John Dennis Casey 5b97ecf776 [MNG-2539] Allowing plugin-level dependencies to be resolved from project repositories in addition to plugin repositories...project repositories have the lower precedence in this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470392 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:37:25 +00:00
Jason van Zyl 985b29dc9d o necessary goodness to allow Ant-based plugins to unpack their resources which can be executed
tested with a custom plugin which uses ant extensively calling out to .sh and .pl


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@462711 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 06:37:56 +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 e165438db3 Merged from 433788 on the branch, to fix the case where build extensions don't get resolved when building projects that would be filtered by Maven's core artifact filter...as in the case of some plexus projects, and of maven projects themselves.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@433789 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 22:54:13 +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
Kenney Westerhof 10c3433355 Fix exception message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@430369 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 13:01:55 +00:00
Brett Leslie Porter 6eddbb1242 revert r425096 to fix the build for now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@429576 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 04:56:08 +00:00
Carlos Sanchez Gonzalez d8ceac328a Use constants for maven groupId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425105 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 16:04:09 +00:00
Carlos Sanchez Gonzalez 92e731eb80 Added @since tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425103 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 16:01:15 +00:00
Carlos Sanchez Gonzalez 7a4138fe43 Added PluginException to aggregate the different plugin exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425096 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 15:52:30 +00:00
Kenney Westerhof a8dc29a9dc Clarify unknown goal message by specifying the plugin it couldn't be found in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425024 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:33:58 +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
Milos Kleint 18b47d1650 when creating local repository, don't force updating snapshots from all remote repositories.
handle according to the executionrequest

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@418631 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 18:00:48 +00:00
Brett Leslie Porter c754f856fd don't show -e for failures, only errors when there was a causing exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@417679 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 06:07:56 +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
Carlos Sanchez Gonzalez f925bdc3a6 [MNG-2357] Refactor code
Submitted by: Jerome Lacoste

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413091 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 17:00:43 +00:00
Kenney Westerhof 45748e167d PR: MNG-2293
Submitted by: Jerome Lacoste
Reviewed by: Kenney Westerhof
Modifications: minor cosmetic changes.

Add an 'implementation' parameter to @parameter annotation, so
a default implementation can be specified in Mojo's in case the Mojo parameter
is an interface.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413054 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 14:30:57 +00:00
Trygve Laugstol c6723a940a o Only set the local repository if it's missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@408734 13f79535-47bb-0310-9956-ffa450edef68
2006-05-22 19:56:01 +00:00
Milos Kleint f930fac38a MNG-2147 make sure it's not required to set activated or inactivaed profiles.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@400269 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 08:47:15 +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
John Dennis Casey 43e640244e (Merged from 386445.)
From the original revision log:
--------------------------------------

o Fixed formatting of lines in DefaultMaven to ensure that the output:

[INFO] ----------------------------------------------------------------------

doesn't exceed 80 columns, for readability.

o Fixed error reporting when building a POM's parent, in cases where:

  - relativePath refers to a directory, but there is no pom.xml in that directory...in
    this case, simply set the parentDescriptor == null, and allow repository resolution
    to proceed.

  - attempt to resolve parent POM from repository fails...in this case, we need to tell
    the user which project specified the missing parent.

Neither of these had any impact on existing tests, and should only improve the user
experience. I don't believe they introduce any ambiguous behavior.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@386447 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 20:06:21 +00:00
Brett Leslie Porter e2be5ffc21 fix location of original setter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384215 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 13:45:20 +00:00
Kenney Westerhof aaaf6537f6 PR: MNG-1318
use ~dp0 instead of ~dps0 since that is broken
on Windows 2000 and XP (prior to SP2).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382801 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:13:06 +00:00
Kenney Westerhof 16f876c2f3 PR: MNG-1317
Use ~dp0 since ~dps0 is broken, and add double
quotes since the path now can contain spaces.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382797 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:09:17 +00:00
John Dennis Casey d201131b59 (merged from 382460.) [MNG-1415] Added quoted-argument reconstruction to MavenCLI, and quote preservation to the shell scripts. Both are necessary to fix this issue. Test is it0098.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382461 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 18:18:06 +00:00
Brett Leslie Porter f380c0ef75 [MNG-2096] allow <configuration> with <execution> in a lifecycle overlay, like a plugin allows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379491 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:36:04 +00:00
Emmanuel Venisse b9b9efbe4a merge from branch rev.379486
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379489 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:26:09 +00:00
Brett Leslie Porter 73ba7305ce [MNG-1898] get rid of RealmDelegatingClassLoader, use the RealmClassLoader. Works with test case on MNG-1898 and MNG-1804.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379425 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 11:22:49 +00:00
John Dennis Casey c458848733 [MNG-2030] Adding version output to the debugging log-level.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379285 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 23:42:23 +00:00
Brett Leslie Porter f36b990362 remove testing descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@376125 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 00:14:08 +00:00
Jason van Zyl 95189e189e [MNG-1980] Removing the duplicate ID, the reactor will catch duplicate IDs in a single build so it doesn't not need
to be checked for in the project builder. I have removed the model caching for now while I'm refactoring
           the project builder. The plan is to break the 1000+ lines down into its constituent components and use
           a pipeline to build up the project.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371079 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 16:36:06 +00:00
John Dennis Casey 18a02e4097 Renaming the pre/post phases for the integration-test phase...new names use pre- and post- instead of begin- and end-
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368425 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 18:00:05 +00:00
Brett Leslie Porter 587179fd9e merge rev 368281 from branch - update classworlds and plexus-utils dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368287 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 05:50:54 +00:00
Jason van Zyl 69aadf79da o make a very simple utility for creating our artifact filter so that it can be shared by the
plugin manager and the extension manger. now used in the extension manager to block out
  deps that are already present in the maven classloading system. so that something like
  the external provider can be listed in an extension and will be dealt with: this was
  causing a loader constraint violation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368218 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 02:00:16 +00:00
Brett Leslie Porter be1b1f2d13 [MNG-1907] wagon-ssh-external is now in the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368127 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 20:54:35 +00:00
John Dennis Casey 88f3b941d4 [MNG-1903] Adding support for optional mojos within a lifecycle mapping.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367962 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 07:57:32 +00:00
John Dennis Casey 98a4dc3cb3 [MNG-1903] Adding site descriptor attachment to the package phase of the pom lifecycle.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367934 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 05:24:50 +00:00
Brett Leslie Porter cc20bf6402 merge from branch maven-2.0.x @ rev 367900
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367902 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 03:45:10 +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
Vincent Massol 5282ee4341 Adding 2 new phases related to integration tests:
- before-integration-test: perform actions required before integratiob tests are executed. This may involve things such as setting up the required environment.
- after-integration-test: perform actions required after integration tests have been executed. This may including cleaning up the environment.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@359866 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 18:19:31 +00:00
Emmanuel Venisse 31a3319419 Fix exit code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358565 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 13:47:36 +00:00
Brett Leslie Porter 9ae0914694 flip trunk to 2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356316 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 18:22:06 +00:00
John Dennis Casey 8a5fa61b17 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356099 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:41:09 +00:00
John Dennis Casey 9cf94e34f2 [maven-release-plugin] prepare release maven-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356093 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:34:03 +00:00
Jason van Zyl db17a2494b o adding capability to the lifecycle executor to merge in executions which contain
configurations for external plugins. in this particular i've made the adjustments
  so that the corbertura plugin can tell the surefire plugin to fork. not ideal, but
  it will work until we figure out a more elegant solution.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356065 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 23:35:47 +00:00
John Dennis Casey e983fddf63 Fixing the context classloader for plugin executions. New classloader will delegate to the realm, rather than using only the loader used by the realm of the plugin-container.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355831 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 00:39:20 +00:00
John Dennis Casey ee3df7f885 Adding maven-error-diagnoser to the exclusions list in the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355649 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 23:33:01 +00:00
Brett Leslie Porter 65acc94926 implement lax parsing of repository metadata XML files
PR: MNG-1788


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355404 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 07:58:04 +00:00
John Dennis Casey 2e89dadbce PR: MNG-1311
Added a stack of lifecycle fork-points that will be removed from each successively deeper level of forking in a cumulative manner, to prevent multi-node cycles in addition to simply blocking two-node cycles.

The basic problem with the recursion check that was in there was a type mismatch on the contents of a java.util.List. It's fixed now.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355383 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 05:37:43 +00:00
John Dennis Casey 125c19fb3a PR: MNG-1265
Submitted By: Allan Ramirez
Reviewed By: John Casey

Applied patch, which will add "built on" timestamp to the --version output.

NOTE: I did not apply the portion of the patch related to mboot, since the bootstrap has been redone. This may need to be added back into the bootstrap later.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354702 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 04:28:29 +00:00
John Dennis Casey eeb14425c6 PR: MNG-1352
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied this patch, which will ensure that alias != param.getName() before adding a duplicate diagnostic message for configuration.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354464 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 16:34:09 +00:00
John Dennis Casey 0e5015360b PR: MNG-1666
Submitted By: John Casey

Fixed escaped expression handling in the plugin parameter expression evaluator. '$$' was not being replaced by '$' correctly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348489 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 17:01:09 +00:00
Jason van Zyl 02902d53a2 --------------------------------------------------------------
Issue: MNG-1470
     URL: http://jira.codehaus.org/browse/MNG-1470
 Summary: mvn can't calculate M2_HOME when mvn is a relative symlink
Reporter: Nicolás Lichtmaier (niqueco)
--------------------------------------------------------------

o patch applied
 


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345559 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 20:12:21 +00:00
Emmanuel Venisse 750e08a984 Fix name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344977 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 11:04:23 +00:00
John Dennis Casey eb1651be3c Fixing CI. Had to move the addPlugin(..) call back to its original spot, and expose a new method in MavenProject to inject PluginManagement info to a Plugin instance that's passed in as a parameter.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344294 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 02:38:33 +00:00
John Dennis Casey 9a0b2544f2 PR: MNG-1424
Fixing addPlugin(..) ordering relative to plugin verification from the lifecycle executor's getMojoDescriptor(..) method, which will ensure that pluginManagement versions take precedence over resolved plugin versions. I'm not sure how to test this  one yet, so I'm not adding anything in that regard yet.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344257 13f79535-47bb-0310-9956-ffa450edef68
2005-11-14 22:55:49 +00:00
Emmanuel Venisse 4b310ef198 Add MAVEN_TERMINATE_CMD.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332782 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 15:20:21 +00:00
John Dennis Casey ed7cc01b88 PR: MNG-699
Submitted By: Piotr Bzdyl
Reviewed By: John Casey

Applied portions of the patch that pertained to the lifecycle mappings and artifact handlers for ejb3/par. The implementations of these plugins is in the sandbox (or soon will be).

Thanks for the patch, Piotr!



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332151 13f79535-47bb-0310-9956-ffa450edef68
2005-11-09 21:36:10 +00:00
Brett Leslie Porter d848ba2acd PR: MNG-1232
Submitted by: Jerome Lacoste
avoid NPE in error reporting under some circumstances

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330207 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 08:03:25 +00:00
Brett Leslie Porter 51650e5f15 PR: MNG-1271
Submitted by: Edwin Punzalan
improve error message when pom.xml not found and required


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 07:07:44 +00:00
Brett Leslie Porter 82fd1c6c6b site updates
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329057 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 03:03:16 +00:00
John Dennis Casey e244bc5072 Searching for the project-specified plugin instance, to get configuration...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328899 13f79535-47bb-0310-9956-ffa450edef68
2005-10-27 15:41:33 +00:00
John Dennis Casey 69fda56d91 Adding '$' as an escape character for variable-syntax which should be passed through.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328885 13f79535-47bb-0310-9956-ffa450edef68
2005-10-27 14:47:55 +00:00
Brett Leslie Porter a9571267db PR: MNG-1244
Submitted by: Mark Hobson
Final fix for paths with spaces in the executable


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328137 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 19:12:46 +00:00
Brett Leslie Porter 342ea76529 put back javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327981 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 06:37:36 +00:00
Brett Leslie Porter d8d5807fae PR: MNG-1291
correct the executable name

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327919 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 02:32:29 +00:00
Brett Leslie Porter ea8e16f26d PR: MNG-1244
Submitted by: Mark Hobson
make m2 wrapper script work under cygwin when there are spaces in the path


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327899 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 01:10:00 +00:00
Brett Leslie Porter d7c3795f1c remove unused code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327887 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 23:58:31 +00:00
Brett Leslie Porter 56f566e79e clean some imports and unused code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327885 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 23:50:38 +00:00
Brett Leslie Porter 772bf37124 PR: MNG-1223
error out if there are duplicate modules in the reactor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327763 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 08:07:38 +00:00
Brett Leslie Porter 3fb76b2014 fix script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327257 13f79535-47bb-0310-9956-ffa450edef68
2005-10-21 19:50:39 +00:00
Brett Leslie Porter 623efa6119 apply changes from tag maven-2.0 rev 326239
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326240 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 21:01:19 +00:00
Brett Leslie Porter d48cbfaef3 remove fixed version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326200 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 18:37:55 +00:00
Brett Leslie Porter 2be4e802b2 don't echo commands
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321473 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 19:17:11 +00:00
Brett Leslie Porter 5c3f720375 include mvn script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321458 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 19:01:49 +00:00
Brett Leslie Porter c51faea5d1 merg from tag up to r321409
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321412 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 18:27:49 +00:00
Brett Leslie Porter b8a6247c0b fix version on trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321100 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 13:11:04 +00:00
Brett Leslie Porter b4c041a567 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321042 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:26:39 +00:00
Brett Leslie Porter d783c5fc41 [maven-release-plugin] prepare release maven-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321040 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:15:39 +00:00
Brett Leslie Porter 3ef6ba2242 lock in a version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321039 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:01:00 +00:00
Brett Leslie Porter ca0e872a5a - fix MojoFailureExceptionDiagnoser so that even under the reactor the long message is shown
- remove long message from BuildFailureException as it was only there for that reason, and caused dual diagnosis

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320990 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 03:48:39 +00:00
Brett Leslie Porter c74d08fa48 if the plugin version is not working with this version of Maven, rollback until one is found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320983 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 02:57:13 +00:00
Brett Leslie Porter 156464c205 don't need extra message as the exception message is guaranteed to say that
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320964 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 01:31:05 +00:00
John Dennis Casey ed17ce3aba Adding conditional logic to pull out root cause to a couple diagnosers.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320918 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 21:03:54 +00:00
Brett Leslie Porter 1c7c34f027 more error diagnostics improvements
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320869 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 18:49:19 +00:00
John Dennis Casey 62149297e4 Resolving: MNG-1150
Applied patch for configuring Wagon instances via DefaultWagonManager. I reworked the configuration exception to be a derivative of TransferFailedException, since it pertains to the WagonManager usage of maven-wagon.

Thanks to Juan Codagnone for the patch.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320827 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:49:41 +00:00
Brett Leslie Porter b4cdb4a785 PR: MNG-122
cleanup formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320812 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:21:00 +00:00
Brett Leslie Porter a9f4d9f1e5 PR: MNG-122
fix fail at end

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320809 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:05:41 +00:00
Brett Leslie Porter 11df168337 PR: MNG-122
final exception cleanup - reduce the noise in the lifecycle executor, get rid of response object in favour of exception handling from DefaultMaven.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320797 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 16:36:54 +00:00
Brett Leslie Porter 1f638e6945 PR: MNG-122
finish cleanup artifact/plugin not found exception

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320712 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 10:28:36 +00:00
Brett Leslie Porter 1f97932050 PR: MNG-122
cleanup artifact/plugin not found exception

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320704 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 09:51:36 +00:00
Brett Leslie Porter 562facf5d2 PR: MNG-122
cleanup artifact metadata retrieval exceptions

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320701 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 09:13:11 +00:00
Brett Leslie Porter 04e02209b1 PR: MNG-122
use real exceptions for repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320683 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 08:04:27 +00:00
Brett Leslie Porter 1901992586 PR: MNG-122
exception clean up phase 2

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320675 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 06:50:22 +00:00
Brett Leslie Porter 5de6418c69 PR: MNG-122
exception clean up phase 1

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320668 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 05:30:22 +00:00
Brett Leslie Porter 10a8e05df6 clean up project exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314994 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 18:49:01 +00:00
Brett Leslie Porter c525b4d9ed exclude old plexus utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314962 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 16:57:07 +00:00
Brett Leslie Porter 80bcf484b1 use consistent version of wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314928 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 14:28:09 +00:00
John Dennis Casey c933da0504 Generalized error diagnosis for use outside of maven-core. This allows us to print diagnostic messages in the Ant tasks, for instance (these modifications are also included), and share diagnosers between multiple uses (maven-core, maven-artifact-ant, for example). This should help with MNG-784, but I'll verify that before I close it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314804 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:46:29 +00:00
Brett Leslie Porter 0497cc28e7 clarify
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314802 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:35:11 +00:00
John Dennis Casey 41be861bed Adding code to flush the plugin collector when reloading the plugin container, so that discovery will proceed normally in the new container instance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314798 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:16:16 +00:00
John Dennis Casey 36c7208f9f Adding self-check for plugin version to the end of the resolution process, as a default.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314797 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:15:28 +00:00
John Dennis Casey 06dc81b54e Cleaning up diagnosis output for MojoExecutionException's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314785 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 05:05:39 +00:00
Brett Leslie Porter 25f64b0cd2 add copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314767 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 03:45:34 +00:00
John Dennis Casey e1fe63e664 Adding error diagnoser for MojoExecutionExceptions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312976 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 23:21:51 +00:00
John Dennis Casey 32841e4e03 Fixing standalone maven-core build...fixing metadata merge where lastUpdated == "null" (null-string)...and finally, disabling plugin resolution from referencing the current project, since this will really screw up builds of plugins that are referenced in the plugin lifecycle mapping...like maven-surefire-plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312948 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 20:01:43 +00:00
Brett Leslie Porter 46c22374bc correct blacklisting logic
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312921 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 17:36:17 +00:00
Brett Leslie Porter 3968063fb2 look in the reactor and the current project for the appropriate version to use
(before the registry and repository, but after the build section)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312889 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 14:18:06 +00:00
John Dennis Casey d4aa23726f Took the plugin LATEST stuff back out of the jar lifecycle mapping...made a boneheaded mistake.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312829 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 07:41:36 +00:00
John Dennis Casey 9c0f1209c4 Re-enabling RELEASE resolution as a last-ditch, for backward compat...since I just re-enabled plugin LATEST metadata production.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312828 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 07:40:12 +00:00
John Dennis Casey f685d8605d Resolving: MNG-449, MNG-152, MNG-1090, MNG-1089, MNG-1122
o Removed -cpl and related command line switches for controlling use of LATEST metadata for resolving plugin versions
o Made LATEST the only metadata used to resolve plugin versions, since this is also available when releases are performed
o Added various error diagnostics for project build exceptions
o Enhanced artifact not found error diagnostics
o Removed maven-project and added maven-artifact to maven-surefire-plugin's pom
o Removed the stanza that added pluginArtifacts to the test-booter's classpath...they are already covered by the classpathElements
o Fixed ITs in connection to the removal of -cpl
o Changed the plugin manager to detect whether a plugin's artifact file has changed since the plugin container was created...if so, reload it.
o Took the projecthelp plugin out of the build until I can diagnose the problems with its build (probably tomorrow).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312827 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 07:35:33 +00:00
Brett Leslie Porter bc9f623a81 enable batch mode on the wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312818 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 06:42:21 +00:00
Brett Leslie Porter b3bdc1a78f add a site-deploy phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312808 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 04:34:51 +00:00
Brett Leslie Porter f89b2e08e9 fix import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312694 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 17:42:28 +00:00
Brett Leslie Porter 82bfdb49e8 fix import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312691 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 17:25:35 +00:00
Brett Leslie Porter 57eb94a701 exclude new component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312687 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 17:10:57 +00:00
Brett Leslie Porter 8c911a4828 update to new interactivity component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312686 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 17:10:28 +00:00
Brett Leslie Porter af3b144fc5 update to latest wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312584 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 08:27:52 +00:00
Brett Leslie Porter 4b574dcebc resoter correct timing on failure
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307372 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 06:05:35 +00:00
Brett Leslie Porter ce8f50cc0a PR: MNG-721
fix failure times

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307305 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 15:37:00 +00:00
Brett Leslie Porter 7ac27ec84c PR: MNG-721
list time taken per project in the reactor summary

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307304 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 15:35:39 +00:00
Brett Leslie Porter 7134d66a5c PR: MNG-914
fix test

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307301 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 15:07:00 +00:00
Brett Leslie Porter 552ab6d2b3 PR: MNG-914
set start time to the start of the request instead of the start of the executor to account for parent pom resolution

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307300 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:48:38 +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
Brett Leslie Porter 0506b79dd0 PR: MNG-439
improve usage statement

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307273 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 08:20:42 +00:00
Brett Leslie Porter 172906f5f6 need to handle resolution exception too at present
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307269 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 06:59:27 +00:00
Brett Leslie Porter a9b0b68d20 PR: MNG-512
skip project if no goals are bound

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307268 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 06:52:25 +00:00
Brett Leslie Porter ae893b5055 PR: MNG-828
log parameters to mojo in debug mode


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307267 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 06:36:17 +00:00
Brett Leslie Porter b926e6ff11 PR: MNG-838
improve error reporting for bad settings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307263 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 05:34:40 +00:00
Brett Leslie Porter 24ebd82f31 PR: MNG-838
improve error reporting for bad settings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307261 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 05:04:25 +00:00
Brett Leslie Porter cb259a7689 PR: MNG-950
use active project artifacts for extensions and plugin dependencies

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307245 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 03:06:54 +00:00
Brett Leslie Porter 9e9916da7a backwards compatibility with plugins built in earlier betas
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307240 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 02:47:48 +00:00
Brett Leslie Porter ae98e4f4b8 PR: MNG-971
add clean and site lifecycles for short names and possible bindings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307237 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 02:05:08 +00:00
Brett Leslie Porter 5d3ae9656b PR: MNG-850
provide feedback when gathering projects, and list build order in reactor.
Also improve naming of projects that don't give a name

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307228 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 00:44:08 +00:00
Brett Leslie Porter 1e8917387a PR: MNG-1098
show reactor summary on all failures

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307224 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 00:21:13 +00:00
Brett Leslie Porter 70ab341c64 PR: MNG-1108
don't resolve a default POM for a parent or dependency of type POM

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307047 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 08:03:25 +00:00
Brett Leslie Porter 6e0a157eb3 add artifact not found diagnoser
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307039 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 07:19:32 +00:00
Brett Leslie Porter 245d512c4a PR: MNG-1110
differentiate between an artifact that is not found, and failure to obtain an artifact

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307034 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 06:44:59 +00:00
Brett Leslie Porter df94412864 fix project reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306649 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 14:06:52 +00:00
Brett Leslie Porter 37f2a94bf2 PR: MNG-1088
if plugin is not built yet, go to the repository

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306547 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 07:10:49 +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
John Dennis Casey c66610a6e4 Resolving: MNG-1056...Added code to reconstruct the remote artifact repository list after the project has had profiles applied. This was already done for plugin repositories. Also, added null protection to DefaultLog per Chris Berry's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@295111 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 20:43:06 +00:00
John Dennis Casey 01e24b5473 Resolving: MNG-1055
o Adding error diagnoser for ProfileActivationException, and an IT to test the formatting.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@295096 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 19:52:30 +00:00
John Dennis Casey a96c8a7692 Fixing it0013 and it0020, and adding next installment of describe mojo implementation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294957 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 00:33:03 +00:00
Brett Leslie Porter 9b53201241 fix assembly descriptor on trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294799 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 15:17:31 +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
Brett Leslie Porter 192de6841a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293588 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 11:13:52 +00:00
Brett Leslie Porter b4e4a1f375 [maven-release-plugin] prepare release maven-2.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293584 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 11:02:48 +00:00
Brett Leslie Porter 6b63c7c152 also add all system properties so that settings from MAVEN_OPTS work.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293583 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 10:55:39 +00:00
Brett Leslie Porter 15c5888835 add copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293564 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 08:17:06 +00:00
Brett Leslie Porter 4433f558a2 sort so it is easy to compare against actual set
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293559 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 07:27:12 +00:00
Brett Leslie Porter 51489cd0fd PR: MNG-956
allow the addition of <dependencies> inside a <plugin> element to introduce plugin specific extensions.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293557 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 07:15:36 +00:00
John Dennis Casey e6dcc36ed5 Resolving: MNG-449, MNG-832
o If the metadata version is still in the plugin artifact after it's resolved, then simply return null and allow the plugin version resolution process to fail.

o Added a new mojo to update the plugin registry (if it's enabled) with newly installed versions of plugins.

o Added comments to maven-settings and maven-plugin-parameter-documenter poms marking the packageWithVersion config as deprecated pending modello alpha-5

o Cleaned up it0013 and it0020 to work with the new resolution (point one above).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293520 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 04:19:40 +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 7c9401fe56 o using new feature in p-d-c which allows the setting of the logging
manager. this allows the embedder user to specify a logger manager that
can be controlled by client code.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293484 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 01:40:32 +00:00
John Dennis Casey 805a5952eb Resolving: MNG-1052
o Added pluginManagement injection to MavenProject.addPlugin(..) so that no Plugin definition added to the project can go without having managed info injected into it.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293454 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 21:38:35 +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
Brett Leslie Porter 56bf69ccc4 PR: MNG-644
remove deprecated default-value handling

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293360 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 14:41:51 +00:00
Brett Leslie Porter a912e034bc PR: MNG-644
error out on bad syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293345 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:35:44 +00:00
Brett Leslie Porter dc56a21047 PR: MNG-644
warning for old syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293344 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:34:23 +00:00
Brett Leslie Porter 14e6e11295 PR: MNG-644
remove deprecated interface method

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293343 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:30:01 +00:00
Brett Leslie Porter 4b6babfbf7 PR: MNG-644
remove deprecated goal syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293332 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:13:44 +00:00
Brett Leslie Porter 85fe459856 PR: MNG-644
remove deprecated goal syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293328 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:10:39 +00:00
Brett Leslie Porter 575f0e8c1b PR: MNG-844, MNG-1073
o aggregating goal that forks a lifecycle should run reactor over projects
o don't show reactor summary if an aggregation goal was run that didn't fork a lifecycle.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293235 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 04:49:21 +00:00
Brett Leslie Porter 86ef6a7f5f handle mojo failure exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293231 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 04:10:19 +00:00
Brett Leslie Porter 56d55b8f8e PR: MNG-932
add a goal for creating a jar from the test sources


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293227 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 03:53:48 +00:00
Brett Leslie Porter f87dfbf04a PR: MNG-1025
use standard resources for the ear plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293212 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 02:30:06 +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
Brett Leslie Porter 5de7973576 PR: MNG-247
Submitted by: Jerome Lacoste
Reviewed by:  Brett Porter
make m2 shell script find home when it is a symlink


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293186 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:16:36 +00:00
Brett Leslie Porter 76f82eefc9 PR: MNG-1057
look for command line goals in the project declared plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292935 13f79535-47bb-0310-9956-ffa450edef68
2005-10-01 07:10:39 +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
Brett Leslie Porter 52e8a216ef PR: MNG-1011
add default goal handling

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292411 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 09:55:25 +00:00
Brett Leslie Porter 20116dbc4e PR: MNG-936
make sure directory exists first

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292409 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 09:26:07 +00:00
Brett Leslie Porter 456a6eb042 add mojo project as a default group
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292361 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 00:29:03 +00:00
John Dennis Casey dac96a1276 Resolving: MNG-800...needed a call to flush the cached plugins-by-key map in the registry when a new plugin is added.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292222 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 16:04:19 +00:00
Brett Leslie Porter 826f3e2a86 PR: MNG-916
ensure RELEASE is not selected as is

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292172 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 13:07:53 +00:00
Brett Leslie Porter bd839db47e fix issue with goal fork
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292143 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 08:16:19 +00:00
Brett Leslie Porter ddfcc65d55 PR: MNG-817
add goal="..." to @execute

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292125 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 05:09:14 +00:00
John Dennis Casey 86d1a481f5 Storing plugin contexts by plugin and project in the release manager, and furnishing access to them via the session. This will restrict shared information scopes to the plugin AND the project, in a reactored situation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292105 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 03:38:00 +00:00
John Dennis Casey 30d2a16b5a Resolving: MNG-823...added context-awareness to AbstractMojo, using ContextEnabled interface to avoid breaking Mojo API for direct implementors. Added two mojos in the core-it plugin to use the plugin context map, and an IT - it0073 - to test the whole thing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292023 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 19:49:37 +00:00
John Dennis Casey da33bafe84 Resolving: MNG-885
o Extracting basedir from the project instance when PluginParameterExpressionEvaluator is init'ed if project != null...otherwise, using ${user.dir} from sysprops.

o Extracting values for resolution from POM properties before POM instance during POM interpolation, and adding checks to guard against self-reference of POM elements.

o Added three ITs (one contra) to test these resolutions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291735 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 20:29:20 +00:00
Brett Leslie Porter beb46f35a6 use expression instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291653 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:11:26 +00:00
Brett Leslie Porter 9500c55d86 set assembly directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291652 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:10:17 +00:00
Brett Leslie Porter 27bc0aea4d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291643 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:30:36 +00:00
Brett Leslie Porter 80c8e188b8 [maven-release-plugin] prepare release maven-2.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291641 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:18:55 +00:00
Brett Leslie Porter fdfe084071 add missing import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291637 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:56:55 +00:00
Brett Leslie Porter 2d69f3a9d6 exclude cli/lang - not needed for cli
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291633 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:41:03 +00:00
Brett Leslie Porter ed370a6382 allow both error and failure exceptions from mojos instead of just checking for a null cause
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291632 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:40:17 +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 1936ab200b o slowly (and safely) trying to make bits extractable from here so that i
can integration it into the embedder and then use the embedder for the

 o it-plugin
 o maven cli
 o ant tasks
 o eclipse m2 plugin
 


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291435 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 16:06:28 +00:00
John Dennis Casey 3f3d07908d Adding validation of @requiresProject and @requiresOnline to PluginManager.executeMojo(..), in order to centrally block mojos from executing under the wrong conditions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291422 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 15:03:59 +00:00
John Dennis Casey 410d22e73c Rolling back the release plugin's dependencies to -beta-1 of maven, and making resolvePluginVersion(..) with the flag for processAsReport public again with deprecation, so the release plugin continues to function into the next release.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291420 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 14:49:27 +00:00
Brett Leslie Porter c5c6c6b7b1 add first segment to list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291357 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 01:55:26 +00:00
Brett Leslie Porter 661051200d no root project in reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291251 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 05:24:15 +00:00
Brett Leslie Porter 0fbd59f4f8 split command to narrow down NPE in integration environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291250 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:56:39 +00:00
Brett Leslie Porter c24680e912 split command to narrow down NPE in integration environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291246 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:16:12 +00:00
Brett Leslie Porter 3e264f80ba PR: MNG-208
flag project that was the root of execution

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291236 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 02:18:54 +00:00
John Dennis Casey 24a108a674 Resolving: MNG-767, MNG-768
o We should have a viable offline mode now. Plugin sensitivity updates to follow.

o See it0069 and it1014 for offline mode tests.

o Brett, building maven-plugins in offline mode with org/apache/maven/plugin/* removed will now give a nice error message. :)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291124 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 14:23:08 +00:00
Brett Leslie Porter 12a5cf7169 PR: MNG-517
improve error reporting on invalid lifecycle goals

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290899 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 06:58:15 +00:00
Brett Leslie Porter d32678b6ee PR: MNG-870
correct method name

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290891 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:50:08 +00:00
Brett Leslie Porter 3d9c4031ab PR: MNG-870
add missing delegator

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290890 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:46:49 +00:00
Brett Leslie Porter cebbdaf1ce PR: MNG-870
MAke plugin discovery reactor aware



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290887 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:34:41 +00:00
Brett Leslie Porter 45274f094d don't use these java reports as defaults just yet
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290869 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 01:01:53 +00:00
Brett Leslie Porter 3af4a18f48 PR: MNG-575
Submitted by: Jesse McConnell
Reviewed by:  Brett Porter
Add a way to configure permissions on deployed files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290660 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:53:46 +00:00
Brett Leslie Porter ec2ece5a3b PR: MNG-902
add default reports

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290654 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:40:42 +00:00
Brett Leslie Porter 965dda3fbf PR: MNG-917
don't overwrite dependency artifacts if they were already created

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290646 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 07:36:39 +00:00
Brett Leslie Porter e88e09c282 PR: MNG-629
fork lifecycle for reports

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290637 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 07:03:22 +00:00
Brett Leslie Porter 8858d8f85c PR: MNG-629
preparing for executing the lifecycle by passing reports into the site plugin, rather than extracting them from the plugin manager

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 06:45:50 +00:00
John Dennis Casey 83d67e6f81 Resolving: MNG-929
o Fixed DefaultMaven to use the release-pom.xml for MavenProjects loaded via <modules/> if the parent project is loaded from release-pom.xml

o Adjusted tests to have dependencyManagement.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290539 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 19:28:54 +00:00
Kenney Westerhof 7009b9e799 Fixed MNG-908: set the contextClassLoader to the classrealm of the
currently executing plugin, so that both getClass().getClassLoader()
and Thread.currentThread().getContextClassLoader() return the same
classloader (and hence resources).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290040 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 01:29:18 +00:00
Brett Leslie Porter 06ab86cb54 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289368 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 02:57:16 +00:00
Brett Leslie Porter 5632e45815 [maven-release-plugin] prepare release maven-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289366 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 02:50:12 +00:00
Brett Leslie Porter 139efa3bdf finish correcting spelling of prerequisites
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289355 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 01:11:42 +00:00