Commit Graph

667 Commits

Author SHA1 Message Date
Jason van Zyl 8c892891cc o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163207 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:06:06 +00:00
Jason van Zyl 59310c5243 o use xml utils from plexus-utils
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163206 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 17:31:56 +00:00
Jason van Zyl f574221eb2 o we are now sharing the xml util code from plexus utils, modello
needs this code.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163205 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 17:20:30 +00:00
Jason van Zyl 50fb033c91 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163204 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:39:58 +00:00
Jason van Zyl 79eac7de39 o updating top-level POM
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163203 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:37:41 +00:00
Jason van Zyl f50f1b610e o update the scripts for maven for the change in the location of classworlds,
which reflects the location that the plexus runtime builder places
  classworlds

o change the internal configuration to match some of the changes made to
  plexus to account for elimination of xstream as a dependency. We're not
  all the way there because xstream is still required in the plugin tools.

o a little exception handler stub which I'm going to use to clean up the
  huge stack traces that comes out. Going to map specific exceptions to
  specific errors messages and to specific entries in a FAQ to help users
  learn about commons errors.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163202 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:37:18 +00:00
Jason van Zyl 0c72d1fb06 o remove the use of the deprecated basedir field in PlexusTestCase and use
the getBasedir() method.

o use the getBasedir() method in any test helpers that construct paths.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163201 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:33:59 +00:00
Jason van Zyl a595eacd35 o change the reference to the location of classworlds ... this is bad,
m2 should run as it does from the command line for these tests which
  I will change. Integration tests for embedding should use the component
  which will detect some of the leakage problems found by a couple new
  users.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163200 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:32:39 +00:00
Jason van Zyl 21d7ed946d o update for the api/impl separation in Plexus
o make the runtime setup the same as what the Plexus runtime does which
  is to put classworlds in a separate directory as to simplify the
  directive to include all the core JARs: one line as opposed to having
  to list all the dependencies.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163199 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:31:15 +00:00
Jason van Zyl eecefb78f2 some notes on changing dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163198 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:28:06 +00:00
Jason van Zyl 8da840e736 o adding a POM for the new mboot stuff
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163197 13f79535-47bb-0310-9956-ffa450edef68
2004-10-21 16:08:28 +00:00
Trygve Laugstol d167b8c23c o Ops, removing dependencies that shouldn't be there.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163196 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 18:14:48 +00:00
Trygve Laugstol 234efe2f78 o Adding <ciManagement> info.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163195 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 17:52:14 +00:00
Brett Leslie Porter 185e04924f add maven-plugins repository sync
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163194 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 12:10:26 +00:00
Trygve Laugstol 0fc31ef9a4 o Adding ci management inhertiance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163193 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 19:40:32 +00:00
Carlos Sanchez Gonzalez 8be0ceb7d2 Added support for bundles with subdirs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163192 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 09:31:44 +00:00
Trygve Laugstol 74c818888a o Fixing MNG-90:
- Improved the SCM part of the ModelInheritanceAssembler
o Fixing some eclipse warnings and adding some licenses.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163191 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 22:56:47 +00:00
Trygve Laugstol 91baa6e9b8 o Making mavenHomeLocal a optional argument.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163190 13f79535-47bb-0310-9956-ffa450edef68
2004-10-09 00:25:37 +00:00
Trygve Laugstol 0bd570aa33 o Adding util class for setting up plexus for use with maven.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163189 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 19:19:55 +00:00
Trygve Laugstol 698119ea0b o Added mavenHomeLocal as a argument to the project builder. The project
builder should now completly obey mavenHomeLocal.
o Made mavenHome and mavenHomeLocal Files instead of Strings.
o Adding licenses to some files missing license.
o Silencing some eclipse warnings.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163188 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 19:15:02 +00:00
Trygve Laugstol 3045b7fcfc o Better error reporting.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163187 13f79535-47bb-0310-9956-ffa450edef68
2004-10-07 10:00:55 +00:00
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 fa9735291f o putting into play the use of the artifact filter during the transitive
collection of artifacts.

  -> I was previously using a an exclude list but that was only taking into
     account the top-level pass of the artifacts so what was happening was
     things like maven-core weren't going in repeatedly but all of
     maven-core's deps were going in repeatedly. So by using the filter
     in the collector that sort of behaviour is stopped and now I can
     make the filter do anything I want to account for any weirdisms
     I subsequently encounter.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163185 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 14:30:00 +00:00
Jason van Zyl cf8d34fe69 o simple interface that will be used inside the resolver to allow artifacts to be filtered out from the result list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163184 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 01:57:59 +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 6ec6f3d88b o adding in the per goal/mojo configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163182 13f79535-47bb-0310-9956-ffa450edef68
2004-10-03 19:25:15 +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 b6ba62ae98 o sketch of plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163180 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 16:39:52 +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 3ec86ab1ea o adding <plugins/> element to the model that will be used for configuring
plugins (i am getting tired of the -Dfoo=bar mucking).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163178 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 14:36:23 +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
Emmanuel Venisse ed31ac5175 Fix mapStyle attribute. The correct name is xml.mapStyle
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163176 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 12:35:20 +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 4072630050 o the required field was not being written out correctly. now it is and an exception is thrown when a required parameter is null.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163174 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 16:10:30 +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 bdcd0670ed o accounting for a change i just made in maven-core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163171 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:46:38 +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
Emmanuel Venisse c894f62970 MNG-86. Fix bootstrap failures when M2_HOME contains spaces.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163167 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 08:49:20 +00:00
Emmanuel Venisse b1b7930761 Fix artifact handling for unsupported artifact type.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163166 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 11:20:38 +00:00
Emmanuel Venisse a3374e3e8d Tes if handler exist before use it in path method.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163165 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 10:21:22 +00:00
Emmanuel Venisse e07d3929ae Activate the xdoc generation for the model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163164 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 12:49:54 +00:00
Emmanuel Venisse 1fa014b17b *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163163 13f79535-47bb-0310-9956-ffa450edef68
2004-09-26 20:29:51 +00:00
Emmanuel Venisse 7f564a214d Update plexus version for modello.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163162 13f79535-47bb-0310-9956-ffa450edef68
2004-09-26 20:26:03 +00:00
Emmanuel Venisse 3904fc81eb Remove modello-xdoc.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163161 13f79535-47bb-0310-9956-ffa450edef68
2004-09-26 20:21:07 +00:00
Emmanuel Venisse 78de36fa72 We use now the new modello.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163160 13f79535-47bb-0310-9956-ffa450edef68
2004-09-26 13:29:06 +00:00
Emmanuel Venisse 9eccf7e139 Fix parent field.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163159 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 15:34:11 +00:00
Emmanuel Venisse bea17db376 The new model for the new modello. Not tested for the moment.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163158 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 14:57:07 +00:00