Commit Graph

115 Commits

Author SHA1 Message Date
Jason van Zyl d8c9056f67 o use the new api in maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163186 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 14:30:35 +00:00
Jason van Zyl 5bfcebab21 o adding per goal/mojo configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163183 13f79535-47bb-0310-9956-ffa450edef68
2004-10-03 19:28:25 +00:00
Jason van Zyl 552b22c77a o the first phase of merging plugin configuration as defined in the POM
with defaults and user defined values.

  After a chat with emmanuel we decided that we would allow for plugin
  wide configuration and mojo/goal specific configuration with the more
  specific mojo/goal configuration winning in the event a parameter is
  defined in both places. Currently only plugin wide parameters are
  being considered: I still need to update the model for mojo/goal
  specific parameters and then update the parameter merging code.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163181 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 18:00:09 +00:00
Jason van Zyl e26f756e8f o adding necessary bits and bobs for plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163179 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 14:53:48 +00:00
Jason van Zyl 22f5fe58dc o i want a whole canonical test, but we know most things are working from the integration tests and i am specifically interested in plugin configuration at the moment so that's what's going in right now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163177 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 14:12:40 +00:00
Jason van Zyl a699b769da o improve message when required parameter is null
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163175 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 16:11:11 +00:00
Jason van Zyl 9f4113bb5b o perform some minimal validation of the plugin configuration parameters to make sure they are not null when the parameter is required. throw an exception is the parameter that is required is null.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163173 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:48:54 +00:00
Jason van Zyl 4a14895569 o if an expression evaluates to null then let it let it go through so that it can be examined by the minimal validation now present.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163172 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:47:49 +00:00
Jason van Zyl 33f0f06a11 o throw an exception when there is a plugin configuration problem whether
that be a bad expression or validation problem.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163170 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:09:48 +00:00
Jason van Zyl 15b1a54fee o we want to throw an exception when there is a problem with the configuration of a plugin whether that be an ognl expression evaluation problem or a plugin parameter validation problem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163169 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 14:54:39 +00:00
Emmanuel Venisse 36e362367b Add automatically maven.repo.local to system properties.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163168 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 14:48:07 +00:00
Brett Leslie Porter 6e812f1d2e work without M2_HOME - base on location of batch file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163157 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 14:48:18 +00:00
Jason van Zyl 40734471d8 o use the dispatcher
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163145 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:53:20 +00:00
Jason van Zyl a8db29528c o point the remote repo download to the first dispatcher
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163141 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:26:22 +00:00
Jason van Zyl ec6e54593a o correction for install, trying to set someone up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163139 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 15:04:30 +00:00
John Dennis Casey 8e6c7b0424 o Fixed functionality to disable dependency resolution and download for things like clean:clean.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163138 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 03:31:41 +00:00
John Dennis Casey 5f23120ff6 o Fixed goal decorator inheritance deficiency.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163137 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 02:58:12 +00:00
Jason van Zyl a793d673b4 o add decorator delegation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163136 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 02:29:26 +00:00
John Dennis Casey 90c3f69e1c o removed the current mojo descriptor stuff from the goal execution context...doesn't seem to be used anywhere, and it'll cause problems if the current goal is from a plugin that has not been resolved yet.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163135 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 00:23:35 +00:00
John Dennis Casey 717f716b4f o Trying to get the damn CVS update to take...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163134 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 23:38:30 +00:00
John Dennis Casey 3e49095f26 o Added code to populate the visited set for the goal mapping phase.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163133 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 23:33:02 +00:00
John Dennis Casey 78563d686f o Refactored the goal/plugin resolution part of the lifecycle.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163132 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 23:11:16 +00:00
John Dennis Casey 318f91c3f4 o This wasn't working on FC1, so I used an intermediary to store the location of BIN_DIR and then used dirname a section time to trim the "/bin" from the M2_HOME path.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163127 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 00:45:35 +00:00
Jason van Zyl d99e3305c6 o allow system properties to get passed through as parameters to plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163119 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 03:07:32 +00:00
Jason van Zyl ef61424a93 o my changes in plexus caused some nasty problems so i've backed
them out until tomorrow when i can take another shot.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163112 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 06:08:18 +00:00
Jason van Zyl 3a85d3cfb6 rollback
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163111 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 04:31:54 +00:00
Jason van Zyl a37f880493 o the assembly of the maven runtime more closely resembles what the
plexus runtime generator produces so that i may attempt to use it
  some point in the near future

