with release timestamps included, which makes distro-emr-configuration-3.6.0-SNAPSHOT.zip unavailable. This also happens for other versions that follow similar timestamped SNAPSHOT versioning in their repository folders.
I’ve realized that the issue isn’t the timestamped SNAPSHOTs, as I initially thought, but rather that build-distro sometimes fails to locate the artifact, even though mvn openmrs-sdk:setup can resolve it internally.
So i have looked through your draft pull request and i see the limitation with build-distro, perhaps something we can think about fixing but the workaround i found was to do a two-step execution i.e (generate-distro, then build-distro) where generate-distro creates the openmrs-distro.properties file based off the provided answers using the batchAnswers parameter, then build-distro uses that file to generate the required docker configuration files.
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:85)
at org.springframework.orm.hibernate5.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:194)
at org.springframework.orm.hibernate5.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:180)
at org.springframework.orm.hibernate5.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:131)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.springframework.web.multipart.support.MultipartFilter.doFilterInternal(MultipartFilter.java:125)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:120)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
I have just made a commit to openmrs-core. To take advantage of these changes, you will need to compile the standalone with something like mvn package -Dopenmrs.version=2.8.1-SNAPSHOT
I’m putting out a heads-up about the OpenMRS Standalone revamp aimed at pushing it towards production. I’ll be creating an epic for this work soon, and would appreciate it if you could keep an eye on it, provide feedback, or pick up items once they’re created this will also include some intro tickets.
I’ll be communicating updates here, so everyone can stay aligned. The plan is to bring Standalone back to life, and your input will be key to making this transition to production a success.
Just putting this out there — a new epic has been created to track the OpenMRS Standalone revamp: STAND-137.
This epic will cover all the work to get Standalone production-ready, including intro tickets and updates along the way. Everyone’s feedback and contributions will be super valuable, so feel free to follow, comment, or pick up items as they appear.
Looking forward to bringing Standalone back to life with the community in 2026!