Commit Graph

9116 Commits

Author SHA1 Message Date
Benjamin Bentmann d66682c37d o Made bootstrapper fully respect user-supplied maven home directory, including the final directory name
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@942430 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 18:04:28 +00:00
Kristian Rosenvold acd6b3c1c0 [MNG-4633] Re-added configurable phase synchronization wrt upstream phase
Made execution plan calculation parallel in weave mode

Existing weave mode would only phase-lock to the same phase upstream.
Execution plan calculation made parallel at high-level, still looking
into reducing blocking in DefaultMavenPluginManager to cash in on this.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@941474 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 20:38:28 +00:00
Benjamin Bentmann c02663ff3a o Removed cruft
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@941252 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 11:21:42 +00:00
Benjamin Bentmann d126a29bc7 [MNG-4664] Minor patches needed to run Maven3 with the replacement Guice-Plexus container
Submitted by: Stuart McCulloch

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@941224 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 09:49:08 +00:00
Benjamin Bentmann f9002b1821 o Fixed error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@940810 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:41:32 +00:00
Benjamin Bentmann 90027ef75a [MNG-4658] Relax validation of repository ids and only warn upon conflict with "local"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@940790 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 09:57:46 +00:00
Benjamin Bentmann 630c059142 o Extended tests
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@940066 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:04:39 +00:00
Kristian Rosenvold ab495d4a39 [MNG-4633] Changed to use nice clean countdownlatch instead of synchronized booleans
Also updated phase locking to only lock when project being built changes phase

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@939220 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 07:22:39 +00:00
Benjamin Bentmann 0d7a05f8b2 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@939034 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 18:04:12 +00:00
Kristian Rosenvold 1248bd1c1f [MNG-4651] Re-added missing methods for 3.x site plugin
Also clarified role of LifecylceExecutor as a 'facade providing lifecycle services'

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@939028 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:51:31 +00:00
Benjamin Bentmann dc09df4b99 o Simplfied code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938491 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 15:00:34 +00:00
Kristian Rosenvold 6c35e2d3cf [MNG-4642] Added missing attribute in PDB
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938480 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 14:46:46 +00:00
Kristian Rosenvold 1a7361596b [MNG-4642] Extended MojoDescriptor with threadSafe attribute
Added support for detecting @threadSafe annotation and a nice noisy, warning message.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938443 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:07:17 +00:00
Benjamin Bentmann f46dc2a538 o Extended documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938420 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 12:33:00 +00:00
Benjamin Bentmann 1da75bb7ef o Polished log output
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938411 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 11:11:49 +00:00
Benjamin Bentmann 83389c3402 [MNG-4648] NullPointerException thrown from DefaultPluginRealmCache#pluginHashCode method if project-level plugin dependency misses version
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938410 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 11:09:54 +00:00
Benjamin Bentmann 809969a06b o Made programming errors show up as internal errors to the user
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938393 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:15:27 +00:00
Kristian Rosenvold ef776a9a17 [MNG-4633] Adjusted upstream reactor artifact resolution to resolve on every phase change
Changed build summary time to show effective mojo time in weave mode, it's the only thing that made sense.
Removed uneccessary synchronized block in DefaultMavenPluginManager because now everything JustWorks(TM)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938149 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 17:43:51 +00:00
Benjamin Bentmann dea099cdef o Fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@937234 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 10:29:12 +00:00
Benjamin Bentmann 5b387d543b o Disabled cobertura-maven-plugin to get site generation working
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@937218 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 09:50:50 +00:00
Benjamin Bentmann 1253e7d631 o Updated to plexus-utils:2.0.4
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@936685 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 09:35:33 +00:00
Benjamin Bentmann 5881bc7474 o Cleaned up license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935748 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 21:14:33 +00:00
Kristian Rosenvold 2339e16750 o Refactoring: Moved one incorrectly placed method from BuildListCalculator to TaskSegmentCalculator
This method was creating a lot of strange internal dependencies since it was mis-placed

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935741 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:57:44 +00:00
Benjamin Bentmann b329fdb4e5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935667 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:55:28 +00:00
Benjamin Bentmann 958b6eced1 [maven-release-plugin] prepare release maven-3.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935664 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:54:05 +00:00
Kristian Rosenvold 954acd1a12 o Refactoring: Extracted schedules out of DefaultLifecycles
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935341 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 13:52:20 +00:00
Kristian Rosenvold 69c68d06c5 [MNG-4633] Reactor artifact resolution in weave mode
Resolves artifacts from within reactor build.
No longer requires artifacts to be present in local repository before building weave mode ;)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935334 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 11:36:37 +00:00
Benjamin Bentmann e3c7c2633d o Fixed format of project id
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934867 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:37:25 +00:00
Benjamin Bentmann 419a1d4627 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934861 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:18:48 +00:00
Benjamin Bentmann d8a1cb1b9a o Improved validation messages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934853 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 12:50:18 +00:00
Benjamin Bentmann 4bddf292f5 o Allowed inspection of erroneous model
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934451 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 15:31:08 +00:00
Benjamin Bentmann 41eb59fdd1 o Fixed handling of missing project artifact id
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934440 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 15:09:40 +00:00
Kristian Rosenvold 7e5e5eb1da [MNG-4633] Weave mode operational.
Replaced approximation-based algorithm for detecting upstream-mojo dependencies with
a proper phase based solution. Revised re-resolution strategy of reactor artifacts

