Benjamin Bentmann
c6eb6bd219
[MNG-4201] Custom packaging break in trunk (rev 784628)
...
o Restored compat with 2.x, both in terms of lifecycle configuration and API for implementors of custom mappings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796801 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:15:50 +00:00
Benjamin Bentmann
d0ca6d9490
o Fixed parsing of lifecycle mappings to account for version
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796797 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:07:46 +00:00
Benjamin Bentmann
03c8b58235
o Fixed resolution of plugin default config. The project building request provides only the base set of repos, not the final set. In addition to the base set, the final repo list contains POM repos and repos from external profiles. Therefore, the MavenProject instance (which holds the final repo set) has to be queried for the repos.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796657 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:03:53 +00:00
Benjamin Bentmann
1329516567
o Added API docs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796656 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:00:43 +00:00
Benjamin Bentmann
e40ffd98c1
o Added comment about internal status
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796640 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:28:11 +00:00
Benjamin Bentmann
ddd5c13075
o Generified code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796637 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:21:11 +00:00
Jason van Zyl
3d9dea68d9
o using the same technique for the embedder as we are for the core tests
...
o trying on the grid and then i'll share a test jar
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796579 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 23:30:26 +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
c5fb845b6b
o make sure that the plugin repositories are propagated from the builder request and not from the MavenProject
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:02:07 +00:00
Benjamin Bentmann
043c8d6904
o Optimized performance by utilizing that project identity is based on g 🅰️ v which is just the map key
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795948 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:32:52 +00:00
Benjamin Bentmann
9a6561c6f6
o Optimized performance (the string concatenation in getId() severely affected ReactorArtifactRepository which in turn is heavily used for key calculation/comparision in the plugin & metadata cache)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795939 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:13:49 +00:00
Benjamin Bentmann
df346c93b0
o Tweaked log output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795610 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 21:12:29 +00:00
Benjamin Bentmann
01f7692db0
o Replaced usage of StringBuffer with StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795584 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:20:09 +00:00
Benjamin Bentmann
12ea9f5244
o Deprecated Settings.getMirrorOf() which is neither up-to-date nor used (merged from r795521)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795522 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 11:54:43 +00:00
Benjamin Bentmann
fd2ee03635
[MNG-4246] plugin resolution failures during pom-less execution (like archetype:generate)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795353 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 12:31:23 +00:00
Benjamin Bentmann
70ae109093
o Added method to clone/fork model resolver which is a prerequisite for importing other POMs/mixins during the model building where the model builder basically recurses and we want the resolution processes for these sub POMs to be isolated
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795227 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 21:07:11 +00:00
Benjamin Bentmann
ef13f229e8
o Fixed project realm handling to be more embedder friendly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 19:48:57 +00:00
Benjamin Bentmann
8efe10c89e
[MNG-4244] Allow to select project for make-like reactor by artifact id
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795147 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 17:11:57 +00:00
Benjamin Bentmann
72cd95fb36
[MNG-2576] Make Like Reactor Mode
...
o Restored project selection by groupId:artifactId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795128 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 16:12:56 +00:00
Benjamin Bentmann
ec440de1de
[MNG-2576] Make Like Reactor Mode
...
o Restored resume-from
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795062 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:10:38 +00:00
Benjamin Bentmann
df47b11957
[MNG-2576] Make Like Reactor Mode
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794043 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:03:15 +00:00
Benjamin Bentmann
1759fb3979
o Consolidated all inputs of the model builder in the building request
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793891 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:54:16 +00:00
Benjamin Bentmann
42340c1b92
o Used project realm during dependency resolution
...
o Fixed NPEs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793871 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:00:05 +00:00
Benjamin Bentmann
2caa6b5112
o Introduced project realm to host build extensions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793844 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 10:44:44 +00:00
Benjamin Bentmann
d8ff78d643
o Fixed lifecycle mapping config
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793649 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 18:29:01 +00:00
Benjamin Bentmann
d56f9e13bb
o Fixed NPE
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792721 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 21:47:54 +00:00
Benjamin Bentmann
52519425f7
o Restored reactor failure behaviors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792111 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:23:46 +00:00
Benjamin Bentmann
e083752b39
o Added comment about design weakness
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790714 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 19:20:06 +00:00
Benjamin Bentmann
abca2a5252
o Moved model builder classes into dedicated package such that o.a.m.model is reserved for the generated Modello classes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:04:48 +00:00
Benjamin Bentmann
ed6ff2be82
o Propagated new validator API up to project builder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790344 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:52:37 +00:00
Benjamin Bentmann
2b44c968f0
o Extended model validator to support more than two validation levels
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790338 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:33:40 +00:00
Benjamin Bentmann
efd3309e99
o Made warning more prominent and clear
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:09:35 +00:00
Benjamin Bentmann
512d83070a
[MNG-4173] Remove automatic version resolution for POM plugins
...
o Reduced validation error to warning because this change seems to cause troubles for many projects out there
o Extended lifecylce executor to take care of non-versioned plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790202 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 14:55:06 +00:00
Benjamin Bentmann
22516c9fa7
o Extended model validation to support distinction between warnings and errors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790131 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 11:56:44 +00:00
Benjamin Bentmann
accb45543f
[MNG-4224] maven lifecycle participant
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789993 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 22:36:30 +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
Jason van Zyl
fb1c53d6da
MNG-4221: putting the repository and compat modules together while completely hide the legacy implementation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:04:34 +00:00
Benjamin Bentmann
b6f19629ed
o Re-enabled reactor collision detection
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789091 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 11:56:35 +00:00
Jason van Zyl
1cef292135
MNG-4221: Another pass over making maven-compat only used by external consumers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789080 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:46:11 +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
edbbc2027e
o Restored mojo context passing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788982 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 14:40:25 +00:00
Benjamin Bentmann
2138a248af
[MNG-4215] Review and fix hashCode/equals methods of ArtifactRepository implementations
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788798 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:02:19 +00:00
Benjamin Bentmann
c8f94b4eaf
o Improved error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788375 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:00:20 +00:00
Benjamin Bentmann
5a8e3f08c2
o Allowed access to logger by integrators like Tycho
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788154 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:40:29 +00:00
Benjamin Bentmann
01f1ae9b5d
o Fixed NPE
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788108 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 18:25:58 +00:00
Olivier Lamy
ccd2cd2e1a
more details on the NPE cause.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787114 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 23:38:51 +00:00
Benjamin Bentmann
d90f22f338
[MNG-1491] Reactor should print out a message if it detects a collision of artifact ids
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787072 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 19:26:00 +00:00
Benjamin Bentmann
c17c9564cc
[MNG-3641] Lack of error checks on profiles
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787045 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 16:06:02 +00:00
Jason van Zyl
ea5445af38
MNG-4216: Remove all direct usage of DefaultArtifactRepository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786995 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 11:39:10 +00:00
Benjamin Bentmann
262ff7908f
[MNG-4214] [regression] Parent POMs cannot be resolved from mirrored repos
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786910 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:22:54 +00:00