Commit Graph

804 Commits

Author SHA1 Message Date
Benjamin Bentmann f07fdb2032 o Created UT from MNG-3925
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728694 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 13:55:17 +00:00
Benjamin Bentmann 7555ab36e1 o Created UT from MNG-3887
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728675 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 13:09:02 +00:00
Benjamin Bentmann 8fdaaf6218 o Created UT from MNG-3886
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728667 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 12:46:34 +00:00
Benjamin Bentmann cb1d2917fa o Synced UT with MNG-3838
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728660 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 12:23:52 +00:00
Benjamin Bentmann 3ce9917532 o Created UT from MNG-3821
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728654 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 11:48:10 +00:00
Benjamin Bentmann c64d5b2bd5 o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728644 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 11:08:33 +00:00
Britton Isbell 807bb6ddc7 Fix: Unable to resolve parent pom that is a snapshot. Added policies from config during build. Also fixed bug in ArtifactPolicySnapshots, allowed override of default policies with a null value.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728090 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 18:21:37 +00:00
Jason van Zyl 0ab54cf0c7 o imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727857 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 23:49:48 +00:00
Britton Isbell e24f7564f7 Fix: there was a problem with pom construction if there were two or more plugins with dependencies elements.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727855 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 23:35:31 +00:00
Jason van Zyl e0cdbdc475 o notes on how to improve the test so that it's easy to get others involved in adding/correcting the spec and accompanying tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727638 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:29:15 +00:00
Jason van Zyl cce3456998 o get rid of debug information
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727637 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:24:27 +00:00
Jason van Zyl 854a44adf0 o testing ThatExecutionsWithoutIdsAreMergedAndTheChildWins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727635 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:23:35 +00:00
Jason van Zyl 4dcf7797bb o another concrete example of executions inheritance
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727627 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 03:27:17 +00:00
Britton Isbell 61a5d19c4e Artifacts containers now will inherit versions. This will occur before management rules are applied.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727614 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 01:45:13 +00:00
Jason van Zyl f67099266e o adding a way to get a value from an xpath expression
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727585 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 23:48:07 +00:00
Jason van Zyl 730b56bb9c o using jxpath to simplify the queries for testing the spec.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727584 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 23:47:30 +00:00
Britton Isbell 1ab2db1205 Test Wrapper for domain model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727574 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 23:17:47 +00:00
Jason van Zyl 1ba8aa4479 o need to set the lineage count on the transformed model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727463 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 18:38:45 +00:00
Jason van Zyl 306d70f8f5 o adding some test code to share with shane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727460 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 18:32:01 +00:00
Jason van Zyl 699640f2ec o notes about the testing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727330 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 09:53:09 +00:00
Jason van Zyl 2b808a15d1 o start of harness for validating the spec, i have my first error expressed in a test where plugin executions are
not joined properly. and the journey begins ...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727322 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 09:34:16 +00:00
Jason van Zyl a175bd170d o super model construction moved into the project builder so that all pure inheritance can be handled therein. Then the only thing we're left with is the mixins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727311 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 08:08:56 +00:00
Jason van Zyl 7d3040a73e o collapsing more of the project builder, trying to turn it back into one component -- we have the old and the new with the old wrapper the new -- so that I can have an interface for compatibility and then all our new stuff in another component.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727299 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:27:16 +00:00
Jason van Zyl 0b867c0c29 o move the super pom to the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727291 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 05:40:25 +00:00
Jason van Zyl f869413e44 o actually put a valid GAV in the super pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727290 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 05:39:18 +00:00
Jason van Zyl 6b040ab2f9 o remove some superfluous reader creation in the project builder
o remove profile handling from the construction of the super project, there are no profiles in it anymore (and shouldn't be in the future)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727267 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 04:01:59 +00:00
Jason van Zyl ff3548a6b4 o we don't need to deal with import models right now, all we care about in the near future are mixins. this is an attempt
to simplify the API enabling me to more easily create the specification tests


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727210 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 23:12:01 +00:00
Jason van Zyl ee9e67af9b o we don't need to pass in the project builder configuration when we just want the domain model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726972 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:59:36 +00:00
Jason van Zyl 0638d3d8a0 o passing in the file, we don't need the parent directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726961 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:19:39 +00:00
Jason van Zyl 75456d77ba o use new signature for the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726958 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:06:29 +00:00
Jason van Zyl 38e6b15ebc o validation is now done elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726956 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:55:21 +00:00
Jason van Zyl 9a13ec793c o add the method to read in a file and return the data model
o remove the ROLE field

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726953 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:44:18 +00:00
Jason van Zyl 2dc15dda49 o project builder takes a file now and not an input stream
o separated the construction of the domain model from the maven project


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726951 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:40:59 +00:00
Jason van Zyl ff09f5beb7 o remove MissingRepositoryElementException from the core and just leave in compat
o make the project builder's read from path use a file instead of a input stream


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726942 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 04:10:14 +00:00
Jason van Zyl cc3d2ca380 o collapse all the test nexus projects under one directory, i'm using this to track down the plugin containers that don't have the executions joined correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726924 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:55:56 +00:00
Jason van Zyl 15da8b59b0 o move the path translator to the maven-compat package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726744 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 17:48:53 +00:00
Jason van Zyl 8d90d7cabc o starting to add generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726614 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 03:51:38 +00:00
Jason van Zyl 17e8ace705 o fix formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726589 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 00:47:03 +00:00
Jason van Zyl 933c30ed6b git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726588 13f79535-47bb-0310-9956-ffa450edef68 2008-12-15 00:46:47 +00:00
Jason van Zyl 3a689d4f4d MNG-3905: merged all the artifact/repository handling bits into MavenTools
o clean up hand-written component descriptors



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726584 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 00:20:04 +00:00
Jason van Zyl 6581960c98 o remove dead class, methods were moved to MavenTools long ago
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726582 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:56:01 +00:00
Jason van Zyl e2585b1dab o remove unused code as part of collapsing MNG-3905
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726581 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:54:53 +00:00
Jason van Zyl a8924908e3 o get rid of ROLE field
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726580 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:54:20 +00:00
Jason van Zyl f3d2285e2e o remove ROLE field, use class reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726578 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:47:27 +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
Vincent Siveton 7b8a12754f o merged from r726423 (specify unique namespace)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726425 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 12:53:21 +00:00
Jason van Zyl ea43792cf2 MNG-3905 First pass at collecting all the repository related code and started to decouple from maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726383 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:24:01 +00:00
Jason van Zyl 4074068126 o adding test case for plugin execution container join
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726382 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:20:05 +00:00
Jason van Zyl 6e64aa721c o preparing to refactor the plugin management and plugin executions calculations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726381 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:17:05 +00:00