Commit Graph

207 Commits

Author SHA1 Message Date
Benjamin Bentmann 20f8323b0a [MNG-4221] Push all repository/artifact related code into a legacy module and create a backward compat layer for external consumers
o Refactored code to make maven-compat depend on maven-core, this got ugly regarding some tests which to a high degree depend on a full-blown repository system

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829934 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 20:16:00 +00:00
Benjamin Bentmann 65011e780e o Decoupled test from central and used a file-based stub repo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829415 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:25:01 +00:00
Benjamin Bentmann 66f67c3d40 o Added quick fix for LegacyRepositorySystemTest which hasn't been updated to use the stub repo yet
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829407 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:46:26 +00:00
Benjamin Bentmann 86c8236aab o Decoupled tests from central and used a file-based stub repo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829280 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:48:02 +00:00
Benjamin Bentmann c9b3998514 o Added missing dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823100 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 09:38:48 +00:00
Jason van Zyl b6c70ca1f9 o another pass at removing wagon from the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823064 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:32:35 +00:00
Benjamin Bentmann 293dfbcb30 o Added missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820284 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 14:35:12 +00:00
Benjamin Bentmann 3c34aa8c14 [MNG-4334] maven core caches settings.xml
o First pass: auth & mirror moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810296 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:49:05 +00:00
Jason van Zyl d738d58150 o working on fixing the problem in the MavenTest where the remote repositories are not being set and causing the test to fail
when a clean local repository is used.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796569 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 22:28:54 +00:00
Jason van Zyl e0d29fe6a3 o take out maven-repository until the compat module is separated again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789544 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:33:53 +00:00
Benjamin Bentmann 84bfe465ef o Moved the toolchains into the core to allow proper testing of the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789006 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 18:18:46 +00:00
Benjamin Bentmann 14960422e0 o Fixed test setup and re-enabled test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786578 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 16:50:11 +00:00
Olivier Lamy d5eae80ab1 restore display of two build properties (as in 2.x) :
- svn rev 
- build timestamp

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784274 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 21:09:06 +00:00
Jason van Zyl e8ff78292b o if compile time deps are not specified maven will now complain
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780103 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:36:34 +00:00
Jason van Zyl 9be598d351 o injecting the metadata sources results in having to do some trickery to break the circular dependency between the components, this
is visible now in the metadata source which shows we need to do some work there as circular deps are pretty sure sign of poor design
o the ProjectClasspathTest has little stub components so I'm not even sure if it's a decent test but it requires a bunch of custom
  implementations as i tried to get rid of the hand written descriptor and have only annotated tests implementations but somewhere
  an incorrect implementations is being injected.

I'll work on breaking the circular dependency and we need a nicer way to inject test implementations, the way the Module works in
Guice is the way to go. We'll bridge the gap until we can switch over to Guice.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776529 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 03:26:51 +00:00
Jason van Zyl 54979b07e4 o collapsing maven-project into the core, it is now useless to anyone except maven, the maven-model-builder is now something that can be consumed by the outside world
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769652 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 04:45:20 +00:00
Jason van Zyl aafe040406 git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768839 13f79535-47bb-0310-9956-ffa450edef68 2009-04-27 00:16:42 +00:00
Jason van Zyl 5d7758b358 o pull from trunky dunk dunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767707 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:04:06 +00:00
Jason van Zyl 46c8c09a91 o the session has no lookup or access to the container now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 04:59:06 +00:00
Jason van Zyl 85727cec05 o need a runtime dependency on maven-toolchain to execute plugins in tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759825 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:17:57 +00:00
Jason van Zyl d22c870e02 o coming close to something i can easily test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:11:02 +00:00
Jason van Zyl 24139e8256 o cleaning up the lifecycle executor and error reporter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753053 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 23:27:54 +00:00
Herve Boutemy c5571a0c78 used http://maven.apache.org/xsd/* for schema location
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 08:55:40 +00:00
Britton Isbell 0abb04c8bb [MNG-3631] Mojo Configuration. Allow embedder to get executions by goal, query config with xpath and execute mojo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744145 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 15:39:54 +00:00
Oleg Gusakov 9f80bf1e63 [MNG-4033] migrated password encryption from 2.1.x trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743914 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 22:44:08 +00:00
Jason van Zyl ed4f594ac4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739478 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:48 +00:00
Jason van Zyl 13fa00ea3f [maven-release-plugin] prepare release maven-3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739476 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:37 +00:00
Jason van Zyl 557f0a5373 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738777 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:13:04 +00:00
Jason van Zyl 7f54cfff61 [maven-release-plugin] prepare release 3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738775 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:12:48 +00:00
Jason van Zyl 481cde5756 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731333 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:28 +00:00
Jason van Zyl 6991c79e34 [maven-release-plugin] prepare release maven-3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731331 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:05 +00:00
Jason van Zyl cc38a455f7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731271 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:29:07 +00:00
Jason van Zyl bab3480d4b [maven-release-plugin] prepare release 3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731269 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:28:42 +00:00
Herve Boutemy 48d853ad6e [MNG-3898] use models attribute of modello-maven-plugin instead of model (merged from 2.0.x branch r726548)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:07:08 +00:00
Jason van Zyl 6d5eab14f6 o remove aspectj
o update compat log with CLI changes
o update everything to release versions, we have no snapshots anymore


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726521 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:51:59 +00:00
Benjamin Bentmann ba371df6c8 o Stabilized build
maven-core> mvn dependency:tree