o flipped back to 0.9-S of wagon until I run this on beaver to
  verify

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163110 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 04:22:07 +00:00
Jason van Zyl f07731e688 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163107 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 02:24:48 +00:00
Jason van Zyl 82e1485159 o maven-artifact and its requirements must be in the core realm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163105 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 01:57:54 +00:00
Jason van Zyl 001717725c *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163104 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 01:52:38 +00:00
Brett Leslie Porter 5d079b2b3b dont want out of date versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163102 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 22:13:29 +00:00
Brett Leslie Porter 9cc7a9e92b align wagon versions, and take the artifact container out of the root class realm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163097 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 21:55:41 +00:00
Brett Leslie Porter 845cddd1ff change constant name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163096 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 21:51:57 +00:00
John Dennis Casey a7b0c7069e o Removed redundant null check on local repo location...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163094 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 16:53:30 +00:00
John Dennis Casey 72d9230f28 o Modified to use plexus-artifact-container-1.0-alpha-1-SNAPSHOT to reflect the change in the artifact container's POM...that container has not been released in any official way, so I changed the version to a -SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163092 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 16:48:18 +00:00
Jason van Zyl 7773dde7de *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163091 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 15:56:34 +00:00
Jason van Zyl ac8f54900d o start keeping track of what ognl expressions are actually allowed
for mojo parameters. i think the goal is to eliminate the use of
  #basedir and get explicit about everything and only use #project
  and #component for mojo parameters.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163090 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 15:10:15 +00:00
Jason van Zyl f915a32db4 o add a convenience method for the local repo path, the removal
of the properties broke a couple plugins using the local repo
  property so i'll use this instead.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163089 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 03:05:07 +00:00
John Dennis Casey 30e1d1f23f o Rolling back changes to super-model loading, with the exception of the supermodel file name change...it's still changed to pom-4.0.0.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163088 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 18:06:01 +00:00
John Dennis Casey 2d4e9a1a0e o Commented earlier changes until I have time to make them work properly
o Added DEFAULT_MODEL_VERSION constant to Maven.class for referencing in case there is no project POM


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163087 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 16:06:13 +00:00
John Dennis Casey 9e24a7b410 o Changed maven-core's super-pom from pom.xml to pom-4.0.0.xml
o Added validation logic for non-heritable pom elements to the default project builder
o Changed default builder to select the correct super-pom from the project pom's modelVersion.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163086 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 14:26:18 +00:00
John Dennis Casey 25ec60bbc6 o Added section on renaming pom.xml in maven-core.jar to pom-4.0.0.xml for future legacy needs
o Added section on minimum required element-set for a unique project pom.xml


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163085 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 14:06:57 +00:00
Trygve Laugstol 0f5fc8560b o Properly aligning the unit test resource directories.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163084 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 13:32:07 +00:00
Brett Leslie Porter 27738439ee optimize imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163082 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 12:34:17 +00:00
Brett Leslie Porter 81cc07979a optimize imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163081 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 12:30:05 +00:00
Brett Leslie Porter ab2bc483b2 make exceptions cause a failure response (and exit with a non-zero exit code)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163079 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 11:04:52 +00:00
Brett Leslie Porter bc287e0e8b change to override.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163077 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 10:59:19 +00:00
Brett Leslie Porter 8e9bdca246 fix license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163076 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 10:48:52 +00:00
John Dennis Casey 63c6bcdcc0 o Cleaned up a bit. Made the diagram prettier, and cleaned up the footnotes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163075 13f79535-47bb-0310-9956-ffa450edef68
2004-09-13 23:49:49 +00:00
Emmanuel Venisse 948fedd99f *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163074 13f79535-47bb-0310-9956-ffa450edef68
2004-09-11 12:50:12 +00:00