You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vidhya <vi...@siptech.co.in> on 2003/04/29 07:53:54 UTC

Checkstyle Properties

Hi All,
I want to define my own checkstyle property file say
my-checkstyle.properties.
A sample from
maven-checkstyle-plugin-1.1/plugin-resources/avalon-checkstyle.properties.

checkstyle.lcurly.type = nl
checkstyle.lcurly.method = nl
checkstyle.lcurly.other = nl
I want to know what this nl means and what other values can be defined
.Can anyone tell me from where do I get info regarding  the available
attributes(like checkstyle.lcurly.type) and what all valid  values can
be assigned to it.

Also , I want to include the project LICENSE.txt . so where do I put my
my-checkstyle.properties and license.txt.
Can I put these files in any local dir and make Maven point to that ,
maven.checkstlye.properties=${user.home}/project/conf/
my-checkstyle.properties.
          --- conf has both LICENSE.txt and my-checkstyle.properties


Thanks ,
Vidhya


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Checkstyle Properties

Posted by Vidhya <vi...@siptech.co.in>.
Hi All,
I have my-checkstyle.properties .

I have defined the following in project.properties
maven.checkstyle.properties=${user.home}/test/source/conf/my-checkstyle.properties

while generating the site , checkstyle report is not created . When I click on the
checkstlye link , says no file/dir

My directory structure is like
{user.home}/test/source/conf
under source dir  , I have all project.xml, project.properties .

if I specify maven.checkstyle.properties=${user.home}/conf/my-checkstyle.properties
maven is using the default checkstyle properties .

How do make my-checkstyle.properties to get included  in my project and make my
checkstyle work
Thanks
Vidhya




Alexey Demakov wrote:

> hi
>
> you need to read checkstyle http://checkstyle.sourceforge.net/
> docs from checkstyle source distribution
> http://sourceforge.net/project/showfiles.php?group_id=29721
>
> Property maven.checkstyle.properties points to my-checkstyle.properties file.
> In my-checkstyle.properties property checkstyle.header.file points to LICENSE.txt.
>
> Best regards,
> Alexey
> ---
> Alexey Demakov, ISP RAS
> www: http://redverst.ispras.ru
> e-mail: demakov@ispras.ru
> ICQ 740187
>
> ----- Original Message -----
> From: "Vidhya" <vi...@siptech.co.in>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Tuesday, April 29, 2003 9:53 AM
> Subject: Checkstyle Properties
>
> > Hi All,
> > I want to define my own checkstyle property file say
> > my-checkstyle.properties.
> > A sample from
> > maven-checkstyle-plugin-1.1/plugin-resources/avalon-checkstyle.properties.
> >
> > checkstyle.lcurly.type = nl
> > checkstyle.lcurly.method = nl
> > checkstyle.lcurly.other = nl
> > I want to know what this nl means and what other values can be defined
> > .Can anyone tell me from where do I get info regarding  the available
> > attributes(like checkstyle.lcurly.type) and what all valid  values can
> > be assigned to it.
> >
> > Also , I want to include the project LICENSE.txt . so where do I put my
> > my-checkstyle.properties and license.txt.
> > Can I put these files in any local dir and make Maven point to that ,
> > maven.checkstlye.properties=${user.home}/project/conf/
> > my-checkstyle.properties.
> >           --- conf has both LICENSE.txt and my-checkstyle.properties
> >
> >
> > Thanks ,
> > Vidhya
>
> ---------------------------------------------------------------------
> 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 Properties

Posted by Alexey Demakov <de...@ispras.ru>.
hi

you need to read checkstyle http://checkstyle.sourceforge.net/ 
docs from checkstyle source distribution
http://sourceforge.net/project/showfiles.php?group_id=29721

Property maven.checkstyle.properties points to my-checkstyle.properties file.
In my-checkstyle.properties property checkstyle.header.file points to LICENSE.txt.

Best regards,
Alexey
---
Alexey Demakov, ISP RAS
www: http://redverst.ispras.ru
e-mail: demakov@ispras.ru
ICQ 740187


----- Original Message ----- 
From: "Vidhya" <vi...@siptech.co.in>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, April 29, 2003 9:53 AM
Subject: Checkstyle Properties


> Hi All,
> I want to define my own checkstyle property file say
> my-checkstyle.properties.
> A sample from
> maven-checkstyle-plugin-1.1/plugin-resources/avalon-checkstyle.properties.
> 
> checkstyle.lcurly.type = nl
> checkstyle.lcurly.method = nl
> checkstyle.lcurly.other = nl
> I want to know what this nl means and what other values can be defined
> .Can anyone tell me from where do I get info regarding  the available
> attributes(like checkstyle.lcurly.type) and what all valid  values can
> be assigned to it.
> 
> Also , I want to include the project LICENSE.txt . so where do I put my
> my-checkstyle.properties and license.txt.
> Can I put these files in any local dir and make Maven point to that ,
> maven.checkstlye.properties=${user.home}/project/conf/
> my-checkstyle.properties.
>           --- conf has both LICENSE.txt and my-checkstyle.properties
> 
> 
> Thanks ,
> Vidhya




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org