Commit Graph

2497 Commits

Author SHA1 Message Date
Oliver Burn 4abb4e9cc5 Clean up based on NetBeans warnings 2010-09-30 15:55:30 +10:00
Oliver Burn 592a12fa3d I have converted the Checkstyle repository from Subversion to
Mercurial (Hg). As of now, the Subversion repository is closed
for commits and I have revoked access to all the committers. They
naturally now have access to the Mercurial repository.

The Subversion repository. will still be available for on-line
viewing, at least until the 5.3 release.

I have done this, as I have been using Mercurial for the last
year on other projects and want to take advantage of it's
features.

There is a good intro guide to Mercurial at http://hginit.com/.
I recommend http://tortoisehg.bitbucket.org/ as a good front end.

Note: during the conversion process, I encountered the following issues:

   - Due to me being consistent on the directory format for tags,
     not all tags have come across. They are preserved in
     Subversion.

   - There were issues with CRLF line endings. These have been
     fixed.
2010-09-30 15:28:17 +10:00
Oliver Burn 41a0baed82 ignore things 2010-09-30 13:39:17 +10:00
Oliver Burn 6f46bd4e83 fixing the line endings 2010-09-30 13:36:23 +10:00
Oliver Burn 05897cfc6d Fix line endings 2010-09-30 13:16:05 +10:00
Oliver Burn 6ce7f8c783 update tags 2010-09-29 11:27:17 +00:00
Oliver Burn ebb5c70dca Added the new line at end of file check to the mix 2010-09-29 10:10:30 +00:00
Oliver Burn 41954c1bd0 Added NestedForDepth that restricts nested <code>for</code>
blocks to a specified depth (default = 1). Thanks to Alexander
Jesse for patch #1151673.
2010-09-29 05:44:01 +00:00
Oliver Burn 0f81504d72 Enhanced PackageDeclaration to optionally check that the package name matches the contains source file. 2010-09-28 06:33:00 +00:00
Oliver Burn ca39f3af5a Enhanced PackageDeclaration to optionally check that the package name matches the contains source file. 2010-09-28 06:23:17 +00:00
Oliver Burn 84a9ea5f6b Added OuterTypeFilename that checks that the outer type name and the file name match.
For example, the class Foo must be in a file named Foo.java.
2010-09-28 04:44:09 +00:00
Oliver Burn d790eb1dc2 Fix JavadocMethod checking of @throws tags for methods that throw multiple non-runtime exceptions. Thanks to Daan Kets for patch #3039869. 2010-09-28 03:34:44 +00:00
Oliver Burn b1a8aac706 [maven-release-plugin] prepare for next development iteration 2010-09-25 04:23:55 +00:00
Oliver Burn 610bc48938 [maven-release-plugin] prepare release release5_2 2010-09-25 04:23:09 +00:00
Oliver Burn d1821e3343 Last change to release notes before a release. 2010-09-24 22:22:54 +00:00
Oliver Burn 776cf7f5cc Changes for making releases following https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide. 2010-09-24 22:08:41 +00:00
Oliver Burn 85b732ecc5 Convert to use simple <code></code> instead of <span class="xxxx"></span>. It is just simpler to handle. 2010-09-24 06:17:04 +00:00
Oliver Burn 3539d50634 General clean up 2010-09-24 04:52:26 +00:00
Oliver Burn 1a99a22d57 Seen the error of my ways. The "mvn package" command should be default just build the Checkstyle JAR as this is what will be released in the Maven Central Repository.
To generate the distributions, use the command "mvn -Pdistro package". This activates the distro profile that will generate the distributions.
2010-09-23 23:50:15 +00:00
Oliver Burn 3765156a81 Changing the groupId after being requested to. http://issues.sonatype.org/browse/OSSRH-807 2010-09-23 12:37:15 +00:00
Oliver Burn b9a47d49d8 Add the necessary support for signing releases. A requirement for publishing to the Maven Central. (there are many hurdles to be cleared). 2010-09-23 10:50:40 +00:00
Oliver Burn 0831fb660d Made the method protected so that it is accessible to subclasses. Requested by Steve McKay. 2010-09-23 04:40:47 +00:00
Oliver Burn c941401306 Fix up URLs for a release 2010-09-22 12:06:23 +00:00
Oliver Burn 99bbf9ba3b Need to force the generation of the site before packaging, otherwise unable to generate a release. 2010-09-22 10:16:28 +00:00
Oliver Burn 161bdd2b35 planning for a release. 2010-09-22 07:12:17 +00:00
Oliver Burn 980a49add5 Mention upgraded third party dependencies. Nice to be able to reference the Maven report ;-) 2010-09-22 01:30:53 +00:00
Oliver Burn be7561480b record the obvious :-) 2010-09-21 23:51:12 +00:00
Oliver Burn 5a643daa9c Used maven-linkcheck-plugin to identify broken links. 2010-09-21 11:50:38 +00:00
Oliver Burn 518a371c40 Strip the ANT build.xml back to purely testing tasks. It requires that the 'mvn package' target has been run to generate the package. 2010-09-21 07:04:35 +00:00
Oliver Burn d4b59341fc Fix up references to the new ALL jar. 2010-09-21 06:36:31 +00:00
Oliver Burn 4218884ee8 got the test to run under maven 2010-09-21 06:23:29 +00:00
Oliver Burn 4c124c309f turn on validation of xdocs 2010-09-21 01:41:58 +00:00
Oliver Burn 9e57857f69 Still not sure why this test fails under Maven, but not Eclipse. 2010-09-20 13:29:00 +00:00
Oliver Burn 829ae4c34f Fix up tests that were broken under Maven. 2010-09-20 13:10:28 +00:00
Oliver Burn b4e77fd043 correct details for a deployment. 2010-09-20 11:08:51 +00:00
Oliver Burn c53462a2c7 Not used 2010-09-20 10:45:25 +00:00
Oliver Burn fd6ef65d13 fix the validation errors in the documentation and clean out the old site stylesheets. 2010-09-20 10:41:53 +00:00
Oliver Burn 25c6e7a3e8 Unfortunately for now, not going to use the com.puppycrawl.tools.checkstyle.doclets.CheckDocsDoclet to generate the availablechecks.xml file. To add support will complicate the Maven build as would need to use custom ANT "hooks" in the "pre-site" and "clean" phases to generate (and delete) the availablechecks.xml into the src/xdocs directory. This is because (it appears) that the site plug-in does not support generating the input xdocs. 2010-09-20 07:14:44 +00:00
Oliver Burn 04195ceffa Update 3rd party dependencies.
Fix when Checkstyle is run on itself to be before a package is generated. (The verify phase is not the right place)
Remove the lib directory - this invalidates using ANT to build Checkstyle any more. Plan to convert the build.xml to just support testing tasks.
2010-09-20 03:15:22 +00:00
Oliver Burn 499428069d setup code coverage report 2010-09-20 02:30:21 +00:00
Oliver Burn 636740835e define the banners/poweredBy 2010-09-19 13:22:48 +00:00
Oliver Burn 0a34e90d72 Fix up the site documentation and images for Maven. 2010-09-19 13:04:07 +00:00
Oliver Burn 61744406b8 verify that xdocs can be filtered prior to generation. (this breaks the ANT build again) 2010-09-19 12:15:42 +00:00
Oliver Burn d3ffc32476 fill in more details 2010-09-19 11:28:19 +00:00
Oliver Burn 2b3ac1ec67 Keeping the ANT build functioning 2010-09-17 10:50:15 +00:00
Oliver Burn ec4c07f67f Getting close to the point of no return. Made the documentation links "Maven friendly" 2010-09-17 06:57:39 +00:00
Oliver Burn 1f8ac6a2ae A near complete build system now. It generates the assemblies for distribution. 2010-09-17 05:41:38 +00:00
Oliver Burn c3205aa0fb setup javadoc generation and fixed some errors found as a result 2010-09-16 04:45:07 +00:00
Oliver Burn 86cbe5bd16 Hooks for the compile and verify phase. Run Checkstyle on itself as part of the verification process. 2010-09-16 02:40:06 +00:00
Oliver Burn a62935f3ea Starting to add some details 2010-09-15 09:51:25 +00:00