Commit Graph

916 Commits

Author SHA1 Message Date
Brett Leslie Porter 7b7f7659d8 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163361 13f79535-47bb-0310-9956-ffa450edef68
2005-02-17 07:00:25 +00:00
Jason van Zyl 49e98f5f71 o lifecycle executor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163360 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 07:25:31 +00:00
Jason van Zyl 780b693240 o the introduction of the lifecycle stuff we've been chatting about so you
can now do things like:

  m2 package

  which makes the jar

  m2 install

  which installs the jar

  m2 test

  You can also execute individual goals still like:

  clean:clean
  pom:install
  idea:idea

  Execution of goals this way will still have the dependency resolution
  flag obeyed but they are run in isolation in that pre/post goals don't
  exist anymore. You need to slot your mojos into the lifecycle.

  I will add the mechanism whereby configuring a plugin will push
  the mojo into the lifecycle.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163359 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 07:16:33 +00:00
Jason van Zyl 1432ed959d o updating tests to reflect the addition of the lifecyle
in most cases this amounts to changing

  "jar:jar" -> "package"
  "jar:install" -> "install"
  "compiler:compile" -> "compile"

  and I also disabled the tests for pre/post goals as we aren't going
  to use those anymore (hopefully).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163358 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 07:11:14 +00:00
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 688430bb16 continuum freaks out on the trailing slash currently
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163356 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 00:00:21 +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
John Dennis Casey e62b7cad61 Added more doco to the design notes detailing the refactors I've already started.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163349 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 23:00:25 +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
John Dennis Casey 5d0ae1c56e o Added proposal for refactoring maven-plugin-tools to accommodate non-java mojo languages.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163347 13f79535-47bb-0310-9956-ffa450edef68
2005-02-09 21:29:16 +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 54222773a9 ability to set a proxy for a wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163343 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 07:48:08 +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 440cb8d559 left behind an old reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163340 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:30:30 +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
Carlos Sanchez Gonzalez 32beeaed55 Finally using new repo key
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163337 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 20:18:35 +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 2e187a4237 o Fixed formats.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163332 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 22:16:33 +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
Brett Leslie Porter 1d4ef2bc37 previous behaviour of Version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163327 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 09:00:54 +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
Carlos Sanchez Gonzalez a404ffd7d7 Fixed hostname
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163322 13f79535-47bb-0310-9956-ffa450edef68
2005-01-31 22:50:53 +00:00
Carlos Sanchez Gonzalez cfc9ee7610 Use new repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163321 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 00:38:36 +00:00
Carlos Sanchez Gonzalez b5de881683 Added From
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163320 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 00:17:41 +00:00
Carlos Sanchez Gonzalez 58476f1952 Changed notification emai
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163319 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 00:16:11 +00:00
Jason van Zyl b4e6c5b907 {issue:MNG-73}
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163318 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 08:09:40 +00:00
Trygve Laugstol 9a893526e5 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163314 13f79535-47bb-0310-9956-ffa450edef68
2005-01-25 12:10:40 +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