Commit Graph

855 Commits

Author SHA1 Message Date
Brett Leslie Porter d848ba2acd PR: MNG-1232
Submitted by: Jerome Lacoste
avoid NPE in error reporting under some circumstances

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330207 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 08:03:25 +00:00
Brett Leslie Porter 51650e5f15 PR: MNG-1271
Submitted by: Edwin Punzalan
improve error message when pom.xml not found and required


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 07:07:44 +00:00
Brett Leslie Porter 82fd1c6c6b site updates
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329057 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 03:03:16 +00:00
John Dennis Casey e244bc5072 Searching for the project-specified plugin instance, to get configuration...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328899 13f79535-47bb-0310-9956-ffa450edef68
2005-10-27 15:41:33 +00:00
John Dennis Casey 69fda56d91 Adding '$' as an escape character for variable-syntax which should be passed through.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328885 13f79535-47bb-0310-9956-ffa450edef68
2005-10-27 14:47:55 +00:00
Brett Leslie Porter a9571267db PR: MNG-1244
Submitted by: Mark Hobson
Final fix for paths with spaces in the executable


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328137 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 19:12:46 +00:00
Brett Leslie Porter 342ea76529 put back javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327981 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 06:37:36 +00:00
Brett Leslie Porter d8d5807fae PR: MNG-1291
correct the executable name

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327919 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 02:32:29 +00:00
Brett Leslie Porter ea8e16f26d PR: MNG-1244
Submitted by: Mark Hobson
make m2 wrapper script work under cygwin when there are spaces in the path


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327899 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 01:10:00 +00:00
Brett Leslie Porter d7c3795f1c remove unused code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327887 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 23:58:31 +00:00
Brett Leslie Porter 56f566e79e clean some imports and unused code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327885 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 23:50:38 +00:00
Brett Leslie Porter 772bf37124 PR: MNG-1223
error out if there are duplicate modules in the reactor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327763 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 08:07:38 +00:00
Brett Leslie Porter 3fb76b2014 fix script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327257 13f79535-47bb-0310-9956-ffa450edef68
2005-10-21 19:50:39 +00:00
Brett Leslie Porter 623efa6119 apply changes from tag maven-2.0 rev 326239
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326240 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 21:01:19 +00:00
Brett Leslie Porter d48cbfaef3 remove fixed version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326200 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 18:37:55 +00:00
Brett Leslie Porter 2be4e802b2 don't echo commands
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321473 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 19:17:11 +00:00
Brett Leslie Porter 5c3f720375 include mvn script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321458 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 19:01:49 +00:00
Brett Leslie Porter c51faea5d1 merg from tag up to r321409
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321412 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 18:27:49 +00:00
Brett Leslie Porter b8a6247c0b fix version on trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321100 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 13:11:04 +00:00
Brett Leslie Porter b4c041a567 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321042 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:26:39 +00:00
Brett Leslie Porter d783c5fc41 [maven-release-plugin] prepare release maven-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321040 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:15:39 +00:00
Brett Leslie Porter 3ef6ba2242 lock in a version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321039 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:01:00 +00:00
Brett Leslie Porter ca0e872a5a - fix MojoFailureExceptionDiagnoser so that even under the reactor the long message is shown
- remove long message from BuildFailureException as it was only there for that reason, and caused dual diagnosis

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320990 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 03:48:39 +00:00
Brett Leslie Porter c74d08fa48 if the plugin version is not working with this version of Maven, rollback until one is found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320983 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 02:57:13 +00:00
Brett Leslie Porter 156464c205 don't need extra message as the exception message is guaranteed to say that
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320964 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 01:31:05 +00:00
John Dennis Casey ed17ce3aba Adding conditional logic to pull out root cause to a couple diagnosers.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320918 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 21:03:54 +00:00
Brett Leslie Porter 1c7c34f027 more error diagnostics improvements
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320869 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 18:49:19 +00:00
John Dennis Casey 62149297e4 Resolving: MNG-1150
Applied patch for configuring Wagon instances via DefaultWagonManager. I reworked the configuration exception to be a derivative of TransferFailedException, since it pertains to the WagonManager usage of maven-wagon.

Thanks to Juan Codagnone for the patch.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320827 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:49:41 +00:00
Brett Leslie Porter b4cdb4a785 PR: MNG-122
cleanup formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320812 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:21:00 +00:00
Brett Leslie Porter a9f4d9f1e5 PR: MNG-122
fix fail at end

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320809 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:05:41 +00:00
Brett Leslie Porter 11df168337 PR: MNG-122
final exception cleanup - reduce the noise in the lifecycle executor, get rid of response object in favour of exception handling from DefaultMaven.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320797 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 16:36:54 +00:00
Brett Leslie Porter 1f638e6945 PR: MNG-122
finish cleanup artifact/plugin not found exception

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320712 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 10:28:36 +00:00
Brett Leslie Porter 1f97932050 PR: MNG-122
cleanup artifact/plugin not found exception

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320704 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 09:51:36 +00:00
Brett Leslie Porter 562facf5d2 PR: MNG-122
cleanup artifact metadata retrieval exceptions

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320701 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 09:13:11 +00:00
Brett Leslie Porter 04e02209b1 PR: MNG-122
use real exceptions for repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320683 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 08:04:27 +00:00
Brett Leslie Porter 1901992586 PR: MNG-122
exception clean up phase 2

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320675 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 06:50:22 +00:00
Brett Leslie Porter 5de6418c69 PR: MNG-122
exception clean up phase 1

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320668 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 05:30:22 +00:00
Brett Leslie Porter 10a8e05df6 clean up project exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314994 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 18:49:01 +00:00
Brett Leslie Porter c525b4d9ed exclude old plexus utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314962 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 16:57:07 +00:00
Brett Leslie Porter 80bcf484b1 use consistent version of wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314928 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 14:28:09 +00:00
John Dennis Casey c933da0504 Generalized error diagnosis for use outside of maven-core. This allows us to print diagnostic messages in the Ant tasks, for instance (these modifications are also included), and share diagnosers between multiple uses (maven-core, maven-artifact-ant, for example). This should help with MNG-784, but I'll verify that before I close it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314804 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:46:29 +00:00
Brett Leslie Porter 0497cc28e7 clarify
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314802 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:35:11 +00:00
John Dennis Casey 41be861bed Adding code to flush the plugin collector when reloading the plugin container, so that discovery will proceed normally in the new container instance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314798 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:16:16 +00:00
John Dennis Casey 36c7208f9f Adding self-check for plugin version to the end of the resolution process, as a default.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314797 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:15:28 +00:00
John Dennis Casey 06dc81b54e Cleaning up diagnosis output for MojoExecutionException's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314785 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 05:05:39 +00:00
Brett Leslie Porter 25f64b0cd2 add copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314767 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 03:45:34 +00:00
John Dennis Casey e1fe63e664 Adding error diagnoser for MojoExecutionExceptions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312976 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 23:21:51 +00:00
John Dennis Casey 32841e4e03 Fixing standalone maven-core build...fixing metadata merge where lastUpdated == "null" (null-string)...and finally, disabling plugin resolution from referencing the current project, since this will really screw up builds of plugins that are referenced in the plugin lifecycle mapping...like maven-surefire-plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312948 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 20:01:43 +00:00
Brett Leslie Porter 46c22374bc correct blacklisting logic
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312921 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 17:36:17 +00:00
Brett Leslie Porter 3968063fb2 look in the reactor and the current project for the appropriate version to use
(before the registry and repository, but after the build section)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312889 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 14:18:06 +00:00