1 Reply Latest reply on Dec 10, 2012 5:48 AM by pcmaan

    Build error on clean checkout of master branch

    pcmaan

      Hi,

       

      Attempting to build Richfaces for the first time, I checked out the master branches, but the build gives me the following error

       

      ------------------------------------------------------------------------
      Building RichFaces UI Components: Input UI 4.2.2.Final
      ------------------------------------------------------------------------
      
      [enforcer:enforce]
      The requirePluginVersions rule is currently not compatible with Maven3.
      
      [enforcer:enforce]
      The requirePluginVersions rule is currently not compatible with Maven3.
      
      [cdk:generate]
      unmappable character for encoding windows-1252, in the file:D:\Docs\dev\NetbeansJava_ws\richfaces\components\input\ui\src\main\java\org\richfaces\component\AbstractPickList.java at line 57 in column 34
      unmappable character for encoding windows-1252, in the file:D:\Docs\dev\NetbeansJava_ws\richfaces\components\input\ui\src\main\java\org\richfaces\component\AbstractPickList.java at line 63 in column 34
      Supported source version 'RELEASE_6' from annotation processor 'org.richfaces.cdk.apt.CdkProcessorImpl' less than -source '1.7'
      [Error] faces-config.xml:30:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
      [Error] faces-config.xml:268:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
      

       

      I found this bug report about it:

       

      https://issues.jboss.org/browse/RF-12021

       

      but it's not clear on the solution, if any. It says Resolution: Won't fix

       

       

      Not knowing what the plugin is actually for, I tried simply commenting out the cdk plugin in the pom, the build then completes fine and it produces the required jars, but certain components appear to be missing from the library (like rich:autocomplete, rich:fileUpload and more). I'm guessing this is normal since the cdk plugin should generate useful stuff.

       

      Any help is very much appreaciated

       

      By the way, should the warning message about the unmappable character be taken seriously ? If so any hints on solving it ? I'm using Netbeans 7.2

       

      Immanuel