You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Burridge <bb...@gmail.com> on 2006/02/10 18:04:21 UTC

Plugin for class line count?

Over a year ago, when I used Maven on the project I was on at that time, I
found a Maven plugin that gave a line count (also gave class and package
count). It was a very simple one, and I liked it because the IBM project I
was on required line counts to be reported regularly (don't ask me why).

Now that I am setting up Maven for my current project, I'd like to through
that plugin/report in, but I can't find it anywhere. Anyone remember it?

Brian

Re: Plugin for class line count?

Posted by jean-laurent de morlhon <je...@gmail.com>.
I did the maven2 plugin port and I can confirm that javancss does not
support java 1.5 syntax, the program itself (not the plugin) has not
been updated since september 2002 :(

I was looking for a way to get the source configuration parameter of
the maven-compiler-plugin to skip the javancss analysis in the case
the code is 1.5+.
But I've read somewhere that looking at other plugin parameter is
discouraged....

Should be in jira anyhow...


On 2/10/06, Brett Porter <br...@gmail.com> wrote:
> Sorry, I don't know. I wouldn't be surprised if JavaNCSS doesn't
> support it - I don't think it has been updated for some time.
>
> - Brett
>
> On 2/11/06, Brian Burridge <br...@burridge.net> wrote:
> > Thanks. Checked it out, built it and installed it. However, it is
> > complaining about Java 1.5 syntax in my code. Is there a way to tell it that
> > its 1.5, or does it not support that yet?
> >
> > Brian
> >
> > On 2/10/06, Brett Porter <br...@gmail.com> wrote:
> > >
> > > mojo.codehaus.org, in the sandbox.
> > >
> > > On 2/11/06, Brian Burridge <br...@burridge.net> wrote:
> > > > bingo! That was it. Doesn't look like its been ported to Maven 2 though.
> > > >
> > > > Brian
> > > >
> > > > On 2/10/06, Emmanuel Venisse <em...@venisse.net> wrote:
> > > > >
> > > > > it was javancss plugin, i think
> > > > >
> > > > > Brian Burridge a écrit :
> > > > > > Over a year ago, when I used Maven on the project I was on at that
> > > time,
> > > > > I
> > > > > > found a Maven plugin that gave a line count (also gave class and
> > > package
> > > > > > count). It was a very simple one, and I liked it because the IBM
> > > project
> > > > > I
> > > > > > was on required line counts to be reported regularly (don't ask me
> > > why).
> > > > > >
> > > > > > Now that I am setting up Maven for my current project, I'd like to
> > > > > through
> > > > > > that plugin/report in, but I can't find it anywhere. Anyone remember
> > > it?
> > > > > >
> > > > > > Brian
> > > > > >
> > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > 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
>
>


--
Jean-Laurent

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


Re: Plugin for class line count?

Posted by Brett Porter <br...@gmail.com>.
Sorry, I don't know. I wouldn't be surprised if JavaNCSS doesn't
support it - I don't think it has been updated for some time.

- Brett

On 2/11/06, Brian Burridge <br...@burridge.net> wrote:
> Thanks. Checked it out, built it and installed it. However, it is
> complaining about Java 1.5 syntax in my code. Is there a way to tell it that
> its 1.5, or does it not support that yet?
>
> Brian
>
> On 2/10/06, Brett Porter <br...@gmail.com> wrote:
> >
> > mojo.codehaus.org, in the sandbox.
> >
> > On 2/11/06, Brian Burridge <br...@burridge.net> wrote:
> > > bingo! That was it. Doesn't look like its been ported to Maven 2 though.
> > >
> > > Brian
> > >
> > > On 2/10/06, Emmanuel Venisse <em...@venisse.net> wrote:
> > > >
> > > > it was javancss plugin, i think
> > > >
> > > > Brian Burridge a écrit :
> > > > > Over a year ago, when I used Maven on the project I was on at that
> > time,
> > > > I
> > > > > found a Maven plugin that gave a line count (also gave class and
> > package
> > > > > count). It was a very simple one, and I liked it because the IBM
> > project
> > > > I
> > > > > was on required line counts to be reported regularly (don't ask me
> > why).
> > > > >
> > > > > Now that I am setting up Maven for my current project, I'd like to
> > > > through
> > > > > that plugin/report in, but I can't find it anywhere. Anyone remember
> > it?
> > > > >
> > > > > Brian
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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: Plugin for class line count?

Posted by Brian Burridge <br...@burridge.net>.
Thanks. Checked it out, built it and installed it. However, it is
complaining about Java 1.5 syntax in my code. Is there a way to tell it that
its 1.5, or does it not support that yet?

Brian

On 2/10/06, Brett Porter <br...@gmail.com> wrote:
>
> mojo.codehaus.org, in the sandbox.
>
> On 2/11/06, Brian Burridge <br...@burridge.net> wrote:
> > bingo! That was it. Doesn't look like its been ported to Maven 2 though.
> >
> > Brian
> >
> > On 2/10/06, Emmanuel Venisse <em...@venisse.net> wrote:
> > >
> > > it was javancss plugin, i think
> > >
> > > Brian Burridge a écrit :
> > > > Over a year ago, when I used Maven on the project I was on at that
> time,
> > > I
> > > > found a Maven plugin that gave a line count (also gave class and
> package
> > > > count). It was a very simple one, and I liked it because the IBM
> project
> > > I
> > > > was on required line counts to be reported regularly (don't ask me
> why).
> > > >
> > > > Now that I am setting up Maven for my current project, I'd like to
> > > through
> > > > that plugin/report in, but I can't find it anywhere. Anyone remember
> it?
> > > >
> > > > Brian
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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: Plugin for class line count?

Posted by Brett Porter <br...@gmail.com>.
mojo.codehaus.org, in the sandbox.

On 2/11/06, Brian Burridge <br...@burridge.net> wrote:
> bingo! That was it. Doesn't look like its been ported to Maven 2 though.
>
> Brian
>
> On 2/10/06, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> > it was javancss plugin, i think
> >
> > Brian Burridge a écrit :
> > > Over a year ago, when I used Maven on the project I was on at that time,
> > I
> > > found a Maven plugin that gave a line count (also gave class and package
> > > count). It was a very simple one, and I liked it because the IBM project
> > I
> > > was on required line counts to be reported regularly (don't ask me why).
> > >
> > > Now that I am setting up Maven for my current project, I'd like to
> > through
> > > that plugin/report in, but I can't find it anywhere. Anyone remember it?
> > >
> > > Brian
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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: Plugin for class line count?

Posted by Brian Burridge <br...@burridge.net>.
bingo! That was it. Doesn't look like its been ported to Maven 2 though.

Brian

On 2/10/06, Emmanuel Venisse <em...@venisse.net> wrote:
>
> it was javancss plugin, i think
>
> Brian Burridge a écrit :
> > Over a year ago, when I used Maven on the project I was on at that time,
> I
> > found a Maven plugin that gave a line count (also gave class and package
> > count). It was a very simple one, and I liked it because the IBM project
> I
> > was on required line counts to be reported regularly (don't ask me why).
> >
> > Now that I am setting up Maven for my current project, I'd like to
> through
> > that plugin/report in, but I can't find it anywhere. Anyone remember it?
> >
> > Brian
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Plugin for class line count?

Posted by Emmanuel Venisse <em...@venisse.net>.
it was javancss plugin, i think

Brian Burridge a écrit :
> Over a year ago, when I used Maven on the project I was on at that time, I
> found a Maven plugin that gave a line count (also gave class and package
> count). It was a very simple one, and I liked it because the IBM project I
> was on required line counts to be reported regularly (don't ask me why).
> 
> Now that I am setting up Maven for my current project, I'd like to through
> that plugin/report in, but I can't find it anywhere. Anyone remember it?
> 
> Brian
> 


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