Benjamin Bentmann
cec9b2002a
o Fixed empty project building helper to pass request repos through if provided for tests that use them
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796864 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:13:24 +00:00
Jason van Zyl
b69b4ab4f9
o add default plugin artifact repositories in the populator
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796817 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:56:18 +00:00
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
Jason van Zyl
763941c897
o this is covered perfectly well by the ITs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796758 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:56:29 +00:00
Jason van Zyl
dd202c29ba
o we have it0021 so this is also not necessary
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796752 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:49:13 +00:00
Jason van Zyl
0b8922f02c
o we already have a number of tests in the core testing simple execution of a pom and a directory with a pom
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796746 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:37:54 +00:00
Jason van Zyl
3e10bb2686
o there is an IT for optional dependencies and we'll put a proper UT in the POM construction tests for optional deps.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796742 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:31:44 +00:00
Jason van Zyl
4179dbcd41
o cleaning up tests in order to move them to the core using core components, and removing superfluous/repeated tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796740 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:29:14 +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
a6f68f3ce5
o Tweaked exception message to be more presice with respect to remote repos
...
- First, don't eliminate repos with duplicate ids. Duplicate repos should have been merged up-front, if they weren't this is a bug and should be apparent in the diagnostic output
- Second, be explicit about the case where no repos are defined to distinguish that from the case where the exception creator did not know the repos (==null)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796641 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:31:58 +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
Jason van Zyl
1267ef7633
o note about dropping support for legacy repositories
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796329 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 14:55:23 +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
Jason van Zyl
4363bdecef
MNG-4245: can't access protected mirrors with latest 3.0-SNAPSHOT (rev 795227)
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795913 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:52:08 +00:00
Benjamin Bentmann
fa40714be3
o Revised error handling, API misuse is really not a model/network problem
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795622 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 21:24:44 +00:00
Benjamin Bentmann
a48742bc1a
[MNG-3220] Allow managed dependencies to be imported into other projects
...
o Restored import scope for 3.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795611 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 21:14:17 +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
c6f0c40c76
o Updated to commons-cli:1.2 to sync with 2.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:39:46 +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
6f6884233d
o Fixed injection of repository layouts
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795086 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 13:55:31 +00:00
Benjamin Bentmann
13ddca24aa
o Restored processing of settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795068 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:33:46 +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
bb5c402250
o Restored support for maven.repo.local
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795023 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 09:53:11 +00:00
Jason van Zyl
a5be13b93b
o removing many old embedder tests that are performing what is now done far better by the underlying components
...
o remove ties to the Configuration class in the populator which means it can be moved back to the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794919 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 00:30:15 +00:00
Jason van Zyl
2aa1e07e0b
o missing bits
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794821 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 20:05:57 +00:00
Jason van Zyl
3bcaf7ac83
o just making sure the auth bits passed into find their way to be an Authentication object associated with the repository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794773 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 18:38:16 +00:00
Jason van Zyl
1ceae0f25e
o restoring auth
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794767 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 17:50:29 +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
433d4bf3b8
[MNG-4239] NoSuchMethodError org.apache.maven.project.inheritance.ModelInheritanceAssembler.assembleModelInheritance(Lorg/apache/maven/model/Model;Lorg/apache/maven/model/Model;)V
...
o Restored legacy API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793910 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 14:38:57 +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
faa082995e
o Introduced model building listener
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793842 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 10:42:34 +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
9832de654f
o Added hack to get CI back running
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793585 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 13:42:40 +00:00
Benjamin Bentmann
f3ba964d55
o Refactored management injection to allow for proper extension loading
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793578 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 13:19:45 +00:00
Benjamin Bentmann
5aa9115a53
o Removed debug output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793348 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 13:32:22 +00:00