You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/01/08 15:15:00 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHECKSTYLE-14


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHECKSTYLE-14
    Summary: license file not found if checkstyle is added in pom dependencies
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-checkstyle-plugin
   Versions:
             2.2

   Assignee: 
   Reporter: fabrizio giustina

    Created: Thu, 8 Jan 2004 8:14 AM
    Updated: Thu, 8 Jan 2004 8:14 AM
Environment: maven rc1, checkstyle plugin 2.2, jdk 1.4, windows

Description:
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)


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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