John Dennis Casey
b731e783fa
Adding new unit test for non-recursive run, where one of the modules that should NOT be read contains an invalid parent reference.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613254 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 20:14:44 +00:00
John Dennis Casey
776a944764
Renaming tests for error-reporting, so they're (hopefully) short enough for windows users.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613227 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 19:06:04 +00:00
John Dennis Casey
a0297f1d5b
Fix some problems with the CLI reporter when the reactor manager hasn't been created yet (in cases where reading the projects for the reactor failed, for instance).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613039 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:56:20 +00:00
John Dennis Casey
facb56d1eb
Fixing compilation errors.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613035 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:38:37 +00:00
John Dennis Casey
89f482ac37
last of the error-reporting unit tests, and an additional error type to handle modules that are referenced but don't exist, which should stop the build. All tests pass.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613032 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 01:27:23 +00:00
Vincent Siveton
a16c3bf4a8
o merged from r613001 (MNG-3365: Remove trailing-backslashes from M2_HOME in mvn.bat)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613002 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 22:55:12 +00:00
John Dennis Casey
724b3db3c4
Adding more error-reporting unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612920 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:26:35 +00:00
John Dennis Casey
4bcfd7c5a5
more unit tests for error reporting on plugins-as-extensions.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612895 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:01:29 +00:00
John Dennis Casey
e5c11f67c1
make things more friendly to non-standard settings and local-repo locations.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612658 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 00:37:19 +00:00
John Dennis Casey
0c61152546
More unit tests, this time for plugin-related error messages.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612592 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 22:17:56 +00:00
John Dennis Casey
835488bada
Adding the remaining project-related error reporting unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612493 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:55:08 +00:00
John Dennis Casey
1c235317d7
Adding more unit tests for error reporting. Almost done with project-based errors now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612333 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 02:20:08 +00:00
John Dennis Casey
ca169d0262
Refactor management of activated, deactivated, and default-activated profile ids, so the context tracks all of that stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612186 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 18:34:58 +00:00
John Dennis Casey
a35ec37b54
pinning plugin-api version to 2.0, as this is immaterial to the test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612168 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 17:35:59 +00:00
John Dennis Casey
182b93e6b7
Adding pinned versions for plugins that are used in the error-reporting tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612149 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:34:16 +00:00
John Dennis Casey
ba04a1ae50
commenting out incomplete unit tests until I can get them finished and verified.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612145 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:10:36 +00:00
John Dennis Casey
cc43012a5b
more unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@612010 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 04:15:07 +00:00
John Dennis Casey
a07cafc3fa
two more error-reporting unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611992 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 01:32:58 +00:00
John Dennis Casey
1071c589dc
more unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611979 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 00:39:03 +00:00
John Dennis Casey
6e230d611a
two more unit tests, and a little simplification to take care of duplicated error reporting coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611974 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 23:59:01 +00:00
John Dennis Casey
c3983894ab
Adding more error-reporting fixes and unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611945 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 21:44:59 +00:00
John Dennis Casey
c4ba075688
Move the site-build stuff out to a include-site profile. Activate this if you want to include the site docs, but inclusion in the normal build is WAY too heavy for simply building to the test lifecycle phase.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611942 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 21:36:09 +00:00
Vincent Siveton
ae82937040
o merged from r611015 (MNG-3360: Added the documentation in the Maven release)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611018 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 02:02:32 +00:00
John Dennis Casey
25460922d5
More unit tests for error-reporting pointcuts, and some minor adjustments for duplicated handler methods.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611014 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 01:57:27 +00:00
Vincent Siveton
867e53f7fd
o improved readingness of POM
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611012 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 01:38:13 +00:00
Vincent Siveton
5abb5a8de3
o merged from r610775 with the correct Maven 2.1.x version
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610777 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:38:45 +00:00
Vincent Siveton
5ad4355bd3
o reflected the notice from the archive
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610774 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:31:58 +00:00
John Dennis Casey
dc770e321b
Adding some unit tests (mostly stubbed out at the moment) to start testing the pointcuts used to shunt build errors off to the appropriate error-reporter method.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610618 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 00:07:48 +00:00
Vincent Siveton
e7ea1cdef0
o added license header
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609946 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 12:05:39 +00:00
Vincent Siveton
e75b388cb0
o merged from r609944 (MNG-2848: Environment variables in profile activation not working)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609945 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 12:04:42 +00:00
Vincent Siveton
7279a1950a
o merged r609592
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609593 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 13:12:13 +00:00
Brian E Fox
ff53010e7e
removed temporary OS_* values (deprecated already in 2.0.x) and instead us the Os.OS_* values
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609089 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 04:03:39 +00:00
Brian E Fox
87e08c49bd
add debug scripts
...
Issue id: MNG-2105
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609082 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:25:04 +00:00
Brian E Fox
470e8b6988
add debug scripts
...
Issue id: MNG-2105
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609081 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:22:15 +00:00
Vincent Siveton
110adf290e
o merged from r608827 (MNG-3310: JAVACMD set incorrectly when JAVA_HOME is not set)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@608828 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:15:52 +00:00
Milos Kleint
05b8b80e1e
make showError() method public, used in netbeans integration.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604815 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 10:26:48 +00:00
John Dennis Casey
fbb4833982
Cleaning up reporting some more.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604750 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 00:15:21 +00:00
John Dennis Casey
5159c0b4b6
Error reporting works properly now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604401 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 08:17:21 +00:00
John Dennis Casey
fe523d1151
Basic error reporting (tips aren't available for everything yet) is complete for everything the CLI typically handles directly.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@603779 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 23:40:49 +00:00
John Dennis Casey
441b096e79
Mapping in most of the rest of the maven-core errors to the error reporter...just need to finish the ExtensionManagerException mappings, then write error reports for the new mappings from today, and we should be in good shape.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@603431 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 00:52:26 +00:00
John Dennis Casey
3e081b677a
Fixing the legacy lifecycle mappings back to compatibility with 2.0.x in terms of classname, then mapping them back to a field in the lifecycle executor so the enforcer plugin continues to function.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@602972 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 17:22:33 +00:00
John Dennis Casey
f55eb07bda
Adding unit tests for plugin-as-extension in the extension scanner, cleaning up an unneeded call to registerWagons() (controlled by active collection now), and cleaning up a sysout in the embedder unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599707 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 07:11:00 +00:00
John Dennis Casey
2ec256bab6
Removing pluginRepository use (finally), and fixing pluginGroups usage with profiles from the settings and super-POM without an accompanying pom.xml in the project directory...I know, something of a convoluted case.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599692 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 04:26:58 +00:00
John Dennis Casey
b61bb393a8
Cleaning up error reporting some for project building, and attempting to make the error reporter instances propagate to the aspects binding them to the error sources.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599503 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 16:33:57 +00:00
John Dennis Casey
941a11381c
Adding aspect-bound error reporting for BuildFailureException descendants.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598900 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 08:11:49 +00:00
John Dennis Casey
afe12e42e6
Adding the rest of the project errors to the aspect-bound ProjectErrorReporter.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598864 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 04:28:28 +00:00
John Dennis Casey
d1f7e63e51
Move back to jdk 1.4 compliance in these projects.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598761 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 20:36:01 +00:00
John Dennis Casey
a3b489d71e
Adding error reporting for most project errors via aspects that collect the context information and format a nice message (the aspect just binds to the errors API in org.apache.maven.project.error.*).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598748 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 19:55:04 +00:00
Milos Kleint
2b135180ba
make the build result output processing to be public methods.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598032 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 19:09:34 +00:00
Milos Kleint
55b1f99a85
create a profile for creating binaries for netbeans integration.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@597903 13f79535-47bb-0310-9956-ffa450edef68
2007-11-24 18:51:42 +00:00
Jason van Zyl
40326eef36
o adding backward compat method in the project builder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@597162 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:51:56 +00:00
John Dennis Casey
5fc3d35ce0
Removing maven-build-context, and replacing it with caching aspects for model-lineage stuff and project instances. Still needs caching for artifact resolution, and I have an aspect for this too, but it's not enabled yet, since it's still buggy.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@595215 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 05:37:55 +00:00
John Dennis Casey
b4f9ac3067
Add code to clean the build context after each embedder function that uses it.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594313 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:02:44 +00:00
John Dennis Casey
60baf80fab
Adding a check to use sysprops if nothing else is set in the embedder configuration or request.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594301 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:17:29 +00:00
John Dennis Casey
08947e7efb
Working on cleaning up exceptions and reporting (these changes are from before the break I took to work on memory profiling in maven and plexus).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593294 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 20:33:27 +00:00
John Dennis Casey
4c2d75b726
Moving offline notice to avoid embedded cases.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@593040 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 06:44:26 +00:00
John Dennis Casey
febce07c90
Adding more context information to existing exceptions, cleaning up construction in exceptions, and adjusting the inheritance hierarchy for exceptions to make them make a little more sense for error reporting. Also, adding improved (but not complete, yet) reporting for BuildFailureExceptions and ProjectBuildingExceptions, with some tests to make sure pertinent information is in the output.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592859 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 19:24:30 +00:00
John Dennis Casey
f3d6f3d38b
Fixing log level on two debug statements.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592835 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 18:04:12 +00:00
John Dennis Casey
a1f995029a
cleaning up NPE in the realm manager, and adding clear() method calls to the embedder to cleanup the realm manager after it's used, to try to keep the number of open realms to a minimum...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@592222 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 01:34:38 +00:00
John Dennis Casey
fe8c4071a6
Switching back to selectively import extensions into a project-specific ClassRealm, except this time extension realms will be shared (the origin of the aforementioned imports) to conserve memory tied up by classloading. Similarly, plugin realms are managed using a key produced from g 🅰️ v of the plugin, plus the hashcode of all g 🅰️ v of the plugin-level dependencies aggregated into one string, to distinguish the deploy plugin 2.0 with no deps from the deploy plugin 2.0 with a plugin-level dep on wagon-webdav. Plugin realms have their parent realms managed by the pluginManager now prior to lookup or execution of the mojo instance, and PluginDescriptor.(classRealm|artifacts) attributes are set for each execution. Likewise, the MavenPluginCollector now tracks plugin descriptors with their version information included, instead of just using g:a.
...
Had to bump the plexus-container-default version up to alpha-36 to fix a problem in ClassicSingletonComponentManager. All realms for extensions, plugins, and projects (which contain only imports from extensions) are now managed by the MavenRealmManager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@591391 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 16:44:00 +00:00
John Dennis Casey
f87308819f
Bake compat-aspect weaving into the build for all profiles, to alleviate problems with the non-standard embedder creation.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@590803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 19:52:38 +00:00
John Dennis Casey
27698689a8
Adding compat trailer to the maven version when it's printed via the cli.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@590758 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:26:37 +00:00
John Dennis Casey
a1510ba220
Adding compat aspect to maven-core to give one-stop-shopping for backward compatibility measures and reduce pollution in main codebase.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589908 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 23:31:27 +00:00
John Dennis Casey
00a1edc008
disable project-specific loading of extensions and plugins until we can figure out how to do it without causing OOME's.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 23:15:23 +00:00
John Dennis Casey
b97533f845
Fix Maven/DefaultMaven method signatures, push projectSessions map into request.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@589822 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 19:42:33 +00:00
John Dennis Casey
4f44eaddf3
Restoring ability to use webdav wagon by fixing WagonManager's use of new active collections in the container, and fixing the active collections to scan descendant realms for qualifying components.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588777 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 20:57:39 +00:00
John Dennis Casey
b0cc7be1ac
Improving the use of project sessions in the embedder, and exporting control over the project session map to the embedder instead of Maven.execute().
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588144 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 05:13:22 +00:00
Carlos Sanchez Gonzalez
2271551d4a
Store the pom File object in the execution request instead of its path
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588060 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:25:48 +00:00
Carlos Sanchez Gonzalez
9637ac8c5a
Store the pom File object in the execution request instead of its path
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588059 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 22:25:28 +00:00
John Dennis Casey
9d94f8d310
Fixing NPE in execution request. Apparently, bootstrap was not run after these were changed.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588034 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:23:48 +00:00
John Dennis Casey
16c064c4bc
Cleaning up extension and plugin realms for a project once the build completes.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@588029 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 21:14:27 +00:00
Carlos Sanchez Gonzalez
64e0d64a56
Store the pom File object in the execution request instead of its path
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587998 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 20:07:08 +00:00
Jason van Zyl
b762ce620c
o put the tycho profile back
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587800 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 06:58:27 +00:00
Carlos Sanchez Gonzalez
1241d1b299
Kept John's constructors but still use File/URL instead of String
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587692 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:23:22 +00:00
Carlos Sanchez Gonzalez
efd372c24a
Restore backwards compatibility readding static OS_* vars
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587684 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 22:55:53 +00:00
Jason van Zyl
c81694144f
o cleaning up debug output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587649 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 20:33:43 +00:00
Jason van Zyl
7f8b8699a5
o for milos' test i am now adding the component to the container programmatically so we don't need to manually stuff an artifact handler into
...
the artifact handler manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 20:33:10 +00:00
Jason van Zyl
959ea187df
o fork never for every build except the embedder, something in surefire is causing a verify error if I fork all the other builds
...
o get rid of the tycho profile, eugene has made his own eclipse plugin thingy and doesn't need the felix plugin which doesn't work properly or half-ass attempt at making a manifest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 17:42:19 +00:00
Herve Boutemy
353cd5bac4
[MNG-2254] support XML file encoding when writing settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587489 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 12:56:21 +00:00
Jason van Zyl
60f9555333
o use the programmatic setup of the container
...
o use the new active collections in Pleuxus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587015 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 07:07:29 +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
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
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
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
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
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
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
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
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
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
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
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