Galleon Feature Packs for integrating MyFaces into WildFly and WildFly Preview

96 views
Skip to first unread message

Roger Lee

unread,
Aug 8, 2023, 11:53:43 AM8/8/23
to WildFly
Using: WildFly Preview 29.0.0.Final. I am trying to migrate from: Mojarra 4.0.2 to myfaces-4.0.0..


I use Gradle 8.2.1. I can't find the "The Maven coordinates to use is: org.wildfly:wildfly-myfaces-feature-pack:<version>"

./galleon.sh provision provisioning.xml --dir=my-wildfly-server

Resolving feature-pack org.wildfly:wildfly-galleon-pack:{wildfly.version}Error: Provisioning failed.

 * Failed to resolve org.wildfly:wildfly-galleon-pack:zip:{wildfly.version}

  * Could not find artifact org.wildfly:wildfly-galleon-pack:zip:{wildfly.version} in maven-central (https://repo1.maven.org/maven2/)

   * Could not find artifact org.wildfly:wildfly-galleon-pack:zip:{wildfly.version} in maven-central (https://repo1.maven.org/maven2/)

Where do I find this? 



Roger Lee

unread,
Aug 8, 2023, 12:09:59 PM8/8/23
to WildFly
Found it:


compileOnly 'org.wildfly:wildfly-preview-feature-pack:29.0.0.Final'

Roger Lee

unread,
Aug 9, 2023, 4:30:40 AM8/9/23
to WildFly
I can't use 'Galleon' it with Gradle. 

Jason Lee

unread,
Aug 9, 2023, 10:15:35 AM8/9/23
to Roger Lee, WildFly
I'm glad you found your answer, and, yes, there are no Gradle plugins for Galleon, so you're left with migrating to Maven, using the CLI tool, or crafting something really clever in your Gradle scripts. :)

Jason Lee

Principal Software Engineer

Red Hat JBoss EAP



--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/9a30aa84-8fb7-423f-8287-5f4aad0f038en%40googlegroups.com.

Fred Welland

unread,
Aug 9, 2023, 10:32:11 AM8/9/23
to Jason Lee, Roger Lee, WildFly
I find this sorely lacking for BWF  (bootable Wildfly).     (FWIW:  seems BWF really just is mash up of galleon, and uberjarring a purpose built Wildfly instance) 

That said, we are a big gradle shop, as well as JBOSS/WF/BWF.   Most of our apps are on BWF now, a remaining JBOSS app or two, and a growing population of Quarkus apps.   

Our BWF apps are 90% built via gradle and then we have a small maven call out (from gradle) to do the final assembly of the bootable artifact (fetching layers, applying cli stuff, and so on).    

Not my favorite, but the process is working out OK. 

Periodically, I check in to see if there is any movement in better/any support for building BWF from gradle directly -- seems not much effort or appetite for it. 

Loosely related, Quarkus' gradle plugin works quite well.   FWIW:  Quarkus can be used as a platform in the same ways as BWF -- using same/similar apis and so on -- well and a whole lot more, too. 

HTH.     

Reply all
Reply to author
Forward
0 new messages