Closed georgesberscheid closed 2 years ago
@jarkkosonninen does it work now?
@hasalex how about you?
@georgesberscheid Thanks for the PR. Could you open an issue that explains the problems you faced ? It would be even better with code examples, so that we can build our test application.
@hasalex There is no problem in the current master branch, but there was a problem during startup in a previous version of this PR:
Failed to define class org.jboss.as.domain.http.server.ConsoleAvailabilityService in Module "org.jboss.as.domain-http-interface" version 6.0.30.Final-redhat-00001 from local module loader @79698539 (finder: local module finder @73f792cf (roots: /Users/jso/LT/jboss-eap-7.2.9/modules,/Users/jso/LT/jboss-eap-7.2.9/modules/system/layers/base)): java.lang.NoClassDefFoundError: Failed to link org/jboss/as/domain/http/server/ConsoleAvailabilityService (Module "org.jboss.as.domain-http-interface" version 6.0.30.Final-redhat-00001 from local module loader @79698539 (finder: local module finder @73f792cf
The current version of the PR addresses this problem here: https://github.com/hasalex/eap-build/pull/175/files#diff-96b82b62b33aafc9226dbc9a02f95c2246918f27c55d23daac06a4b59bc7fcbaR137 as recommended by @cher1705
All added patch versions 7.2.8, 7.2.9, and 7.3.10 now build and run properly.
@georgesberscheid OK, and what does the change from earlyaccess to ga fix ?
Alright, so I thought that this maven repo change was only required to build 7.2.8 / 7.2.9, but from my tests it appears that we cannot build previous versions either without changing the maven repo URL. It seems like Redhat changed the repo URLs as described here: https://access.redhat.com/maven-repository
Available repos are now:
Alright, so I thought that this maven repo change was only required to build 7.2.8 / 7.2.9, but from my tests it appears that we cannot build previous versions either without changing the maven repo URL. It seems like Redhat changed the repo URLs as described here: https://access.redhat.com/maven-repository
Available repos are now:
* General availability repository: https://maven.repository.redhat.com/ga/ * Early-access repository: https://maven.repository.redhat.com/earlyaccess/all/
Thanks, did you tried to build some dists by changing the repo to use Early-access repository: https://maven.repository.redhat.com/earlyaccess/all/
For me, it's working, if I build eg 7.2.4
Updated maven repo from https://maven.repository.redhat.com/earlyaccess to https://maven.repository.redhat.com/ga Inserted dependencies for org.jboss.msc and java.desktop to module domain-http-interface
Builds and starts up properly, my application also runs correctly, but I have to admit that I'm probably not aware of the full impact of those changes.
Thanks @cher1705 for the suggestions.