Commit Graph

295 Commits

Author SHA1 Message Date
Brett Leslie Porter 2433342e7e fix APT parse errors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163357 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 01:23:55 +00:00
Brett Leslie Porter c54347e9e0 need to reinstate the non-project builder version for plexus-runtime-builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163355 13f79535-47bb-0310-9956-ffa450edef68
2005-02-15 21:39:07 +00:00
Brett Leslie Porter aad6d7c1b0 clarify integration tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163354 13f79535-47bb-0310-9956-ffa450edef68
2005-02-14 04:44:00 +00:00
Jason van Zyl dd522ff10c o little additions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163353 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 20:21:16 +00:00
Jason van Zyl 89c4612bf8 o using a snippet to extract the relevent bit out of the configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163352 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 20:09:22 +00:00
Brett Leslie Porter aa25e4562f add notes relating to alternate lifecycles (eg for site)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163351 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 03:54:12 +00:00
Jason van Zyl 734257981b o adding test class processing phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163350 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 17:36:42 +00:00
Brett Leslie Porter 8ad0f8f745 *very* quick download monitor. Instantiation and output to be reviewed later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163348 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 07:09:57 +00:00
Brett Leslie Porter 1fb63ba3c0 moving repository permissions settings to a separate class - they don't belong in authentication info
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163346 13f79535-47bb-0310-9956-ffa450edef68
2005-02-09 06:17:38 +00:00
John Dennis Casey f191abe11c o First iteration of discussion on implementing marmalade scripting support for mojos.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163345 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 20:51:47 +00:00
Brett Leslie Porter 49963682a2 pass the proxy request parameters to the default wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163344 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 10:32:45 +00:00
Brett Leslie Porter 67d58c8d04 clean formatting, and ensure not to munge the model's repository list while assembling the lineage
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163342 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 06:02:40 +00:00
Brett Leslie Porter 67695dec70 method only used once
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163341 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:39:51 +00:00
Brett Leslie Porter d783d9ce98 reduce number of classes holding on to localRepository unnecessarily
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163339 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:12:58 +00:00
Brett Leslie Porter 797291178f cleanup: remove the remote repository list from the MavenMetadataSource as it was only used in retrieve(), and the equivalent list can be passed directly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163338 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 03:26:06 +00:00
John Dennis Casey bf3c9c2a02 o Replaced Model/MavenXpp3Reader with MavenProjectBuilder in MavenMetaDataSource,
to take advantage of the post-processing (managed dependencies, pom interpolation,
  inheritance assembly) involved with building a project. This shoud make transitive
  dependency resolution more consistent with the rest of m2's handling of
  POM information.

  It has been tested on marmalade in the jelly-core taglib, but
  I'm not sure how to setup an integration test using the it-verifier
  to build multiple POMs in a single test, so I'm not sure how to
  setup an integration test for this.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163336 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 04:02:10 +00:00
John Dennis Casey 4f8225545e o Added pom interpolation based on regex search-and-replacement with ReflectionValueExtractor pom lookups.
o Moved ReflectionProjectValueExtractor into o.a.m.util package and renamed to ReflectionValueExtractor
o Added unit tests for interpolation
o Added integration test for interpolation


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163335 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 20:54:15 +00:00
Brett Leslie Porter e480dd8d3e o add basic auth to model and lightweight wagon
o add proxy configuration in lightweight wagon
o not yet wiring in the properties from maven.properties into the repository


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163334 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 11:39:27 +00:00
Brett Leslie Porter 6503a19dfc add license, reformat to style and change failing test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163333 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 09:10:02 +00:00
John Dennis Casey 2ce3a6cbde o Fixed formats for inheritance assembler additions
o Removed unused import on defaults injector.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163331 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 22:14:46 +00:00
John Dennis Casey 64f75b8aa0 o Removed dependency validation after default injection, since this is the job of the validator (later in the project-building process)
o Reformatted using m2 eclipse formatting file.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163330 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 22:13:15 +00:00
Michal Maczka 4dfcf82eae correcting role name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163329 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 20:15:28 +00:00
Brett Leslie Porter cf673c6270 add missing note about goal aliasing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163328 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 09:18:20 +00:00
John Dennis Casey 6eb196cc55 o Corrected issue with inheritance of <dependencyManagement/>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163326 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 03:11:02 +00:00
John Dennis Casey da47c49f4f o Revised the defaults section to <dependencyManagement>, all builds and is happy.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163325 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 02:23:12 +00:00
John Dennis Casey 58ead792af o over-specified the dependency's properties empty-check...
Dependencies should be able to override the default properties simply
  by supplying <properties/>. This change enables that.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163324 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:44:43 +00:00
John Dennis Casey e687cfed61 o Added dependencyDefaults section to POM.
The nested <dependencyDefault> element closely mirrors the <dependency> element specification.
  It provides the ability to set url, artifact, properties, version for a dependency that matches on
  {groupId, artifactId, type}. Url, artifact, and version will only override the dependency's values if
  the dependency doesn't provide the value, and (in the case of url and artifact) the dependency
  doesn't provide a version (url and artifact are assumed to be version-specific).

  Properties will only be overwritten, and only in the case where the dependency
  doesn't specify them.

  Dependencies are validated after merging with defaults, since version is not required
  on either <dependency> or <dependencyDefault> but is required between the two.

o Added component interface/default impl for injecting project defaults.
o Added unit and integration tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163323 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:43:03 +00:00
John Dennis Casey cfc50a76aa o Added some discussion notes at the end of the document, since I'm not sure where else to put them.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163313 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 01:41:24 +00:00
Jason van Zyl 0575ec3c76 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163312 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 16:11:57 +00:00
Jason van Zyl 3f3c38afc9 o first copy of notes, this first push will become 3-4 pages over the course of the day, bare with me.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163311 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 15:45:41 +00:00
John Dennis Casey faaa6ba7f5 o Accidentally committed a bunch of development stuff...cleaning up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163310 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 20:38:05 +00:00
John Dennis Casey d81fa66315 o Added imports for MavenExecutionRequest and MavenExecutionResponse.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163309 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 20:36:45 +00:00
Trygve Laugstol cd38ae43fc o Improving exception message.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163297 13f79535-47bb-0310-9956-ffa450edef68
2005-01-06 23:58:52 +00:00
Trygve Laugstol 796064a35c o Removing plexus-utils from the excludes list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163291 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 17:56:20 +00:00
Emmanuel Venisse a45ae033dc Fix command line for cygwin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163288 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 14:04:55 +00:00
Jason van Zyl 873fc22f6d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163287 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 05:30:46 +00:00
Jason van Zyl 153d46aa2f *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163279 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 20:50:49 +00:00
Jason van Zyl 107aa56cc5 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163276 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:43:20 +00:00
Jason van Zyl a6a0eab73d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163275 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:32:54 +00:00
Jason van Zyl 2c809a239c o don't merge configuration if there is no project. again here we
might always want to send the super POM through for consistency.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163274 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:32:36 +00:00
Jason van Zyl ebbb80139c o if we don't have a project then we don't have any pre/post goals.
this happens when we are initializing a project. maybe for the
  initializing mode we should send in the parent POM. not sure yet.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163273 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:30:43 +00:00
Jason van Zyl 1e3e8c5073 o throw a configuration exception if a component can't be found we can't recover from that.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163272 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:29:14 +00:00
Jason van Zyl fe05b1efc9 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163271 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:09:31 +00:00
Jason van Zyl a605b693e8 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163270 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 18:59:06 +00:00
Jason van Zyl 52ab7890fc no message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163267 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:38:26 +00:00
Jason van Zyl 4d6c85244d o reformatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163266 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:35:42 +00:00
Jason van Zyl 8e02162f79 o reformatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163265 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:29:15 +00:00
Jason van Zyl 16036aa792 updating copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163264 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:26:25 +00:00
Jason van Zyl 8afb73892d remove notion of maven home from the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163263 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 22:28:36 +00:00
Jason van Zyl 33332423f6 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163262 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 21:36:00 +00:00
Jason van Zyl a8d5efcfdb *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163261 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 20:55:54 +00:00
Jason van Zyl 47798a5834 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163260 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 20:51:45 +00:00
Jason van Zyl d7591b9f76 o move some shared execution request handling code to the super class
o cleanup the plugin manager interface, we don't need to set the local
  repository as that information is in the request and session.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163259 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 17:29:42 +00:00
