maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MCHECKSTYLE-66) How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?
Date Sat, 03 Mar 2007 22:14:00 GMT

    [ http://jira.codehaus.org/browse/MCHECKSTYLE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89100
] 

Dennis Lundberg commented on MCHECKSTYLE-66:
--------------------------------------------

Are you sure that you can use a URL for the file property? The Checkstyle docs doesn't mention
this:
http://checkstyle.sourceforge.net/config_imports.html#ImportControl

Please verify that this works without using Maven.

> How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle
configuration ?
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-66
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-66
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Maven 2.0.4
> Windows 200 Pro (command line), Linux Mandrake Server 3.0 (Continuum 1.0.3)
>            Reporter: Cyril MOREAU
>            Priority: Blocker
>
> How to configure maven-checkstyle-plugin with external ImportControl file
> in your checkstyle configuration ?
> My checstyles configuration is available in "http://www.xxx.com/repository/rdc". This
> address contains this files :
> my_checstyleconfiguration.xml
> import-control.xml
> In the "my_checstyleconfiguration.xml", the importcontrol is define :
>        <module name="ImportControl">
>            <metadata name="com.atlassw.tools.eclipse.checkstyle.comment"
> value="Utilisation d'un package non autoris??"/>
>            <property name="severity" value="error"/>
>            <property name="file"
> value="http://www.xxx.com/repository/rdc/import-control.xml"/>
>        </module>
> But when I run maven, build failure because maven doesn't localize
> import-control.xml : "http://www.xxx.com/repository/rdc/import-control.xml
> (syntaxe de nom de fichier, de répertoire ou de volume incorrect)

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

       

Mime
View raw message