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
John Dennis Casey
acabb9d990
Added isXXXEnabled() methods to Log.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168486 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 01:00:37 +00:00
John Dennis Casey
eb0807bb45
Missed one on the mojo api cleanup and dupe checking commit...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168485 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:38:10 +00:00
John Dennis Casey
6e8cde754c
Updating README.txt with it1005
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:37:27 +00:00
John Dennis Casey
6de708da59
IT for testing failure when duplicate goal names are specified in multiple mojos...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168483 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:36:00 +00:00
John Dennis Casey
5877385df1
Final pass on cleaning up the mojo api...collapsed MavenPluginDescriptor and PluginDescriptor in the same way as MavenMojoDescriptor/MojoDescriptor had been; eliminated the need for plugin.descriptor.Dependency and MavenPluginDependency (using ComponentDependencies instead); adjusted the MojoExtractors (name?) to return Lists instead of Sets; added duplicate checking to a new addMojo(MojoDescriptor) method on PluginDescriptor, so we catch it on all sides; changed the Generators to use execute(outputDirectory, pluginDescriptor) rather than the myriad pluginDescriptor-derived values; added an IT for checking that the build for a plugin will fail if multiple mojos are detected with the same goal; and, added a special case to PluginDescriptor.getGoalPrefixFromArtifactId() to handle maven-plugin-plugin. That should be about it. I'm not sure that I've gotten the IT for that failure test added to svn yet, so that may follow.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168481 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:32:08 +00:00
Emmanuel Venisse
404a07b391
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168477 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:25:43 +00:00
Emmanuel Venisse
aca1a272b8
Rename getFiles method to getFilesToProcess
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168475 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:16:12 +00:00
Emmanuel Venisse
e194597243
Remove unused file
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168473 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:51:46 +00:00
Emmanuel Venisse
3edc333fa3
ignores target
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168472 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:50:46 +00:00
Emmanuel Venisse
079c0d7f50
Initial PMD plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168471 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:49:06 +00:00
Brett Leslie Porter
a790b9d0c5
add roadmap
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168350 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 16:27:37 +00:00
Brett Leslie Porter
b93c73bea1
add roadmap and other site fixes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168349 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 16:17:52 +00:00
Brett Leslie Porter
840d963c03
always read settings.xml, even if maven.repo.local is given
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168297 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:45:42 +00:00
Brett Leslie Porter
c9d01daf19
remove erroneous TODO item
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168295 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:23:13 +00:00