Jason van Zyl
8f084c95db
o updating assembly and that we don't need the shaded jar anymore
...
o keep JDOM in the distro for the time being
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585563 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:32:51 +00:00
Jason van Zyl
f41350acf7
o using 1.0-alpha-32 in the booty
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585555 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:23:19 +00:00
Brian E Fox
64fdbabf5b
rolling back broken tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585548 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:01:23 +00:00
Brian E Fox
fe1e81cc25
MNG2025 patch to add encoding unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585318 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 01:35:37 +00:00
Brian E Fox
f6186d77c3
MNG2045 applying patch from Paul Gier to fix test jar dependencies from sibling projects.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585316 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 01:30:12 +00:00
Herve Boutemy
eecea0895e
[MNG-2254] support XML file encoding when reading/writing settings and pom files
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 21:26:43 +00:00
John Dennis Casey
89510079bb
Adding a unit test for the extension loading (not testing isolation of the extension yet, though).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585249 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 20:15:40 +00:00
John Dennis Casey
ac8ff20611
Adding project-level ClassRealm, which serves as a nexus for extensions. Extensions are loaded into separate ClassRealm instances, then scanned for components. These ComponentDescriptors are then used to add an import from the extension realm back to the project-session realm, and then the descriptor is added to the container with the project realm as its RealmId. From here, the registerWagons() method has been changed to use the map of projectSessions, and iterates through each project-level realm, setting the lookup-realm, then calling findAndRegisterWagons(..) for each. Also, the plugin manager has been changed to use the project-realm for loading plugins if it exists (the plugin realm becomes a child of the project realm, which should allow plugins to vary by project within a single reactor, though I haven't tested that yet).
...
Also, shading the embedder to hide the jdom classes, and adjusting the assembly appropriately.
Final thing: I'm rolling back some changes I accidentally made to the CLIManager the other day, which breaks the release plugin because the long options were removed for some reason (save action in Eclipse; don't ask).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585012 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 02:59:05 +00:00
John Dennis Casey
cebe6bcb31
rolling p-c-d version back down to -alpha-32, since this exception improvement from -alpha-33-snap isn't critical ATM.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@584797 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 14:17:39 +00:00
John Dennis Casey
0d0f7396b2
Cleaning up exception wrapping to allow better reporting of errors to end users. Also implementing the beginnings of a new error reporter, and bumping the version of plexus-container-default up to 1.0-alpha-33-SNAPSHOT to improve the accessibility to ClassRealm info for ComponentLookupException.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@584343 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:10:29 +00:00
John Dennis Casey
957a77435a
some formatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583515 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 15:31:09 +00:00
John Dennis Casey
dc6e7c8368
[MNG-3194] Fixing logging problems, but error diagnosis is still missing from CLI version of things...this should probably be replaced and/or restored. I'll commit unit tests for 3194 next.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583314 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 22:28:02 +00:00
John Dennis Casey
ea31f3e3f7
unit test for parent POMs in repositories brought in by profiles from outside the pom.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583258 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 18:41:42 +00:00
John Dennis Casey
616c6f1c0f
Fixed usage of repositories from active profiles in settings.xml for model-lineage building, which is fundamental to the build.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583248 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 18:10:05 +00:00
Jason van Zyl
975862e353
test project for the missing parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@583031 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 00:46:28 +00:00
Jason van Zyl
112e69aa0e
o adjusting the request to hold the upfront repositories that can be taken out of profiles
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@582071 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 04:03:10 +00:00
Jason van Zyl
5d2c433ba9
o applying patch to allow to read the model with a reader
...
Submitted by: Eugene Kuleshov
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@581732 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 21:40:17 +00:00
Jason van Zyl
b3461d5936
o If we are not actually in an SVN repository then don't run tests that require SVN.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580653 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 22:11:05 +00:00
Jason van Zyl
85085b529c
o trying out a GIT commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580630 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 19:46:45 +00:00
Jason van Zyl
e6a6476ad7
o cleaning up the project builder, deprecating maven 1.x repository support, it will be 3 years by the time this is actually released
...
so tough noogies for people still trying to use Maven 1.x repositories with Maven 2.x.
The next series of refactoring I will be doing with GIT.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580609 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:19 +00:00
Ralph Goers
0c84fd3f65
Revert 578553
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@579086 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 06:27:01 +00:00
Brett Leslie Porter
63c8806450
handle a missing ~/.m2/settings.xml more gracefully
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578641 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 04:01:44 +00:00
Brett Leslie Porter
1ba3942757
add a name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578639 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 03:59:57 +00:00
Brett Leslie Porter
9253ec60ba
utilise the bundled integration tests and add an optional module to be able to run against the just-built Maven
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578617 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 01:31:22 +00:00
Jason van Zyl
bf8d692a15
o reverting fix for MNG-1323, breaks trunk horribly when everything is clean. I ran the ITs after Piotr did but doing so with everything clean doesn't work. Time for Hudson.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-23 16:57:46 +00:00
Ralph Goers
71aa8e7f51
Allow the managed dependencies of projects to be imported into the managed dependencies of other projects.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@578553 13f79535-47bb-0310-9956-ffa450edef68
2007-09-23 07:20:24 +00:00
John Dennis Casey
21f1be77ff
Allowing project-less builds...removing requiresProject.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@576603 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 22:05:54 +00:00
Carlos Sanchez Gonzalez
f3df0eb871
improve javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@576563 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 19:21:51 +00:00
Brett Leslie Porter
bd76a1966e
[MNG-1323] remove bad import introduced in last commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@576019 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 01:25:25 +00:00
Jason van Zyl
2017c78e0a
MNG-1323 making extensions work inside a reactor
...
Submitted by: Piotr Tabor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@575987 13f79535-47bb-0310-9956-ffa450edef68
2007-09-15 21:28:38 +00:00
Mauro Talevi
7ddb9a1400
Added license and schema info.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@575899 13f79535-47bb-0310-9956-ffa450edef68
2007-09-15 10:27:23 +00:00
Mauro Talevi
d45138910f
Reverting test commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@575232 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 09:05:58 +00:00
Mauro Talevi
f923dea188
Test commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@575231 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 09:05:16 +00:00
John Dennis Casey
84f0cdabdb
[MNG-2878] Adding an import from the maven core classrealm into the plugin classrealm, to allow retrieval of default-report.xml using getClass().getResourceAsStream(..) which is used in maven-reporting-impl 2.0...which in turn is used from checkstyle (at least).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@574392 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 22:34:28 +00:00
John Dennis Casey
b1159725a5
fixing formats at top of file (may be other formatting changes...)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@574387 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 22:20:31 +00:00
Brett Leslie Porter
3bc1f858e1
removing JDK 5 API and adding some notes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573953 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 06:29:48 +00:00
Brett Leslie Porter
e76401752d
[MNG-3088] s/maven/apache-maven/ in the assembly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573932 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 23:42:20 +00:00
Brett Leslie Porter
678a70f89e
remove script that isn't used - doesn't work due to bad location
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573923 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 22:54:39 +00:00
Brett Leslie Porter
b01b490218
this isn't being used
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573922 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 22:53:19 +00:00
Jason van Zyl
14ff3302d0
o block a few more artifacts out of the assembly
...
o the populator now has a clear populate() that shows how the request is being constructed, there should be nothing beyond the embedder now
the does any of this configuration and loading and it should remain this way. no processing of settings or profiles deep in the bowels
of Maven is all happens in the populator.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573783 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 04:04:48 +00:00
Jason van Zyl
a05e9f9884
o we don't need to run processProjectLogic on the super pom but we do need to make sure the plugin repositories are populated
...
for plugins like archetype which have no POM to start with but need repositories.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573736 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 22:29:34 +00:00
Jason van Zyl
d72b8bc88a
o put the profile manager back into place as the project build is exposed in a ton of plugin. arrrg.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573718 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 21:29:08 +00:00
Jason van Zyl
e9b6657f4c
o scrub of the settings building, was able to reduce to the need of the build context and use the execution request
...
directly. eventually i will get it to be the session, along with the profile tools, then all the tools can also
share a common interpolator, which can then be shared by other components instead of having 5 interpolators lying
around causing a great deal of inconsistency.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573494 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 07:54:11 +00:00
Jason van Zyl
28ac7d65cb
o remove dead method, the embedder now takes care of all defaulting so we don't need this method anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573478 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:42:31 +00:00
Jason van Zyl
357015041a
o let the parsing exception surface
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573476 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:36:53 +00:00
Jason van Zyl
a0439b3e05
o remove dead code, this is being done elsewhere and has been for a while
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573472 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:17:55 +00:00
Jason van Zyl
791c2bf164
o update location of settings.mdo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573471 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 06:07:29 +00:00
Jason van Zyl
9c8903441f
o profiles are now decoupled from settings. so that i don't do this is one huge commit i need to move settings stuff into the core
...
while i transform the settings components to take a MavenSession. Any component executing within Maven should be able to use
a session. the session will contain everything required and any new component added to the system should only take the
session as a parameter. same pattern for all components. that's the goal. it will take a few hops.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 05:25:49 +00:00
Jason van Zyl
c417b0c490
o dead import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573455 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:44:46 +00:00
Jason van Zyl
d5f5abeb57
o dead import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573453 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:42:55 +00:00