Commit Graph

6213 Commits

Author SHA1 Message Date
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
Milos Kleint e10f025310 Add Thread.getId() to the realm identification, a simple trick to make DefaultMavenRealmManager lifecycle safe for paralel execution.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611615 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 18:19:35 +00:00
Milos Kleint fc244926ca comment on multithreading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611548 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 08:41:12 +00:00
Dennis Lundberg 6e544a5643 o Merge r611419.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611425 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 14:36:33 +00:00
Milos Kleint 6bef2dd419 profiles.mdo now located elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611111 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 08:59:04 +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 f63b0cbf0c o merged from r610985 (moved mdo)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610986 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 23:21:43 +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 84c18ff03d changing maven-plugins version, since 4-SNAPSHOT is no longer available on the people.a.o snapshots repo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610620 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 00:17:41 +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
John Dennis Casey a4a9ae668e Add a constructor with only a container parameter for backwards compat, to allow plugins to continue to function.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@610151 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:01:59 +00:00
Vincent Siveton a0e3d00278 o merged from r609976 (MNG-2809: Can't activate a profile by checking for the presence of a file in ${user.home})
o added new test class

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609980 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 13:42:18 +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 ff35d87011 o added recent release for http://projects.apache.org/projects/maven.html
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 23:31:57 +00:00
John Dennis Casey c3355fb23d bump the plexus version to alpha-42.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609742 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 19:09:18 +00:00
Carlos Sanchez Gonzalez bb118b98dd Remove codehaus snapshot repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609729 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 18:15:15 +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
Vincent Siveton 4e41fbea47 o merged r609576 (MNG-2925: NullPointerException in PluginDescriptor.getMojo() if there's no mojo in pom.xml)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609577 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 11:46:27 +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 c754ccad3a MNG-2166: enhanced missing goal error info. (fix from 587339:587340 in 2.0.x)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609085 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:49:42 +00:00
Brian E Fox 3040f3e412 MNG-3201: added toString() merged 587355-56 from 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609083 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 02:29:16 +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 c09f4395cf o merged r609000 (MNG-3279: Support Exception Chaining for MojoFailureException)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@609001 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 20:55:16 +00:00
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