[ANN] Maven2 javancss plugin 2.0

View: New views
6 Messages — Rating Filter:   Alert me  

[ANN] Maven2 javancss plugin 2.0

by jean-laurent de morlhon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The Mojo team is pleased to announce the javancss-maven-plugin 2.0 release !

http://mojo.codehaus.org/javancss-maven-plugin/

This plugin allows user to:

- Compute complexity (CCN) and quantity (NCSS) metrics on your code
- Create a report displaying those number.

Here's the release note :

Release Notes - Maven 2.x JavaNCSS Plugin - Version 2.0

** Bug
    * [MJNCSS-11] - JavaNCSS report crashes if code contains some variable called "enum"
    * [MJNCSS-15] - UTF-8 Support
    * [MJNCSS-16] - java annotations (within a method) cannot be parsed correctly
    * [MJNCSS-33] - Error parsing generics
    * [MJNCSS-34] - NCSS crashes for class field declarations starting with @Annotation

** Improvement
    * [MJNCSS-13] - Typo in javancss:report parameters documentation (includes)
    * [MJNCSS-14] - Typo in includes/excludes example page
    * [MJNCSS-27] - Do not let the check goal fail the build for projects with no source
    * [MJNCSS-28] - Integrate JavaNCSS Version 29.50
    * [MJNCSS-36] - add an IT to automatically check if plugin is working properly in a full site generation
    * [MJNCSS-38] - Integrate JavaNCSS version 32.53

** New Feature
    * [MJNCSS-31] - add an "encoding" parameter for source files and use ${project.build.sourceEncoding} as default value

** Wish
    * [MJNCSS-32] - show the default javancss version used by the plugin in its documentation introduction
    * [MJNCSS-37] - add JavaNCSS version used in plugin's reports


Enjoy!

-The Mojo team

Re: [ANN] Maven2 javancss plugin 2.0

by Takanori Suzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I want to get the javancss-maven-plugin 2.0 from the meven central repository.

But, it is not uploaded,
and I can't found the maven upload request.

Could you upload it?

2009/6/11 Jean-Laurent de Morlhon <jeanlaurent@...>:

>
> The Mojo team is pleased to announce the javancss-maven-plugin 2.0 release !
>
> http://mojo.codehaus.org/javancss-maven-plugin/
>
> This plugin allows user to:
>
> - Compute complexity (CCN) and quantity (NCSS) metrics on your code
> - Create a report displaying those number.
>
> Here's the release note :
>
> Release Notes - Maven 2.x JavaNCSS Plugin - Version 2.0
>
> ** Bug
>     * [MJNCSS-11] - JavaNCSS report crashes if code contains some variable
> called "enum"
>     * [MJNCSS-15] - UTF-8 Support
>     * [MJNCSS-16] - java annotations (within a method) cannot be parsed
> correctly
>     * [MJNCSS-33] - Error parsing generics
>     * [MJNCSS-34] - NCSS crashes for class field declarations starting with
> @Annotation
>
> ** Improvement
>     * [MJNCSS-13] - Typo in javancss:report parameters documentation
> (includes)
>     * [MJNCSS-14] - Typo in includes/excludes example page
>     * [MJNCSS-27] - Do not let the check goal fail the build for projects
> with no source
>     * [MJNCSS-28] - Integrate JavaNCSS Version 29.50
>     * [MJNCSS-36] - add an IT to automatically check if plugin is working
> properly in a full site generation
>     * [MJNCSS-38] - Integrate JavaNCSS version 32.53
>
> ** New Feature
>     * [MJNCSS-31] - add an "encoding" parameter for source files and use
> ${project.build.sourceEncoding} as default value
>
> ** Wish
>     * [MJNCSS-32] - show the default javancss version used by the plugin in
> its documentation introduction
>     * [MJNCSS-37] - add JavaNCSS version used in plugin's reports
>
>
> Enjoy!
>
> -The Mojo team
>

--
====
Takanori Suzuki

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: [ANN] Maven2 javancss plugin 2.0

by Stevo Slavic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Takanori,

you have to add codehaus repository to plugin repositories:

    <pluginRepositories>
        <pluginRepository>
            <id>codehaus.releases</id>
            <name>Codehaus Plugin Releases</name>
            <url>http://repository.codehaus.org</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>


Regards,
Stevo.

