Commit Graph

1614 Commits

Author SHA1 Message Date
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
John Dennis Casey f1d5f829f2 Correcting module-path validation to error on '..' rather than '/'...'/' causes problems when modules are not direct subdirs of the current basedir.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168639 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 19:17:11 +00:00
Brett Leslie Porter b90399de88 make sure debug really is debug by initialising before DefaultMaven gets looked up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168635 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 18:56:34 +00:00
John Dennis Casey ef7d9ec2bd Forgot to commit the marmalade changes for the descriptor cleanup.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168634 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 18:34:50 +00:00
John Dennis Casey 6dbf18fceb Fixed handling of <id>ant+optional</id> in pom-level info as well as dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168631 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 17:41:40 +00:00
John Dennis Casey 76c4ceda28 o Added duplicate check for mojo descriptor Parameters
o changed the exception(s) throws during mojo descriptor extraction to be derivatives of InvalidPluginDescriptorException
o changed PluginConfigurationException in plugin.descriptor to InvalidPluginDescriptorException
o changed all "true".equals(something) to Boolean.valueOf(something).booleanValue()
o added validation of 'modelVersion' back to [Default]ModelValidator
o Fixed/added tests for new 'modelVersion' validation
o changed all requiresXXX in MojoDescriptor to XXXRequired, and getRequiresXXX():boolean to isXXXRequired():boolean to help maintain bean-ness for future use




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168630 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 17:41:03 +00:00
Brett Leslie Porter d4c059226c fix error handling when there is no active profile
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168624 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 15:47:28 +00:00
Brett Leslie Porter 216a640dd0 recognise prefix of plugins already loaded
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168605 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 14:21:00 +00:00
Brett Leslie Porter d9ac5ea1e5 use consistent ordering for reactored projects
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168569 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 08:22:28 +00:00
Brett Leslie Porter 4f60e7e0a1 fix substitution in messages files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168568 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 08:21:58 +00:00
Brett Leslie Porter 3f031d5722 avoid NPE if there are not report plugins defined in the POM when generating the site.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168565 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 08:05:52 +00:00
Brett Leslie Porter 57284e462c propogate exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168546 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:07:04 +00:00
Brett Leslie Porter b31e42b511 fix problem with snapshots being repeatedly checked, recently introduced.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168545 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:06:28 +00:00
Brett Leslie Porter d17b250fec - allow multiple versions of a plugin to operate concurrently.
- allow specification of a mojo as groupId:artifactId:version:goal
- general removal of more hard coding

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168543 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:03:14 +00:00
Brett Leslie Porter 4b12bf0e6e add (commented out) reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168514 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 03:57:48 +00:00
Brett Leslie Porter 3e936447a5 upgrade to PMD 3.0, improve error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168513 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 03:57:22 +00:00
Brett Leslie Porter b8dbe29701 ignore target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168493 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 02:17:55 +00:00
Brett Leslie Porter be5df4a32d write the plugin file, not the project file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168492 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 02:17:39 +00:00
Emmanuel Venisse 8bd3e54944 ignores target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168491 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 01:44:49 +00:00
Emmanuel Venisse 77b905b112 Initial version of Checkstyle Plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168490 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 01:44:15 +00:00