Hide Forgot
Compilation of RF UI Components specifically Input UI has got 2 errors in log - related to bad faces-config.xml on line number 29 and 240. The following is snippet of log: [INFO] ------------------------------------------------------------------------ [INFO] Building RichFaces UI Components: Input UI 4.2.0.Final [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-java-version) @ richfaces-ui-input-ui --- [INFO] The requirePluginVersions rule is currently not compatible with Maven3. [INFO] [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-maven-version) @ richfaces-ui-input-ui --- [INFO] The requirePluginVersions rule is currently not compatible with Maven3. [INFO] [INFO] --- maven-cdk-plugin:4.2.0.Final-redhat-1:generate (cdk-generate-sources) @ richfaces-ui-input-ui --- [Error] faces-config.xml:29: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:240: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.
Brian Leathem <bleathem> updated the status of jira RF-12021 to Resolved
Brian Leathem <bleathem> made a comment on jira RF-12021 The CDK generates a faces-config.xml using the src faces-config.xml file as a base. The CDK evaluates the xi:include statements, generating a valid faces-config.xml. It's not worth spending the time to dig into the xml parsers validation to suppress this error, given that this file producing the errors is an intermediate file, and not present in the delivered artifact.
I would document this errors as technical note. This is known issue not affecting result as Brian noted, but for future questions it is important to log it. WDYT?
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Compilation of RichFaces UI Components logs errors. These errors logged by CDK does not affect functionality of the resulting build.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Compilation of RichFaces UI Components logs errors. These errors logged by CDK does not affect functionality of the resulting build.+Compiling RichFaces UI components logs two bad faces-config.xml errors that do not affect functionality of the build.
Immanuel Gregoire <pcmaan> made a comment on jira RF-12021 So how do I work around this Won't fix bug ? How to build Richfaces ? thanks
Pavol Pitonak <ppitonak> made a comment on jira RF-12021 Immanuel, this issue doesn't break build and doesn't influence functionality of RichFaces.
Immanuel Gregoire <pcmaan> made a comment on jira RF-12021 Well, the build does abort on Netbeans 7.1.2 and Netbeans 7.2 when using JDK 1.7 (1.7.0_03) The build does indeed continue on JDK 1.6 (1.6.0_37) Can you reproduce it ?
Upstream issue was closed as WON'T FIX, so we have no other option to handle this differently.