Commit Graph

6166 Commits

Author SHA1 Message Date
Carlos Sanchez Gonzalez bd743a5c30 Rolling back last workaround, files must not be locked, test is right and code needs to be fixed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586566 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:15:44 +00:00
Carlos Sanchez Gonzalez df8a7c75b9 Add missing super.tearDown, and ignore problem in windows where file is locked for deletion (needs investigation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586564 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:06:48 +00:00
John Dennis Casey 38552dc100 shorter name may help more here?
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586544 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 17:13:57 +00:00
John Dennis Casey 0d32e6cc4a some documentation for new extension and project-level session stuff, and trying a fix for the extension manager test that may help things on windows where forceDelete(..) fails.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586543 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 17:13:20 +00:00
Carlos Sanchez Gonzalez b63e25a47a [MNG-3240] maven-model RepositoryBase.equals() causes ClassCastException
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586533 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:52:49 +00:00
John Dennis Casey 4aeb99b92b Plugins now load per-project, which means they can have different plugin-level dependencies and configurations per-project, even if they're running in the same reactor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586515 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:02:31 +00:00
Carlos Sanchez Gonzalez 2603a87757 Upgrade plexus-interactivity-api to prevent clashes with old groupIds
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586235 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 02:42:18 +00:00
Carlos Sanchez Gonzalez ca9f8e7843 Set explicit versions of jar anf bundle plugins and fix the osgi profile
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586189 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 00:19:11 +00:00
Carlos Sanchez Gonzalez cfd9daed44 Use released version of doxia
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586188 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 00:18:17 +00:00
John Dennis Casey eb2e63bd5b Excluding jdom from bin assembly, since it's brought in by maven-model and maven-profile still...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586105 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 19:54:19 +00:00
John Dennis Casey b9995dfb60 Updating reporting for mojo failures.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586100 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 19:38:16 +00:00
John Dennis Casey 2ba9bbfd23 Fixing it0112 and it0115, and cleaning up extension isolation further. Also, adding a flag to tell whether an accompanying profiles.xml file is valid for any given POM file...when loaded from a repository (or stubbed), this flag should always be false.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586061 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:38:06 +00:00
Jason van Zyl 3979ed47d3 o removing jdom from the core for the embedder and we will soon have a different tool for writing out POMs, trying to slim
down the core


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586044 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:05:59 +00:00
John Dennis Casey b3c99db34a Fixing it0022
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585699 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 21:01:50 +00:00
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