There are a few minor performance inefficiencies (only in weave mode), that will be
sorted for beta-2.

Improved logging, and also added initial graphviz-format log output support

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934425 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 14:34:42 +00:00
Benjamin Bentmann a315a9dac3 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934381 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 12:04:02 +00:00
Benjamin Bentmann effd92055c o Removed redundant/superfluous option
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934372 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 11:34:55 +00:00
Benjamin Bentmann 9fa047dc30 o Removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:39:45 +00:00
Kristian Rosenvold 95330133d9 [MNG-4633] Fixed weave mode bug when building m3 itself in weave mode.
Updated testcase for MEP.

Also removed all unused/unecessar code from weave mode.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934201 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:23:26 +00:00
Benjamin Bentmann ac455ccc60 o Polished logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933910 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 11:02:23 +00:00
Igor Fedorenko 2115920094 MNG-4634 Allow custom lifecycles
Build extensions plugins can now define new lifecycles. Implementation guarantees 
that standard lifecycles, i.e. default, clean and site, are considered before custom
lifecycles. It assumes that phase names are globally unique and ignores any
duplicate phase names (with a warning).

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933848 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 03:09:21 +00:00
Kristian Rosenvold 87ff4bf414 [MNG-4633] Changes from review on #maven-dev
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933799 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 22:00:53 +00:00
Kristian Rosenvold 12b34781ec [MNG-4633] Removed isWeaveMode from ReactorArtifactRepository
This feature was incorrect, and weave mode requires no special handling here.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933771 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 20:09:15 +00:00
Kristian Rosenvold dbc214def7 [MNG-4632] Class loading is not thread-safe
Fixed problem where ClassWorld was missing a synchronized.

Also code-reviewed synchronization in ClassWorld vs ClassLoader and
discovered no other problems.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933714 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 17:34:29 +00:00
Benjamin Bentmann 6917060e56 o Eased migration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933174 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:19:24 +00:00
Benjamin Bentmann 3d2bebeb19 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933172 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:18:26 +00:00
Benjamin Bentmann e171aa5e0d o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933001 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 22:15:17 +00:00
Benjamin Bentmann 91e83d2424 o Refactored execution event firing
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933000 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 21:41:33 +00:00
Herve Boutemy d6c1136f93 upgraded Modello to 1.3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932997 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 21:36:08 +00:00
Benjamin Bentmann 21997b5c6b o Improved logging for forked executions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932966 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 18:10:07 +00:00
Jason van Zyl 6ab4736f12 Change the default maven-compiler-plugin version to 2.3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 11:48:33 +00:00
Benjamin Bentmann 0c20759680 [MNG-4453] [regression] Plugin versions defined in a lifecycle mapping are not respected
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932609 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 20:59:09 +00:00