Commit Graph

1883 Commits

Author SHA1 Message Date
Brett Leslie Porter d64970af4d propogate more ArtifactResolutionExceptions directly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169557 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 02:13:18 +00:00
Brett Leslie Porter b10ed41fca reformat, apply license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169548 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 01:04:50 +00:00
Emmanuel Venisse 748d500ab3 Fix copyResources calls
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169531 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 22:56:03 +00:00
Brett Leslie Porter f9360a13d9 test if properties were provided
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169498 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 17:00:09 +00:00
Brett Leslie Porter f0248e0084 PR: MNG-298
Submitted by: Vincent Massol
Reviewed by:  Brett Porter
set some system properties based on plugin configuration. At this point, they are not reverted afterwards...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169497 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 16:53:59 +00:00
Brett Leslie Porter 1338b5d537 not going to use this structure due to ambiguities
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169491 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 16:19:03 +00:00
Brett Leslie Porter 967fa87820 PR: MNG-373
make sure plugin configuration is always injected

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169490 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 16:14:34 +00:00
Brett Leslie Porter 3be583ee12 PR: MNG-372
not a series of paths

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169486 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:36:39 +00:00
Brett Leslie Porter e0b2aea99e PR: MNG-374
don't let the original plugin configuration get polluted during goal attainment

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169485 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:35:26 +00:00
Brett Leslie Porter 14b9e9f347 remove default plugin versions from super POM, rely on discovery of releases. Write out the current version during bootstrap to force its usage (unfortunately enforcing it on other installs, however...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:04:06 +00:00
Brett Leslie Porter 91b4c4e604 back to m2 repo for now as RELEASE files don't get converted
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169468 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 13:34:41 +00:00
Brett Leslie Porter 53d6c53cb6 more work on that quoting. seems to finally have come good, at least in bash...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169467 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 13:34:16 +00:00
Brett Leslie Porter 3718136fe5 can't quote $ARGS, doesn't work when there is >1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169443 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 08:50:09 +00:00
Brett Leslie Porter 158a667d94 remove maven-monitor dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169433 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 07:50:47 +00:00
Brett Leslie Porter 325966c774 deploy to m1 repo in future
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169432 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 07:46:48 +00:00
Brett Leslie Porter d47f6c7dd6 move the Log interface to o.a.m.plugin.logging in maven-plugin-api, breaking the dependency on maven-monitor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169431 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 07:39:33 +00:00
Brett Leslie Porter 12455bf6e3 always update snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169404 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 03:13:35 +00:00
Brett Leslie Porter a1cc67d6ea doc amendments to make it build under m1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169401 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 03:09:28 +00:00
Brett Leslie Porter 2eb327853b we do not currently support concurrent versions of a plugin a build as there is no access to the resolved version outside of the artifact container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169398 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 02:57:10 +00:00
Brett Leslie Porter a53624b4b4 correct bug that caused certain snapshot files to never be updated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169397 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 02:52:37 +00:00
Emmanuel Venisse 7040851876 Improve rendering.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169385 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 00:20:29 +00:00
Emmanuel Venisse eda19653d8 Fix NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169384 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:55:48 +00:00
Emmanuel Venisse b15610d406 Build maven-reporting-api before maven-core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169380 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:30:07 +00:00
John Dennis Casey 7eda955b1d o Cleaned up a couple of things in repoclean that broke with the last update.
o Added concept of ErrorDiagnoser to help interpret errors and provide user feedback
o Added PluginParameterException to provide richer information than simply PluginConfigurationException (it's derived from PluginConfigurationException)
o Added implementations of ErrorDiagnoser for artifact resolution and plugin configuration handling.
o Modified DefaultMaven's logFailure(..) method to use errorDiagnosers Map (injected via Plexus)

I approached the plugin parameter expression/name feedback in this way, as it seems like a general pattern for interpreting errors without embedding this logic deep within the app itself. Feel free to rollback if this causes issues.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169379 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:30:01 +00:00
Emmanuel Venisse f3fa32eebe o Fix html generation
o Categorize reports in "Project Info" and "Project Reports"
o Generate overview page for "Project Info" and "Project Reports" pages

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169372 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 22:47:34 +00:00
John Dennis Casey 17c195e01d o Fixed NPE in LegacyArtifactDiscoverer when the resulting Artifact from the buildArtifact() method is null (was an errant debug statement)
o Removed requirement and attempt at copying wagon-http-lightweight when ./install.sh runs.
o Cleaned up the output from ./repoclean.sh to remove a couple debug lines
o Fixed components.xml to comply with the new component refactorings (simplified RepositoryCleaner using two new processing phases: DiscoveryPhase and RewritePhase, with NO common interface)

We should be ready to process mixed bags of m1 and m2 poms in the same source repo now!

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169330 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 15:36:32 +00:00
Brett Leslie Porter 637c0f815b fix bug in compareTo when metadata.version is null
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169306 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 12:42:04 +00:00
Brett Leslie Porter 05affa0a65 PR: MNG-192
Add "RELEASE" notation so that plugins without a version can be discovered

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169303 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 12:30:10 +00:00
Brett Leslie Porter 26622164f4 PR: MNG-372
more fixes for paths with spaces

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169293 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 11:38:38 +00:00
John Dennis Casey 31b340375b Added '-e' switch to the plugins build. Still trying to get visibility to errors.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169231 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 04:27:34 +00:00
John Dennis Casey 469f96a4f1 o Added '-e' switch, to allow error stacktraces without enabling DEBUG error level throughout.
o Added listing of error messages from getCause() chain in DefaultMaven rather than simply spitting out the (often useless) aggregator Exception's message.
o Added '-e' to the IT verifier's invocation of m2.

I'm trying to get visibility to errors here...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169230 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 04:25:56 +00:00
Brett Leslie Porter 954bc26584 update to latest maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169221 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 02:13:33 +00:00
Brett Leslie Porter 3dc7a5cc88 update to latest mojo API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169220 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 02:13:08 +00:00
Brett Leslie Porter 8e6a8fa694 actually make the changes I said I had for MNG-372
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169202 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 00:22:11 +00:00
Brett Leslie Porter 46e32b8b90 PR: MNG-371
Submitted by: Kenney Westerhof
Reviewed by:  Brett Porter
give the location of the plugin descriptor

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169201 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 00:21:33 +00:00
Brett Leslie Porter 0a7842482f PR: MNG-372
Submitted by: Mark Hobson
Reviewed by:  Brett Porter
deal better with spaces in paths on windows
(applied with modifications)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169184 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 22:50:01 +00:00
Brett Leslie Porter d6eed0b7a6 note about IT 14
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169178 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 22:07:46 +00:00
Brett Leslie Porter 6348de7143 comment out readonly check, as it breaks an integration test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169172 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 21:47:31 +00:00
Brett Leslie Porter 48e11d225f add test compilation to integration test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169171 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 21:39:30 +00:00
Brett Leslie Porter e3442d7969 add integration test for pom configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169170 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 21:26:13 +00:00
John Dennis Casey ee7680ddce took -X back out...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169081 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 14:20:01 +00:00
Emmanuel Venisse 71bb78fb08 Update to new reporting-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169079 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:42:42 +00:00
Emmanuel Venisse dd5f4fed12 Update to new reporting-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169078 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:30:01 +00:00
Emmanuel Venisse dd4c6fb600 Add reports to the menu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169077 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:01:17 +00:00
Emmanuel Venisse 1eb084ce3e Report generate directly xhtml file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169076 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:00:47 +00:00
Emmanuel Venisse 040139d102 Generate reports links in menu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169073 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 12:03:10 +00:00
John Dennis Casey 5974808b45 Added '-X' switch to the re-building of plugins step...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169044 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 05:48:00 +00:00
John Dennis Casey 4e19394875 Adding the phases as promised.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169042 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 05:45:57 +00:00
John Dennis Casey 099c5383c2 o Refactored RepositoryCleaner to use DiscoveryPhase and RewritePhase.
o Added the ability to read a pom and figure out whether it's a v4 pom (based on presence of modelVersion)
o Added a more accurate counter for artifacts that are actually rewritten successfully, rather than just the ones that enter the rewriting process.
o Probably need to add the phases still...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169041 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 05:45:20 +00:00
Emmanuel Venisse ecc12bd005 o Use sink for generate the report
o Define some default properties that use by checkstyle config file

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168671 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 22:09:58 +00:00