[richfaces-issues] [JBoss JIRA] (RF-13218) Check existence of src/main/widgets with enforcer plugin

Michal Petrov (JIRA) jira-events at lists.jboss.org
Tue Oct 1 04:36:02 EDT 2013


    [ https://issues.jboss.org/browse/RF-13218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12808479#comment-12808479 ] 

Michal Petrov commented on RF-13218:
------------------------------------

A message can be added to the rules:
{code}
<requireFilesExist>
    <files>
        <file>src/main/widgets/Gruntfile.js</file>
    </files>
    <message>The RichWidgets submodule is missing. Use "git clone --recursive" to clone the project.</message>
</requireFilesExist>
{code}
I'll make new pull request.
                
> Check existence of src/main/widgets with enforcer plugin
> --------------------------------------------------------
>
>                 Key: RF-13218
>                 URL: https://issues.jboss.org/browse/RF-13218
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: build/distribution
>    Affects Versions: 5.0.0.Alpha1
>            Reporter: Lukáš Fryč
>            Assignee: Michal Petrov
>             Fix For: 5.0.0.Alpha2
>
>
> RichFaces 5 may fail when {{src/main/widgets}} aren't checked out properly.
> I suggest to use enforcer plugin to check that  e.g. {{src/main/widgets/Gruntfile.js}} file exists:
> http://maven.apache.org/enforcer/enforcer-rules/requireFilesExist.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list