You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Simone Tripodi <si...@apache.org> on 2011/08/11 14:31:55 UTC
checkstyle and JavadocPackage module
Hi all,
In apache commons functor[1] (sandbox) I'm trying to enable the
JavadocPackage checkstyle module, unfortunately I'm getting the
following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
(default-site) on project commons-functor: Error during page
generation: Error rendering Maven report: Failed during checkstyle
configuration: cannot initialize module JavadocPackage - Unable to
instantiate JavadocPackage: Unable to instantiate JavadocPackageCheck
-> [Help 1]
Is there any way I can configure checkstyle in order to accept that module?
My environment is
$ mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /Applications/apache-maven-3.0.3
Java version: 1.5.0_24, vendor: Apple Inc.
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.4", arch: "i386", family: "unix"
Many thanks in advance, have a nice day!!!
Simo
[1] https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: checkstyle and JavadocPackage module
Posted by Olivier Lamy <ol...@apache.org>.
2011/8/11 Simone Tripodi <si...@apache.org>:
> Salut Olivier!!!
> thanks a lot for your reply and sorry for writing so late (and missed
> the messages on Twitter - I'm working on sume stuff as bricklayer
> @home these days :P).
> So my question is: how to configure current checkstyle plugin in order
> to handle package-info.java insead of package.html?
See http://checkstyle.sourceforge.net/config_javadoc.html
As I understand check of package-info.java is the default value if
you add this simple line in your checkstyle configuration :
<module name="JavadocPackage"/>
> Many thanks in advance, have a nice day!!!
> All the best, a bientot!
> Simo
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
>
>
> On Thu, Aug 11, 2011 at 3:49 PM, Olivier Lamy <ol...@apache.org> wrote:
>> Hello Simone,
>> I think this JavadocPackage comes with 5.0 checkstyle version. (see
>> release note [1] )
>>
>> As I can see checkstyle plugin in commons is 2.2 which use checkstyle 4.4.
>>
>> Maybe time to upgrade :-) (checktyle plugin 2.7 will be available soon)
>>
>> --
>> Olivier Lamy
>> Talend : http://talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> [1] http://checkstyle.sourceforge.net/releasenotes.html
>>
>> 2011/8/11 Simone Tripodi <si...@apache.org>:
>>> Hi all,
>>> In apache commons functor[1] (sandbox) I'm trying to enable the
>>> JavadocPackage checkstyle module, unfortunately I'm getting the
>>> following error:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
>>> (default-site) on project commons-functor: Error during page
>>> generation: Error rendering Maven report: Failed during checkstyle
>>> configuration: cannot initialize module JavadocPackage - Unable to
>>> instantiate JavadocPackage: Unable to instantiate JavadocPackageCheck
>>> -> [Help 1]
>>>
>>> Is there any way I can configure checkstyle in order to accept that module?
>>> My environment is
>>>
>>> $ mvn --version
>>> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
>>> Maven home: /Applications/apache-maven-3.0.3
>>> Java version: 1.5.0_24, vendor: Apple Inc.
>>> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
>>> Default locale: en_US, platform encoding: MacRoman
>>> OS name: "mac os x", version: "10.6.4", arch: "i386", family: "unix"
>>>
>>> Many thanks in advance, have a nice day!!!
>>> Simo
>>>
>>> [1] https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://www.99soft.org/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: checkstyle and JavadocPackage module
Posted by Simone Tripodi <si...@apache.org>.
Salut Olivier,
I just realized in the dev@ ML that waiting for next checkstyle plugin
release is a matter of moments, so I'll wait for it :P
Thanks for your efforts, all the best!
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Thu, Aug 11, 2011 at 5:11 PM, Simone Tripodi
<si...@apache.org> wrote:
> Salut Olivier!!!
> thanks a lot for your reply and sorry for writing so late (and missed
> the messages on Twitter - I'm working on sume stuff as bricklayer
> @home these days :P).
> So my question is: how to configure current checkstyle plugin in order
> to handle package-info.java insead of package.html?
> Many thanks in advance, have a nice day!!!
> All the best, a bientot!
> Simo
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
>
>
> On Thu, Aug 11, 2011 at 3:49 PM, Olivier Lamy <ol...@apache.org> wrote:
>> Hello Simone,
>> I think this JavadocPackage comes with 5.0 checkstyle version. (see
>> release note [1] )
>>
>> As I can see checkstyle plugin in commons is 2.2 which use checkstyle 4.4.
>>
>> Maybe time to upgrade :-) (checktyle plugin 2.7 will be available soon)
>>
>> --
>> Olivier Lamy
>> Talend : http://talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> [1] http://checkstyle.sourceforge.net/releasenotes.html
>>
>> 2011/8/11 Simone Tripodi <si...@apache.org>:
>>> Hi all,
>>> In apache commons functor[1] (sandbox) I'm trying to enable the
>>> JavadocPackage checkstyle module, unfortunately I'm getting the
>>> following error:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
>>> (default-site) on project commons-functor: Error during page
>>> generation: Error rendering Maven report: Failed during checkstyle
>>> configuration: cannot initialize module JavadocPackage - Unable to
>>> instantiate JavadocPackage: Unable to instantiate JavadocPackageCheck
>>> -> [Help 1]
>>>
>>> Is there any way I can configure checkstyle in order to accept that module?
>>> My environment is
>>>
>>> $ mvn --version
>>> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
>>> Maven home: /Applications/apache-maven-3.0.3
>>> Java version: 1.5.0_24, vendor: Apple Inc.
>>> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
>>> Default locale: en_US, platform encoding: MacRoman
>>> OS name: "mac os x", version: "10.6.4", arch: "i386", family: "unix"
>>>
>>> Many thanks in advance, have a nice day!!!
>>> Simo
>>>
>>> [1] https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://www.99soft.org/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: checkstyle and JavadocPackage module
Posted by Simone Tripodi <si...@apache.org>.
Salut Olivier!!!
thanks a lot for your reply and sorry for writing so late (and missed
the messages on Twitter - I'm working on sume stuff as bricklayer
@home these days :P).
So my question is: how to configure current checkstyle plugin in order
to handle package-info.java insead of package.html?
Many thanks in advance, have a nice day!!!
All the best, a bientot!
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Thu, Aug 11, 2011 at 3:49 PM, Olivier Lamy <ol...@apache.org> wrote:
> Hello Simone,
> I think this JavadocPackage comes with 5.0 checkstyle version. (see
> release note [1] )
>
> As I can see checkstyle plugin in commons is 2.2 which use checkstyle 4.4.
>
> Maybe time to upgrade :-) (checktyle plugin 2.7 will be available soon)
>
> --
> Olivier Lamy
> Talend : http://talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> [1] http://checkstyle.sourceforge.net/releasenotes.html
>
> 2011/8/11 Simone Tripodi <si...@apache.org>:
>> Hi all,
>> In apache commons functor[1] (sandbox) I'm trying to enable the
>> JavadocPackage checkstyle module, unfortunately I'm getting the
>> following error:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
>> (default-site) on project commons-functor: Error during page
>> generation: Error rendering Maven report: Failed during checkstyle
>> configuration: cannot initialize module JavadocPackage - Unable to
>> instantiate JavadocPackage: Unable to instantiate JavadocPackageCheck
>> -> [Help 1]
>>
>> Is there any way I can configure checkstyle in order to accept that module?
>> My environment is
>>
>> $ mvn --version
>> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
>> Maven home: /Applications/apache-maven-3.0.3
>> Java version: 1.5.0_24, vendor: Apple Inc.
>> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
>> Default locale: en_US, platform encoding: MacRoman
>> OS name: "mac os x", version: "10.6.4", arch: "i386", family: "unix"
>>
>> Many thanks in advance, have a nice day!!!
>> Simo
>>
>> [1] https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk
>>
>> http://people.apache.org/~simonetripodi/
>> http://www.99soft.org/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: checkstyle and JavadocPackage module
Posted by Olivier Lamy <ol...@apache.org>.
Hello Simone,
I think this JavadocPackage comes with 5.0 checkstyle version. (see
release note [1] )
As I can see checkstyle plugin in commons is 2.2 which use checkstyle 4.4.
Maybe time to upgrade :-) (checktyle plugin 2.7 will be available soon)
--
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
[1] http://checkstyle.sourceforge.net/releasenotes.html
2011/8/11 Simone Tripodi <si...@apache.org>:
> Hi all,
> In apache commons functor[1] (sandbox) I'm trying to enable the
> JavadocPackage checkstyle module, unfortunately I'm getting the
> following error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
> (default-site) on project commons-functor: Error during page
> generation: Error rendering Maven report: Failed during checkstyle
> configuration: cannot initialize module JavadocPackage - Unable to
> instantiate JavadocPackage: Unable to instantiate JavadocPackageCheck
> -> [Help 1]
>
> Is there any way I can configure checkstyle in order to accept that module?
> My environment is
>
> $ mvn --version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /Applications/apache-maven-3.0.3
> Java version: 1.5.0_24, vendor: Apple Inc.
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.6.4", arch: "i386", family: "unix"
>
> Many thanks in advance, have a nice day!!!
> Simo
>
> [1] https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org