Jason van Zyl 7099cca292 o we'll deal with v3 -> v4 conversion somewhere else.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163258 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 03:20:02 +00:00
Jason van Zyl 754feeadb3 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163257 13f79535-47bb-0310-9956-ffa450edef68
2004-12-23 23:46:42 +00:00
Emmanuel Venisse 0e31910a59 Use parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163244 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 10:47:07 +00:00
Jason van Zyl 4d4fc115d9 o we're still using ognl-esque expressions but we don't need its syntax internally.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163242 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 22:06:34 +00:00
Jason van Zyl 3a28b21872 o removing the use of OGNL, snagged some classes from velocity to do
the plugin parameter expression evaluation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163241 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 21:45:36 +00:00
Jason van Zyl 4eff8b0aea o Trying to keep only keep the main entry point into maven as the only classes in the top level package.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163238 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 04:16:07 +00:00
Jason van Zyl 2c09099b78 o in the contextualize method where we are getting a reference to the container but we only need the basis PlexusContainer. The only place we need the artifact enabled container is in the addPlugin method. Otherwise, in standard PlexusTestCases we will get a ClassCastException. You do not need to use an ArtifactEnabledTestCase unless you actually want to use the facilities of the artifact enabled container.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163234 13f79535-47bb-0310-9956-ffa450edef68
2004-11-14 07:13:05 +00:00
Trygve Laugstol 8d339b01b8 o Fixing a bug where the resolve dependencies flag was ignored.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163233 13f79535-47bb-0310-9956-ffa450edef68
2004-11-05 20:31:14 +00:00
John Dennis Casey 308e07f34c o Add the model's parent to the set of artifacts to be resolved. This will allow dependency poms' parent-poms' dependencies to be included in the build classpath as implicit dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163231 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 22:56:42 +00:00
Emmanuel Venisse d4fdb18d1f Set maven.repo.local system property.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163226 13f79535-47bb-0310-9956-ffa450edef68
2004-11-02 11:03:27 +00:00
Emmanuel Venisse b8d4bcaa0d Make the script resilient to changes in the classworlds JAR. It works ONLY if M2_HOME doesn't contains spaces.
If we use double quote around %M2_HOME%\\core\\boot\\classworlds-*.jar for classpath, '*' isn't interpreted by dos.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163225 13f79535-47bb-0310-9956-ffa450edef68
2004-10-28 21:08:13 +00:00
Jason van Zyl 2c8cc4ab93 o make the script resilient to changes in the classworlds JAR
Could someone try to do the same with the .bat file before I update
  to a release version of classworlds?


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163224 13f79535-47bb-0310-9956-ffa450edef68
2004-10-27 18:03:44 +00:00
Jason van Zyl 9805428ed2 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163223 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 01:15:46 +00:00
Jason van Zyl 275f002ac9 o updating to the latest wagon snapshots
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163221 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:42:32 +00:00
Jason van Zyl 3a09b73001 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163219 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:52:00 +00:00
Jason van Zyl 6d581ccb9d o don't need to block out xstream anymore, it's not a core dep any longer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163218 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:31:02 +00:00
Jason van Zyl 91da8f24e7 o removal of xstream
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163214 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:15:08 +00:00
Trygve Laugstol 985d5c867c o Fixing license
o Prevent a NPE with a better exception.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163211 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 12:16:23 +00:00
Jason van Zyl f279ac17c2 o license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163210 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 04:10:47 +00:00
Jason van Zyl 2fe3bf7830 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163209 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:49:55 +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
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
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 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
Emmanuel Venisse 1f830eca4c Fix format.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163073 13f79535-47bb-0310-9956-ffa450edef68
2004-09-11 12:21:30 +00:00
Emmanuel Venisse 10fe573a33 Add basedir sub-directories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163072 13f79535-47bb-0310-9956-ffa450edef68
2004-09-11 12:16:19 +00:00
Brett Leslie Porter 182d817ff1 return exit code for goal failures
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163071 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 23:43:35 +00:00
Jason van Zyl 72952a0a7a o more links to existing docs, just for the m2 devs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163069 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 01:55:23 +00:00
Jason van Zyl 71a5a9fac6 o getting rid of some cruft
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163068 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 01:53:35 +00:00
Jason van Zyl 45d80b0f10 o descriptor for site generation using doxia
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163067 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 01:52:13 +00:00
Jason van Zyl f560b3c346 o add the distributionManagement element so I can deploy the m2 site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163066 13f79535-47bb-0310-9956-ffa450edef68
2004-09-10 01:45:52 +00:00
John Dennis Casey abb54cdba5 o added general resolution form with explanation as a comment at the bottom of the diagram.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163064 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 01:13:38 +00:00
John Dennis Casey 092f0c529d o added handling of decorators.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163063 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:54:55 +00:00
Jason van Zyl e64ca73cd4 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163062 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:41:35 +00:00
Jason van Zyl 9f798c4c4a *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163061 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:39:54 +00:00
Jason van Zyl 70b9587bb1 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163060 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:38:46 +00:00
Jason van Zyl 4adfb19dce *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163059 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:37:26 +00:00
Jason van Zyl 61ab7fa7dd *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163058 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:35:19 +00:00
Jason van Zyl 0fe12c5a57 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163057 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:33:39 +00:00
Jason van Zyl 66a0a01d86 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163056 13f79535-47bb-0310-9956-ffa450edef68
2004-09-09 00:06:36 +00:00
Jason van Zyl dbb1eec439 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163055 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 23:43:22 +00:00
Jason van Zyl 3545b9a1fe *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163054 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 23:40:13 +00:00
John Dennis Casey 1d4f8b9073 o added bullet point for implied goals, to be handled separately from multiple explicit goals.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163053 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 12:40:01 +00:00
John Dennis Casey 8ca7a7391b copied single-goal flow to multiple-goal section to have a skeleton on which to build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163052 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 12:36:52 +00:00