Jason van Zyl
1c0892fa04
o moved the RuntimeInformation component to the compat package. The maven-eclipse-plugin is currently using it. But for building your own projects the enforcer plugin is more appropriate for making sure the version intended for the project's use is being used.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781202 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:53:47 +00:00
Jason van Zyl
77c240c49e
o deal with no pom being used for execution correctly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781197 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:43:41 +00:00
Benjamin Bentmann
370660ec9a
o Fixed handling of project directory
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781119 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:47:33 +00:00
Benjamin Bentmann
753f4897a3
o Restored original behavior of legacy code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781108 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:07:47 +00:00
Benjamin Bentmann
c8a5c2d89a
o Renamed packages for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780763 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 18:06:17 +00:00
Benjamin Bentmann
6548d31804
o Saved raw model in project
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780640 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 13:15:46 +00:00
Benjamin Bentmann
26a35db0c7
o Introduced ModelBuilder component that now hosts most of the logic from the project builder to construct the effective model. With maven-model-builder we now should have a rather slim module that tools can re-use for building models. The project builder is simply layered on top of the model builder.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780627 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 12:17:53 +00:00
Benjamin Bentmann
67cf84f5c9
o Made model valid
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780612 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:59:19 +00:00
Benjamin Bentmann
faf4083cb9
o Moved interface for lifecycle injection into model-builder component
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780524 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:45:30 +00:00
Benjamin Bentmann
e55c892fe0
o Renamed package
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780523 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:42:47 +00:00
Olivier Lamy
6717764750
stabilized junit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780507 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 21:17:33 +00:00
Olivier Lamy
411169c51f
stabilized junit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780376 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 07:51:50 +00:00
Benjamin Bentmann
1deef1f1d6
o Fixed dependency resolution for direct goal invocations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780244 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 11:24:35 +00:00
Jason van Zyl
4ce879db0a
o remove comment only relevant for the project builder version of this test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780179 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:26:12 +00:00
Jason van Zyl
ac9e467999
o adding equivalents for it0063, they work fine here but i'm not sure yet why the IT is failing. need to take a look at the it resolution plugin to see where the difference is
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780178 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:25:30 +00:00
Jason van Zyl
00c2d5486f
o forgot to add the file provided by Igor's patch
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780177 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:10:23 +00:00
Jason van Zyl
1e2b77c10f
o make the project dependencies resolver set the project artifacts
...
o Allow the artifact exlusions to be altered by injecting delegates with knowledge of client systems (m2eclipse)
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780176 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 05:05:00 +00:00
Benjamin Bentmann
4d45d00881
o Fixed name inconsistencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 22:02:34 +00:00
Benjamin Bentmann
85205e0b57
o Switched tests over to use new interface
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780119 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 21:44:35 +00:00
Benjamin Bentmann
ae675f8157
o Made ProjectBuilder use ProjectBuildingRequest for naming consistency within API
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780115 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 21:28:45 +00:00
Benjamin Bentmann
8c9c57652e
o Introduced new interface ProjectBuilder to supercede MavenProjectBuilder and to draw a clearer line between legacy API and new API
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780104 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:36:55 +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
0c021975aa
o look for the pom first
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780101 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:35:37 +00:00
Benjamin Bentmann
73adb2f34f
o Deleted useless test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780098 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:26:02 +00:00
Jason van Zyl
3a967a0765
o test projects
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780084 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:00:15 +00:00
Jason van Zyl
318943638f
o adding a metadata cache
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780080 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 19:22:03 +00:00
Jason van Zyl
192be4ec01
o right now disabling the setting of the classes directory as this is only done in 2.x in the compiler plugin and causes problems with the integration tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780077 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 19:17:10 +00:00
Benjamin Bentmann
7b9854faa4
o Fixed propagation of validation level to model parser
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780062 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 18:37:42 +00:00
Jason van Zyl
bc257a588e
o fixes for projects which specify plugins that define system scoped plugin override dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@779825 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 03:34:22 +00:00
Jason van Zyl
101dd8530e
o adding in some changes before moving to the trunk
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779655 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 16:43:20 +00:00
Benjamin Bentmann
0e34f1958a
o Moved tests for model validator into proper module
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779307 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 20:48:13 +00:00
Benjamin Bentmann
41e54938d5
o Moved model validator into o.a.m.model and moved old impl into compat module
...
o Added method to validate raw POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779289 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:59:17 +00:00
Jason van Zyl
ab43fff631
o make a separate project dependencies downloader where the scope and exclusions can be taken into account
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779283 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:45:32 +00:00
Benjamin Bentmann
02eef1ac38
o Added utility method
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778514 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:21:10 +00:00
Benjamin Bentmann
1e2d19ab1a
o Deleted DomainModel
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778500 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:59:59 +00:00
Benjamin Bentmann
3446be4828
o Decoupled project builder from DomainModel, we will directly use the model to keep track of the bits
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778495 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:44:38 +00:00
Benjamin Bentmann
bbc97f4eb9
o Removed static processor context and move its remaining bits into the project builder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778441 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 15:49:43 +00:00
Benjamin Bentmann
0a5b7985f6
[MNG-4173] Remove automatic version resolution for POM plugins
...
o Strengthended model validator to bark with a nice error message before down stream code bubbles up with ugly exceptions. The new validation step applies only to local builds and not to dependency resolution via the metadata source to accept existing POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778426 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 14:27:46 +00:00
Benjamin Bentmann
b16942f162
o Fixed validation to happen ahead of project construction as this depends on proper repository information
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778411 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:43:40 +00:00
Benjamin Bentmann
dbe356a8e6
o Generified code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778408 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:39:30 +00:00
Benjamin Bentmann
9944592242
o Extended model validator to recognize two different validation levels to account for our different needs during local builds and metadata retrieval
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:22:32 +00:00
Benjamin Bentmann
c063424f0a
o Fixed repository mirroring
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778386 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 11:02:32 +00:00
Benjamin Bentmann
170eaca464
o Fixed test to account for fixed handling of optional dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778385 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 11:02:02 +00:00
Benjamin Bentmann
1bf3219293
o Removed unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778384 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 11:01:26 +00:00
Benjamin Bentmann
0e5b8e2bf3
o Fixed handling of optional dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778344 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 08:10:18 +00:00
Jason van Zyl
5b76c2c495
o created an execution plan which currently contains the mojos that will be executed and the phase of dependency resolution required, if needed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778284 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 05:26:27 +00:00
Benjamin Bentmann
c3f3d4c30c
o Fixed plugin version resolution to consider plugin management, too
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778242 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 21:47:17 +00:00
Benjamin Bentmann
c7461bf048
o Fixed resolution of system dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778223 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 20:41:14 +00:00
Benjamin Bentmann
1e35b2784e
[MNG-2097] adding a phase called prepare-package
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778201 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 17:58:44 +00:00
Benjamin Bentmann
c8151318c2
o Fixed processing of parameter aliases
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778197 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 17:39:34 +00:00