RE: Maven beta 10 repository directory
Hi, thanks for your solution.. that works fine.. now i am facing with a different problem. I am having custom checkstyle properties which will look like, checkstyle.lcurly.type = nl checkstyle.lcurly.method = nl checkstyle.lcurly.other = nl checkstyle.rcurly = alone checkstyle.allow.tabs = false checkstyle.allow.protected = false checkstyle.allow.package = false checkstyle.allow.no.author = false checkstyle.max.line.len = 80 Now, building the checkstyle report using Maven 10, it gives me the following exception. com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse /home/intranet/cvs/metapa/adr/my-checkstyle.properties - Premature end of file.:-1:-1 however,it was working fine with Maven 9. Is there any other special consideration for Maven 10?? RK. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:16 PM To: Maven Users List Subject: Re: Maven beta 10 repository directory "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 06:33:54 PM: > Hi, > > I have now installed Maven beta 10 version and trying to generate > maven site. But some how the repository jar files are not created > under the maven beta 10 directory. its created in $userhome/.maven > directory. Means, it is looking for the repositories from $userhome/.maven > directory instead of $mavenbeta10dir/repository > > How to get rid of this. Please read the documentation, specifically: http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties And the entry on maven.repo.local. Please set that property in your ${user.home}/build.properties file to whereever you want your repo to be. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven beta 10 repository directory
Please see the maven documentation, particularly http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties for a full list of properties that affect it's behaviour. Please note, you've mistyped maven.home.local below, you have it as maven.local.home. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 09:50:04 PM: > > Hi, > > that works fine for repository. But for checkstyle plugins > .. its looking at the directory .maven in the $userhome directory. > what are all the additional properties do i need to set for Maven > beta 10 upgradation.??.. I have checked the ur reference site too > and set the same values as, > > maven.repo.local = ${maven.home}/repository > maven.local.home = /opt/maven > > is that enough??.. > > > > RK. > > > -Original Message- > From: Fabrice Depoux [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 2:14 PM > To: S. Radhakrishnan > Subject: Re: Maven beta 10 repository directory > > > As it is explained in the wiki > (http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to set > the properties mavan.local.home > > Fabrice. > > > On Wed, 6 Aug 2003 14:03:54 +0530 > "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have now installed Maven beta 10 version and trying to generate > > maven site. But some how the repository jar files are not created > > under the maven beta 10 directory. its created in $userhome/.maven > > directory. Means, it is looking for the repositories from $userhome/.maven > > directory instead of $mavenbeta10dir/repository > > > > How to get rid of this. > > > > > > RK. > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
Re: Maven beta 10 repository directory
On Wednesday 06 Aug 2003 13:33, S. Radhakrishnan wrote: > Hi, > > thanks for your solution.. that works fine.. now i am facing with a > different problem. > I am having custom checkstyle properties which will look like, > > checkstyle.lcurly.type = nl > checkstyle.lcurly.method = nl > checkstyle.lcurly.other = nl > checkstyle.rcurly = alone > checkstyle.allow.tabs = false > checkstyle.allow.protected = false > checkstyle.allow.package = false > checkstyle.allow.no.author = false > checkstyle.max.line.len = 80 > > Now, building the checkstyle report using Maven 10, it gives me the > following exception. Checkstyle has changed in Maven beta10 ... it now uses a new XML based config file. See http://checkstyle.sourceforge.net/ for details. I've attached a sample file (if it gets through to the mailing list). -- Andy http://www.puppycrawl.com/dtds/configuration_1_1.dtd";> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven beta 10 repository directory
Thanks a lot dIon.. its working fine now. RK. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 7:45 AM To: Maven Users List Subject: Re: Maven beta 10 repository directory Please see the maven documentation, particularly http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties for a full list of properties that affect it's behaviour. Please note, you've mistyped maven.home.local below, you have it as maven.local.home. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 09:50:04 PM: > > Hi, > > that works fine for repository. But for checkstyle plugins > .. its looking at the directory .maven in the $userhome directory. > what are all the additional properties do i need to set for Maven > beta 10 upgradation.??.. I have checked the ur reference site too > and set the same values as, > > maven.repo.local = ${maven.home}/repository > maven.local.home = /opt/maven > > is that enough??.. > > > > RK. > > > -Original Message- > From: Fabrice Depoux [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 2:14 PM > To: S. Radhakrishnan > Subject: Re: Maven beta 10 repository directory > > > As it is explained in the wiki > (http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to set > the properties mavan.local.home > > Fabrice. > > > On Wed, 6 Aug 2003 14:03:54 +0530 > "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have now installed Maven beta 10 version and trying to generate > > maven site. But some how the repository jar files are not created > > under the maven beta 10 directory. its created in $userhome/.maven > > directory. Means, it is looking for the repositories from $userhome/.maven > > directory instead of $mavenbeta10dir/repository > > > > How to get rid of this. > > > > > > RK. > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven beta 10 repository directory
"S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 06:33:54 PM: > Hi, > > I have now installed Maven beta 10 version and trying to generate > maven site. But some how the repository jar files are not created > under the maven beta 10 directory. its created in $userhome/.maven > directory. Means, it is looking for the repositories from $userhome/.maven > directory instead of $mavenbeta10dir/repository > > How to get rid of this. Please read the documentation, specifically: http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties And the entry on maven.repo.local. Please set that property in your ${user.home}/build.properties file to whereever you want your repo to be. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
Re: Maven beta 10 repository directory
Hi, that works fine for repository. But for checkstyle plugins .. its looking at the directory .maven in the $userhome directory. what are all the additional properties do i need to set for Maven beta 10 upgradation.??.. I have checked the ur reference site too and set the same values as, maven.repo.local = ${maven.home}/repository maven.local.home = /opt/maven is that enough??.. RK. -Original Message- From: Fabrice Depoux [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:14 PM To: S. Radhakrishnan Subject: Re: Maven beta 10 repository directory As it is explained in the wiki (http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to set the properties mavan.local.home Fabrice. On Wed, 6 Aug 2003 14:03:54 +0530 "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote: > Hi, > > I have now installed Maven beta 10 version and trying to generate > maven site. But some how the repository jar files are not created > under the maven beta 10 directory. its created in $userhome/.maven > directory. Means, it is looking for the repositories from $userhome/.maven > directory instead of $mavenbeta10dir/repository > > How to get rid of this. > > > RK. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven beta 10 repository directory
S. Radhakrishnan wrote: > Now, building the checkstyle report using Maven 10, it gives me the > following exception. > > com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse > /home/intranet/cvs/metapa/adr/my-checkstyle.properties - Premature end of > file.:-1:-1 > > however,it was working fine with Maven 9. Is there any other special > consideration for Maven 10?? Beta 10 uses newer version of checkstyle, 1.2 if my memory suits me. You need to convert your rules file into new xml format. See checkstyle documentation for details. R. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]