Re: [mevenide-user] Configured but no checkstyle errors in editor
Milos Kleint <[email protected]> Mon, 27 Sep 2010 08:24:51 +0200
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
--0016363b93c22e3471049137c923 Content-Type: text/plain; charset=UTF-8 this mailing list (along with the mevenide project) is long abandoned. Please use [email protected] next time. checstyle hints are not to appear I think, unless you have the SQE maven-checkstyle netbeans module installed (*if* I have actually written it, I did for pmd for sure, not entirely sure about checkstyle) The netbeans' own checkstyle support only includes the formatting rules. it used to work for me for the htttp:// svn.codehaus.org/mojo/trunk/mojo/nbm-maven-plugin nbm plugin sources.. one possible source of problems is bad capitalization: configlocation vs configLocation Milos On Mon, Sep 27, 2010 at 8:27 AM, Mck <[email protected]> wrote: > Milos, or whoever can help, > > I can't get mevenide's checkstyle errors to work. > I'm using yesterdays golden trunk build of netbeans (which uses the > "Maven" plugin 4.8) with a number of maven projects. > > My main project has in it's pom > <parent> > <groupId>no.finntech</groupId> > <artifactId>omnipom</artifactId> > <version>2.1</version> > </parent> > > and this "omnipom" (which is not an opened project in the IDE) has > <properties> > <netbeans.checkstyle.format>true</netbeans.checkstyle.format> > </properties> > ... > <reporting>... > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-checkstyle-plugin</artifactId> > <version>2.5</version> > <configuration> > <configlocation> > http://sonar.finntech.no/rules_configuration/export/java/Finn/checkstyle.xml > </configlocation> > </configuration> > </plugin> > ... > </reporting> > > The java sources are in submodules of the main project. But no > checkstyle hints ever appear in the editor for any of them. > Neither does the checkbox under project projects "Checkstyle > formatting". Ticking it on does not make any difference. > > What am i doing wrong? > Or what can i do to find out? > > ~mck > > ps the gmane group for this list is a little wierd at > "gmane.comp.jakarta.turbine.maven.mevenide.user". And it's read-only :-( > Any chance of recreating it somewhere appropriate read/write? > > -- > -- > "There is a theory which states that if ever anyone discovers exactly > what the Universe is for and why it is here, it will instantly disappear > and be replaced by something even more bizarrely inexplicable. There is > another theory which states that this has already happened." Douglas > Adams > | http://semb.wever.org | http://sesat.no | http://finn.no | > --0016363b93c22e3471049137c923 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable this mailing list (along with the mevenide project) is long abandoned. Plea= se use <a href=3D"mailto:[email protected]">[email protected]</a> nex= t time.<div><br></div><div>checstyle hints are not to appear I think, unles= s you have the SQE maven-checkstyle netbeans module installed (*if* I have = actually written it, I did for pmd for sure, not entirely sure about checks= tyle)</div> <div>The netbeans' own checkstyle support only includes the formatting = rules. it used to work for me for the htttp://<a href=3D"http://svn.codehau= s.org/mojo/trunk/mojo/nbm-maven-plugin">svn.codehaus.org/mojo/trunk/mojo/nb= m-maven-plugin</a> nbm plugin sources..</div> <div>one possible source of problems is bad capitalization:=C2=A0configloca= tion vs=C2=A0configLocation</div><div><br></div><div>Milos<br><br><div clas= s=3D"gmail_quote">On Mon, Sep 27, 2010 at 8:27 AM, Mck <span dir=3D"ltr">&l= t;<a href=3D"mailto:[email protected]">[email protected]</a>></span>= wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Milos, or whoever can help,<br> <br> =C2=A0I can't get mevenide's checkstyle errors to work.<br> =C2=A0I'm using yesterdays golden trunk build of netbeans (which uses t= he<br> "Maven" plugin 4.8) with a number of maven projects.<br> <br> My main project has in it's pom<br> =C2=A0 =C2=A0<parent><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0<groupId>no.finntech</groupId><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0<artifactId>omnipom</artifactId><br= > =C2=A0 =C2=A0 =C2=A0 =C2=A0<version>2.1</version><br> =C2=A0 =C2=A0</parent><br> <br> and this "omnipom" (which is not an opened project in the IDE) ha= s<br> =C2=A0 <properties><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0<netbeans.checkstyle.format>true</netb= eans.checkstyle.format><br> =C2=A0 </properties><br> =C2=A0 ...<br> =C2=A0<reporting>...<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<plugin><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<groupId>org.= apache.maven.plugins</groupId><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<artifactId>m= aven-checkstyle-plugin</artifactId><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<version>2.5&= lt;/version><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<configuration&g= t;<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<c= onfiglocation><a href=3D"http://sonar.finntech.no/rules_configuration/ex= port/java/Finn/checkstyle.xml" target=3D"_blank">http://sonar.finntech.no/r= ules_configuration/export/java/Finn/checkstyle.xml</a></configlocation&g= t;<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</configuration&= gt;<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</plugin><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0...<br> =C2=A0 =C2=A0</reporting><br> <br> The java sources are in submodules of the main project. But no<br> checkstyle hints ever appear in the editor for any of them.<br> Neither does the checkbox under project projects "Checkstyle<br> formatting". Ticking it on does not make any difference.<br> <br> What am i doing wrong?<br> Or what can i do to find out?<br> <br> ~mck<br> <br> ps the gmane group for this list is a little wierd at<br> "gmane.comp.jakarta.turbine.maven.mevenide.user". And it's re= ad-only :-(<br> Any chance of recreating it somewhere appropriate read/write?<br> <br> --<br> <font color=3D"#888888">--<br> "There is a theory which states that if ever anyone discovers exactly<= br> what the Universe is for and why it is here, it will instantly disappear<br= > and be replaced by something even more bizarrely inexplicable. There is<br> another theory which states that this has already happened." Douglas<b= r> Adams<br> | <a href=3D"http://semb.wever.org" target=3D"_blank">http://semb.wever.org= </a> | <a href=3D"http://sesat.no" target=3D"_blank">http://sesat.no</a> | = <a href=3D"http://finn.no" target=3D"_blank">http://finn.no</a> |<br> </font></blockquote></div><br></div> --0016363b93c22e3471049137c923--