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&#39; 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>&gt;</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&#39;t get mevenide&#39;s checkstyle errors to work.<br>
=C2=A0I&#39;m using yesterdays golden trunk build of netbeans (which uses t=
he<br>
&quot;Maven&quot; plugin 4.8) with a number of maven projects.<br>
<br>
My main project has in it&#39;s pom<br>
 =C2=A0 =C2=A0&lt;parent&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;groupId&gt;no.finntech&lt;/groupId&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;artifactId&gt;omnipom&lt;/artifactId&gt;<br=
>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;version&gt;2.1&lt;/version&gt;<br>
 =C2=A0 =C2=A0&lt;/parent&gt;<br>
<br>
and this &quot;omnipom&quot; (which is not an opened project in the IDE) ha=
s<br>
 =C2=A0 &lt;properties&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;netbeans.checkstyle.format&gt;true&lt;/netb=
eans.checkstyle.format&gt;<br>
 =C2=A0 &lt;/properties&gt;<br>
 =C2=A0 ...<br>
 =C2=A0&lt;reporting&gt;...<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;plugin&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;groupId&gt;org.=
apache.maven.plugins&lt;/groupId&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;artifactId&gt;m=
aven-checkstyle-plugin&lt;/artifactId&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;version&gt;2.5&=
lt;/version&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;configuration&g=
t;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;c=
onfiglocation&gt;<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>&lt;/configlocation&g=
t;<br>

 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;/configuration&=
gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;/plugin&gt;<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0...<br>
 =C2=A0 =C2=A0&lt;/reporting&gt;<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 &quot;Checkstyle<br>
formatting&quot;. 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>
&quot;gmane.comp.jakarta.turbine.maven.mevenide.user&quot;. And it&#39;s re=
ad-only :-(<br>
Any chance of recreating it somewhere appropriate read/write?<br>
<br>
--<br>
<font color=3D"#888888">--<br>
&quot;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.&quot; 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--