You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2006/03/24 18:45:11 UTC

[jira] Commented: (MCLOVER-21) License discovery is broken

    [ http://jira.codehaus.org/browse/MCLOVER-21?page=comments#action_61893 ] 

Vincent Massol commented on MCLOVER-21:
---------------------------------------

Hi Matthew, 

The cenqua documentation refers to Clover. Here you're talking about the Clover plugin for maven2 which is a different beast. It has its own license discovery mechanism.

The current way to pass a license is to use the LicenseFile element as you mentioned. I'm curious to understand why you think this it not good. BTW the clover jar is located in the local maven repository and AFAIK there's no license artifact type. I agree that we could possibly have that implemented and put it in the repository. Feel free to provide a patch for this.

However I'd like to close this issue as license discovery is not "broken"! :-)

> License discovery is broken
> ---------------------------
>
>          Key: MCLOVER-21
>          URL: http://jira.codehaus.org/browse/MCLOVER-21
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Matthew Beermann
>     Priority: Critical
>      Fix For: 2.1

>
>
> Even when a valid, unexpired "clover.license" is located alongside the clover jar, it does not appear to be located and used as Cenqua's documentation says it should. In the example below, the directory contains a "clover.license" that is known to work properly with the Clover plugin in Maven 1.
> Yes, there is a <licenseFile/> configuration parameter that can work around this, but that doesn't address the underlying problem (and furthermore the fix isn't particularly portable).
> [INFO] [clover:instrument]
> Clover Version 1.3.11, built on November 02 2005
> loaded from: C:\maven\local_repository\clover\clover\1.3.11\clover-1.3.11.jar
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] This license has now expired.
> [INFO] ----------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira