Has anyone tried to add PrimeFaces to a RichFaces web application where the RichFaces optimizer maven plugin is being used?
As soon as PrimeFaces is included in the POM, the build fails. (Error below) It appears that the RichFaces optimizer scanner is picking up the on PrimeFaces classes and I haven't figured out how to exclude those classes. I would like to have both RichFaces and PrimeFaces running in the same project and each using their respective optimizer. Thoughts, anyone?
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Exception caught when scanning class org.primefaces.component.inputtextarea.InputTextarea
[exec] collection: [primefaces:components.css, primefaces:jquery/jquery.js, primefaces:jquery/jquery-plugins.js, primefaces:components.js, primefaces:core.js]
[exec] PartialOrder[primefaces:components.css, primefaces:jquery/jquery.js, primefaces:core.js, primefaces:components.js]
.....
Caused by: org.richfaces.resource.optimizer.ordering.IllegalPartialOrderingException:
[exec] collection: [primefaces:components.css, primefaces:jquery/jquery.js, primefaces:jquery/jquery-plugins.js, primefaces:components.js, primefaces:core.js]
[exec] PartialOrder[primefaces:components.css, primefaces:jquery/jquery.js, primefaces:core.js, primefaces:components.js]
[exec] at org.richfaces.resource.optimizer.ordering.PartialOrderToCompleteOrder.checkCurrentPartialOrders(PartialOrderToCompleteOrder.java:224)
[exec] at org.richfaces.resource.optimizer.ordering.PartialOrderToCompleteOrder.addPartialOrdering(PartialOrderToCompleteOrder.java:78)
[exec] at org.richfaces.resource.optimizer.resource.scan.impl.ResourceOrderingScanner.addResourceDependencies(ResourceOrderingScanner.java:130)
[exec] at org.richfaces.resource.optimizer.resource.scan.impl.ResourceOrderingScanner.scan(ResourceOrderingScanner.java:116)
RichFaces optimizer and PrimeFaces.
I think this is the wrong forum for this topic. This forum is for PrimeFaces Extensions only and your question seems to be for PF general.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests