Commit Graph

482 Commits

Author SHA1 Message Date
Trygve Laugstol 80a077f1a8 o Updating the second half of references from plexus-0.16.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163011 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 11:47:30 +00:00
Emmanuel Venisse b14dcc94bd Test if buildDir exists before call forceDelete
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163010 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 11:33:41 +00:00
Trygve Laugstol 368a4fec95 o Adding excludes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163009 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 10:16:28 +00:00
Trygve Laugstol 98636339cd o Removing IDEA project files.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163008 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 10:14:04 +00:00
John Dennis Casey a949eb66de o Removed GoalDecorationPhase, since goal decoration is now a part of the model
o Removed PluginDownloadPhase, since plugin resolution/download has to be a part of the prereq and pre/postGoal resolution, too
o Changed DefaultMaven to execute the session lifecycle, and the component wiring to likewise wire the DefaultMaven with a session lifecycle manager
o Removed the org.apache.maven.decoration package and its contents, since this is all in the model now
o Fixed the GoalResolutionPhase to verify each goal's plugin in turn as it resolves prereqs, preGoals and postGoals
o Fixed the GoalResolutionPhaseTest to work with the new resolution model
o Added a new createGoalExecutionContext to the MavenTestCase base class, to allow me to inject a MavenProject directly rather than a pom file
o Fixed the MavenLifecycleManagerTest to only expect 4 lifecycle phases, now than the plugin resolution and goal decoration phases are obsoleted
o All builds on local machine, but will depend on plexus-0.17.jar/pom and plexus-artifact-container-1.0-alpha-1.jar/pom to build on beaver
o I uploaded plexus-artifact-container-1.0-alpha-1.jar to ${plexus.home}/dist, but cannot upload POMs due to priveleges problem in poms dir.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163007 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 04:40:02 +00:00
John Dennis Casey 24ce8263d9 o Changed to depend on plexus-0.17 instead of -0.16
o Changed the embedder/container used to be the new artifact-aware container (plexus-artifact-container-1.0-alpha-1)
o Added new dependency to maven-core for artifact-container.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163006 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 01:18:19 +00:00
Jason van Zyl b93016e064 o forgot the trailing slash
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163005 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 21:13:43 +00:00
Jason van Zyl c472d8ab64 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163004 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 21:04:17 +00:00
Jason van Zyl 8464887194 script to sync the new ibiblio staging site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163003 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 20:23:23 +00:00
John Dennis Casey 975e9491d8 o Reformatted source code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163002 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 20:41:45 +00:00
John Dennis Casey 28be3319be o Replaced license in source
o Added testing to show failure to merge resources from parent into child build which specifies a build without these elements
o Fixed resource blending for child build sections which don't specify them.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163001 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 20:24:54 +00:00
John Dennis Casey 2a3f7b7220 o Added unit test to express lack of source directory inheritance (*ourceDirectory within <build>)
o Fixed *ourceDirectory inheritance


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163000 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 20:04:34 +00:00
Jason van Zyl 47bdc91285 o prereqs in the wrong order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162999 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 00:33:09 +00:00
Jason van Zyl fd70e514f9 o generate the descriptor as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162998 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 00:29:44 +00:00
Jason van Zyl c86ea920b8 o adding plugin install
this is not the way i want the installing mechanism to work (i.e. copying
  the same class around ...) but folks want to install plugins so i'll just
  pop this in for now.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162997 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 00:27:44 +00:00
Emmanuel Venisse 5d89d4b2c2 Reverse my change.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162996 13f79535-47bb-0310-9956-ffa450edef68
2004-08-22 14:40:50 +00:00
Emmanuel Venisse 32a567b040 Define the parent plugin type to plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162995 13f79535-47bb-0310-9956-ffa450edef68
2004-08-22 13:29:07 +00:00
Brett Leslie Porter 48498cea35 fix typo in warning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162994 13f79535-47bb-0310-9956-ffa450edef68
2004-08-21 00:15:53 +00:00
Brett Leslie Porter 9fa341cf45 fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162993 13f79535-47bb-0310-9956-ffa450edef68
2004-08-21 00:15:10 +00:00
Brett Leslie Porter 28c89971f2 clean before build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162992 13f79535-47bb-0310-9956-ffa450edef68
2004-08-21 00:14:25 +00:00
Jason van Zyl 02cc1d93ee o filter out more of maven's core dependencies
fix for cameron braid to get the eclipse plugin working.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162991 13f79535-47bb-0310-9956-ffa450edef68
2004-08-19 17:14:17 +00:00
Emmanuel Venisse 97a37e6c2f Fix userModel loading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162990 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 07:28:10 +00:00
Brett Leslie Porter 36f1e02099 enhance/fix tests, and make resolver work correctly when at least one repo is good out of a list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162989 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:58:29 +00:00
Brett Leslie Porter 059a3f888c respond with BUILD FAILED on exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162988 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:55:50 +00:00
Brett Leslie Porter 176ff014b9 load repositories from user configuration before trying to find the POMs there
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162987 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:55:23 +00:00
Brett Leslie Porter 17887dbea6 ignore logs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162986 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:50:42 +00:00
Emmanuel Venisse 330d33e5aa Use the correct type for pom installation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162985 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 08:45:38 +00:00
Jason van Zyl 125b833abc o toss out the log of the build if something goes wrong, otherwise just
indicate things went OK.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162984 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 16:52:07 +00:00
Jason van Zyl cad4fb9326 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162983 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 16:49:32 +00:00
Jason van Zyl 8991c26f9c o install the POM for the integration tests
NOTE: this is not how I would like this handled, the artifact layer will
  be responsible for dealing with metadata in a way that is controlled by
  the artifact handler.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162982 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 16:19:38 +00:00
Jason van Zyl bf3c8b0576 o the pom should definitely be installed but how snapshots are handled
vs releases needs to be clarified as the use of snapshots I'm trying to
  encapsulate into a single class which i haven't fully resolved. doing

  if ( SNAPSHOT )
  { ... }

  is not what we want ...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162981 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 16:18:21 +00:00
Jason van Zyl 5e0b187204 o more additions to the session code, not turned on yet but doing things in
smaller batches.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162980 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 15:01:52 +00:00
Brett Leslie Porter 72d71b215f disable test again - fails under mboot because there are no transitive deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162979 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 06:11:07 +00:00
Brett Leslie Porter 2c0b5d4ea4 load ~/.m2/pom.xml for user overrides
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162978 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:32:04 +00:00
Brett Leslie Porter 0f706f5102 fix error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162977 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:30:31 +00:00
Brett Leslie Porter bd9992eb74 improve error if running offline and a dependency is missing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162976 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:30:20 +00:00
Brett Leslie Porter d303a99fa5 ignore commented lines, fail script on failure of any test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162975 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:28:31 +00:00
Brett Leslie Porter 3f60d949ba this test now works
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162974 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:27:04 +00:00
Brett Leslie Porter 7a7678e1a2 add me to list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162973 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:25:02 +00:00
Brett Leslie Porter 5e7a365a6f have system properties override maven.properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162972 13f79535-47bb-0310-9956-ffa450edef68
2004-08-14 20:46:24 +00:00
Brett Leslie Porter 03d569dcef improve error message when property is missing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162971 13f79535-47bb-0310-9956-ffa450edef68
2004-08-14 06:59:53 +00:00
Brett Leslie Porter 1dfc502e05 fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162970 13f79535-47bb-0310-9956-ffa450edef68
2004-08-14 06:59:14 +00:00
Jason van Zyl 097c8f7623 o started building up the code that we will use for the session lifecycle
-> bascially the mechanism is the same as the one we use for the goal
     execution lifecycle

  This first cut is so John can see as we're discussing the session stuff
  at the moment and I need to get this working in order to push all notions
  of artifact handling out of MavenProject.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162969 13f79535-47bb-0310-9956-ffa450edef68
2004-08-12 22:52:55 +00:00
Jason van Zyl e232e07440 o changing MavenLifecycleContext to MavenGoalExecutionContext which is what
it really is. Making way for the notion of a MavenSessionExecutionContext
  and it is looking like we will end up with two lifecycles. Where we are
  dealing with notions of goals and sessions: some operations need to be
  done at the session level and don't need to be repeated for the execution
  of every goal.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162968 13f79535-47bb-0310-9956-ffa450edef68
2004-08-12 18:41:15 +00:00
Jason van Zyl 133a51a629 o removing any notions of the local repository from MavenProject, not the
right place for it.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162967 13f79535-47bb-0310-9956-ffa450edef68
2004-08-12 17:55:48 +00:00
Jason van Zyl cc783005c1 o cleaning up the ci.sh for the new build with mboot.jar
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162966 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 20:38:32 +00:00
Jason van Zyl f7d630577d no message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162965 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 20:14:14 +00:00
Jason van Zyl d0be8d9bf8 o changing the strategy for downloading to make File.renameTo workable.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162964 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 19:47:49 +00:00
Emmanuel Venisse 668bcd6ac8 Add some exception when we obtain compilation error or tests failures for stop the bootstrap process.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162963 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 06:21:13 +00:00
Jason van Zyl 23c279ed42 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162962 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:52:42 +00:00