[INFO] [dependency:tree]
[INFO] org.apache.maven:maven-core:jar:3.0-SNAPSHOT
[INFO] +- org.sonatype.plexus:plexus-plugin-manager:jar:1.0-SNAPSHOT:compile
[INFO] |  +- org.apache.maven:maven-mercury:jar:3.0-SNAPSHOT:compile

but yet

{java] [INFO] Reactor Summary:
[java] [INFO] ------------------------------------------------------------------------
[...]
[java] [INFO] Maven Core ............................................ FAILED [14.024s]
[...]
[java] [INFO] Maven Mercury ......................................... NOT BUILT
[java] [INFO] ------------------------------------------------------------------------

whatever maven-mercury is used to build maven-core, it's not the one from the current build...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@723126 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 23:23:52 +00:00
Jason van Zyl aba2b12837 MNG-3876: Add in the maven-artifact code so we can start creating facades and back it with mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 22:32:16 +00:00
Jason van Zyl c418d12814 o primarily refactoring in part for the preparation making room for mercury and processing events from maven-shared-model
o add plexus component descriptor generation to the bootstrap so we can start removing the hand-written descriptors and start
  using annotations everywhere



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 07:11:35 +00:00
Britton Isbell c26b2d69cd Merge of sisbell-maven-3.0-mercury branch to trunk. Includes maven-project-builder component, which breaks out some of the independent project builder classes, so that Mercury does not need to pull in the entire trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719472 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 04:49:46 +00:00
Britton Isbell e96229a165 Reverting back changes. It's building locally but breaking on Hudson.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@706231 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:06:03 +00:00
Britton Isbell d733885e54 Hooked up maven-project-builder into build. Updated classes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@706143 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 07:57:44 +00:00
Jason van Zyl b6c2132bc7 o merging from my branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@699806 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 12:16:53 +00:00
Jason van Zyl 1260ced4f5 o collapsing all the profile code into maven-project, now it's all in one place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@699659 13f79535-47bb-0310-9956-ffa450edef68
2008-09-27 14:52:28 +00:00
Britton Isbell cacc78b1d0 Removed dynamic injection of pom build during project construction. Deleted aspects.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:16:40 +00:00
Jason van Zyl c82352832a o updating to 3.0-SNAPSHOT
o aparently when we start from scratch the bootstrap wasn't working, so the maven ant tasks will now igore trying to download the projects we
  are actually trying to build.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@684975 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 23:05:20 +00:00
John Dennis Casey 16ba522c66 Switch to using plexus-interpolation directly to avoid hidden imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@675618 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 15:52:53 +00:00
Brian E Fox 1c50dc0d0d clean up the poms and move versions to dependencyManagement
Issue id: c


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@653481 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 13:46:40 +00:00
John Dennis Casey a5f49900f2 Adding the beginnings of a workspace to Maven, which is just a shared cache component for project, model, and POM file instances (for now). This allows fine-grained control over when such caches are cleared in environments where embedder instances may be reused multiple times, and will eventually enable new profile activators that require access to project information in the current build along with other advanced caching and cache-querying features.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@632482 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:58:00 +00:00
John Dennis Casey 1db3b755ab Fixing problem with new extensions manager code where custom lifecycle definitions are not used in build planning. Unit tests included.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@600792 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 04:32:13 +00:00
John Dennis Casey 2ec256bab6 Removing pluginRepository use (finally), and fixing pluginGroups usage with profiles from the settings and super-POM without an accompanying pom.xml in the project directory...I know, something of a convoluted case.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599692 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 04:26:58 +00:00