You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Cyril MOREAU (JIRA)" <ji...@codehaus.org> on 2007/01/22 17:23:16 UTC

[jira] Created: (MCHECKSTYLE-66) How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?

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
             Fix For: 2.1


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

       

[jira] Updated: (MCHECKSTYLE-66) How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHECKSTYLE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHECKSTYLE-66:
---------------------------------------

    Fix Version/s:     (was: 2.1)

> 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

       

[jira] Commented: (MCHECKSTYLE-66) How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ 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

       

[jira] Updated: (MCHECKSTYLE-66) How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHECKSTYLE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHECKSTYLE-66:
---------------------------------------

    Priority: Major  (was: Blocker)

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

       

[jira] Closed: (MCHECKSTYLE-66) How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHECKSTYLE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHECKSTYLE-66.
--------------------------------------

    Resolution: Incomplete

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