On Sun, Jun 21, 2009 at 3:58 PM, Takanori Suzuki <takanorig@...> wrote:
Hi,
I want to get the javancss-maven-plugin 2.0 from the meven central repository.

But, it is not uploaded,
and I can't found the maven upload request.

Could you upload it?

2009/6/11 Jean-Laurent de Morlhon <jeanlaurent@...>:
>
> The Mojo team is pleased to announce the javancss-maven-plugin 2.0 release !
>
> http://mojo.codehaus.org/javancss-maven-plugin/
>
> This plugin allows user to:
>
> - Compute complexity (CCN) and quantity (NCSS) metrics on your code
> - Create a report displaying those number.
>
> Here's the release note :
>
> Release Notes - Maven 2.x JavaNCSS Plugin - Version 2.0
>
> ** Bug
>     * [MJNCSS-11] - JavaNCSS report crashes if code contains some variable
> called "enum"
>     * [MJNCSS-15] - UTF-8 Support
>     * [MJNCSS-16] - java annotations (within a method) cannot be parsed
> correctly
>     * [MJNCSS-33] - Error parsing generics
>     * [MJNCSS-34] - NCSS crashes for class field declarations starting with
> @Annotation
>
> ** Improvement
>     * [MJNCSS-13] - Typo in javancss:report parameters documentation
> (includes)
>     * [MJNCSS-14] - Typo in includes/excludes example page
>     * [MJNCSS-27] - Do not let the check goal fail the build for projects
> with no source
>     * [MJNCSS-28] - Integrate JavaNCSS Version 29.50
>     * [MJNCSS-36] - add an IT to automatically check if plugin is working
> properly in a full site generation
>     * [MJNCSS-38] - Integrate JavaNCSS version 32.53
>
> ** New Feature
>     * [MJNCSS-31] - add an "encoding" parameter for source files and use
> ${project.build.sourceEncoding} as default value
>
> ** Wish
>     * [MJNCSS-32] - show the default javancss version used by the plugin in
> its documentation introduction
>     * [MJNCSS-37] - add JavaNCSS version used in plugin's reports
>
>
> Enjoy!
>
> -The Mojo team
>

--
====
Takanori Suzuki

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: [ANN] Maven2 javancss plugin 2.0

by Benjamin Bentmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stevo Slavić wrote:

> you have to add codehaus repository to plugin repositories:

Though that shouldn't be necessary as org.codehaus.mojo is synced over
to central:

http://repo1.maven.org/maven2/org/codehaus/mojo/javancss-maven-plugin/2.0/


Benjamin

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: [ANN] Maven2 javancss plugin 2.0

by Stevo Slavic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benjamin, thanks for correction.

My understanding is that it may take time for sync to actually occur, and if one doesn't want to wait for that, one should add codehaus repo as (plugin) repo to access not-yet-synced-to-central artifacts. But it's not the case here, seems sync happened day before announcement, 5h after release on codehaus repo (if clocks are in sync).

Also, only releases are synced to central, so if one want's to access snapshots too, one should add the codehaus repo definition. Since 2.0 is not a snapshot, this wasn't the case here.

So it leads me to that either Takanori didn't specify plugin dependency well, or has problems accessing central, ...

Regards,
Stevo.

On Sun, Jun 21, 2009 at 4:44 PM, Benjamin Bentmann <benjamin.bentmann@...> wrote:
Stevo Slavić wrote:

you have to add codehaus repository to plugin repositories:

Though that shouldn't be necessary as org.codehaus.mojo is synced over to central:

http://repo1.maven.org/maven2/org/codehaus/mojo/javancss-maven-plugin/2.0/


Benjamin


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email




Re: [ANN] Maven2 javancss plugin 2.0

by Takanori Suzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stevo Slavić and Benjamin, thank you for your help.
I can download it.

I searched in Maven Repository.

This plugin is not up to the site.
http://mvnrepository.com/artifact/org.codehaus.mojo/javancss-maven-plugin


2009/6/21 Benjamin Bentmann <benjamin.bentmann@...>
Stevo Slavić wrote:

you have to add codehaus repository to plugin repositories:

Though that shouldn't be necessary as org.codehaus.mojo is synced over to central:

http://repo1.maven.org/maven2/org/codehaus/mojo/javancss-maven-plugin/2.0/


--
====
Takanori Suzuki