Maven 1.x Checkstyle Plugin

Build fails if target directory doesn't exist

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.4
  • Fix Version/s: 2.4.2
  • Component/s: None
  • Labels:
    None
  • Environment:
    WinXP, MAVEN 1.0 BRANCH
  • Number of attachments :
    0

Description

With a new project without target directory there's an error :

checkstyle:report:
[echo]
=================================================================
= W A R N I N G =
=================================================================
= Your project doesn't contain a header file specified as: =
= C:\Work\Dev\xtalk/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. =
=================================================================

BUILD FAILED
File...... C:\Work\Config\maven\plugins\maven-checkstyle-plugin-2.4-SNAPSHOT\plugin.jelly
Element... j:file
Line...... 121
Column.... 58
C:\Work\Dev\xtalk\target\LICENSE_DUMMY.txt (Le chemin d'accÞs spÚcifiÚ est introuvable)
Total time: 6 seconds
Finished at: Fri May 14 17:21:37 CEST 2004

Activity

Hide
Arnaud Heritier added a comment -

fixed in CVS

Show
Arnaud Heritier added a comment - fixed in CVS

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: