Commit Graph

6084 Commits

Author SHA1 Message Date
Vincent Siveton 315b258a33 o merged r608896 (MNG-3335: Improvement to "resource" / "targetPath" element in pom.xml)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@608897 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:52:20 +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
Vincent Siveton 36c86d19c7 o merged from r608815 and r608817 (MNG-3318 and javadoc)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@608818 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 12:41:53 +00:00
John Dennis Casey 40c84ecb79 Fixing for windows users everywhere.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@605125 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 07:58:45 +00:00
John Dennis Casey fe4363a4c5 Removing the build overlay, as it was causing problems with path translation, and doesn't serve any real purpose.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@605095 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 05:36:03 +00:00
John Dennis Casey b7785ba822 Moving field restored for backward compat out into a maven-project specific out into a compat aspect, like the one used in core itself for the plugin manager and lifecycle executor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604980 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 20:04:45 +00:00
Milos Kleint cdf7254203 a backward compatible solution to reflection usage in current (2.1-beta-1) version of assembly plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604977 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 19:44:01 +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 b511c734a6 Fixing issues with reports used from the site plugin, where the reports' classloaders had been disconnected from the project/core parent realms, and so couldn't use maven libraries.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604685 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 20:09:43 +00:00
John Dennis Casey fa0cce4fdb Fixing case where pluginRealm == projectRealm to avoid setting parent realm == null. This would happen whenever the lifecycle forked, for instance, and would result in weird container classes not being found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604643 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 16:11:18 +00:00
John Dennis Casey 45729dcafc Improving binding for PluginParameterException report.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604642 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 16:10:21 +00:00
John Dennis Casey 10a192dfc2 fixing error reporting for when pom file is missing, and adding deprecated-mojo and deprecated-mojo-param warnings.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@604538 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 01:28:17 +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 147f00077b Fixing broken tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@603455 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 04:17:58 +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 1328959dca Working on the compat aspect, and changing the DefaultMaven class to implement LogEnabled directly so I can grab the logger instance inside the compat aspect...AbstractLogEnabled is beyond the grasp of this aspect.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@602610 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 02:09:44 +00:00
John Dennis Casey a104251412 Fixing debug message that snuck in as info log-level.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@602156 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:15:58 +00:00
Milos Kleint 4b7ca6bc0e use plexus-classworlds 1.2-alpha-11, contains fix necessary for netbeans integration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601852 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 20:49:34 +00:00
John Dennis Casey ca069de6eb Adding two unit tests to check the reporter, and fixing a pointcut for artifact-related project errors.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601589 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 00:34:49 +00:00
Ralph Goers 39159e458e <scope>import</scope> is not needed in 2.1.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601579 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 23:51:33 +00:00
Ralph Goers 25a654be7c Add support for importing managed dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601578 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 23:48:25 +00:00
John Dennis Casey c8f441f03c Tightening down the pointcuts binding error reporting methods to the code...still needs a bit more work, and I'm working on a testbed for the error reporting stuff, but it needs to be automated still.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601471 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 19:06:27 +00:00
John Dennis Casey b38e6e2fad Fixing compat aspect in cases where the Set being passed in is unmodifiable.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601161 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 00:05:00 +00:00
John Dennis Casey 589db485fd Make sure external profiles are applied to the superPom before it's used as a basis for inheritance in the project builder. Also, adding some debug statements to the lineage-building process.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601159 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 00:03:55 +00:00
Herve Boutemy 3488401f83 [MNG-1412] keep dependencies order when injecting profile
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601096 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 21:45:00 +00:00
John Dennis Casey 103a85a02b Fixing plugins-as-extensions when brought in from pluginManagement to a module-project's build. Unit test included.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@601013 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 17:22:28 +00:00
John Dennis Casey 1db3b755ab Fixing problem with new extensions manager code where custom lifecycle definitions are not used in build planning. Unit tests included.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@600792 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 04:32:13 +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 b310a40d6b Fixing super-pom building to allow injection of external profiles (again). Also, removing use of pluginRepositories and improving error reporting just a tad.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599658 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 00:24:10 +00:00
John Dennis Casey 0d6bdba6d5 Applying patch from Oleg Gusakov to add dependency information to the metadata returned.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599652 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 00:15:05 +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 9732014c53 Fixing case where parent pom has pluginManagement, child does not refer to the plugin, and plugin is used directly on the command line...version from parent-pom pluginManagement should be used. Test case to follow.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@599338 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 08:42:38 +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
Jason van Zyl 92f4fe42e9 o get rid of 1.5 annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598755 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 20:19:20 +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
John Dennis Casey 249af52bb5 Wiring plugin-as-extension back into the new extension scanning stuff.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598720 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 17:59:22 +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
Milos Kleint deca7349ff add maven-toolchain to the list of default excludes. necessary for proper retrieval from MavenSession's plugin context.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@597154 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:40:39 +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
Vincent Siveton 643119482b o merged r594510 (fixed line size)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594511 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 12:39:55 +00:00
John Dennis Casey 775ee6c5bb Remove UnsupportedOperationExceptions, ignore invalid mutator methods so we will continue to derive information from the parent artifact where necessary and still work in the changing maven-artifact framework.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594363 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 00:30:39 +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