You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/06/07 21:24:10 UTC

[jira] Closed: (MPCHECKSTYLE-14) license file not found if checkstyle is added in pom dependencies

     [ http://jira.codehaus.org/browse/MPCHECKSTYLE-14?page=all ]
     
Carlos Sanchez closed MPCHECKSTYLE-14:
--------------------------------------

    Fix Version: 3.0
     Resolution: Fixed
      Assign To: Carlos Sanchez

You shouldn't need the root classloader now

> license file not found if checkstyle is added in pom dependencies
> -----------------------------------------------------------------
>
>          Key: MPCHECKSTYLE-14
>          URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-14
>      Project: maven-checkstyle-plugin
>         Type: Bug
>     Versions: 2.2
>  Environment: maven rc1, checkstyle plugin 2.2, jdk 1.4, windows
>     Reporter: fabrizio giustina
>     Assignee: Carlos Sanchez
>      Fix For: 3.0

>
>
> if you add a dependency to checkstyle in pom using classloader root:
> <dependency>
>   <id>checkstyle</id>
>   <version>3.2</version>
>   <properties>
> 	<classloader>root</classloader>
>   </properties>
> </dependency>
> the checkstyle plugin will not work, complaining it can't find a license file:
>       =================================================================
>       =                             W A R N I N G                     =
>       =================================================================
>       =  Your project doesn't contain a header file specified as:     =
>       =  C:\apps\plugins\project\LICENSE.txt
>       =  Checkstyle needs it to check the existence of the License in =
>       =  your source files. If it can't find this file, it throws an  =
>       =  error.                                                       =
>       =  A temporary solution is to create an empty LICENSE.txt file. =
>       =  Though, we recommend that you edit this License.             =
>       =================================================================
> note the license file is there and the checkstyle plugin works after removing the dependency from POM.
> (I tried to add the root dependency as a workaround for MPCHECKSTYLE-1)

-- 
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


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