File tree Expand file tree Collapse file tree 5 files changed +43
-3
lines changed
embedded/src/org/labkey/embedded Expand file tree Collapse file tree 5 files changed +43
-3
lines changed Original file line number Diff line number Diff line change 194194 <packageUrl regex =" true" >^pkg:maven/io\.github\.x-stream/mxparser@.*$</packageUrl >
195195 <cpe >cpe:/a:xstream:xstream</cpe >
196196 </suppress >
197-
197+
198+ <!-- False positives - bzip2 from a different source -->
199+ <suppress >
200+ <notes ><![CDATA[
201+ file name: bzip2-0.9.1.jar
202+ ]]> </notes >
203+ <packageUrl regex =" true" >^pkg:maven/org\.itadaki/bzip2@.*$</packageUrl >
204+ <cve >CVE-2019-12900</cve >
205+ </suppress >
206+ <suppress >
207+ <notes ><![CDATA[
208+ file name: bzip2-0.9.1.jar
209+ ]]> </notes >
210+ <packageUrl regex =" true" >^pkg:maven/org\.itadaki/bzip2@.*$</packageUrl >
211+ <cve >CVE-2010-0405</cve >
212+ </suppress >
213+ <suppress >
214+ <notes ><![CDATA[
215+ file name: bzip2-0.9.1.jar
216+ ]]> </notes >
217+ <packageUrl regex =" true" >^pkg:maven/org\.itadaki/bzip2@.*$</packageUrl >
218+ <cve >CVE-2005-1260</cve >
219+ </suppress >
198220</suppressions >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ buildFromSource=true
4444
4545# The default version for LabKey artifacts that are built or that we depend on.
4646# override in an individual module's gradle.properties file as necessary
47- labkeyVersion =25.3.11
47+ labkeyVersion =25.3.12
4848labkeyClientApiVersion =6.2.0
4949
5050# Version numbers for the various binary artifacts that are included when
@@ -99,7 +99,7 @@ apacheDirectoryVersion=2.1.7
9999apacheMinaVersion =2.2.4
100100
101101# Usually matches the version specified as a Spring Boot dependency (see springBootVersion below)
102- apacheTomcatVersion =10.1.40
102+ apacheTomcatVersion =10.1.41
103103
104104# (mothership) -> json-path -> json-smart -> accessor-smart
105105# (core) -> graalvm
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ context.encryptionKey=@@encryptionKey@@
5858# context.additionalWebapps.firstContextPath=/my/webapp/path
5959# context.additionalWebapps.secondContextPath=/my/other/webapp/path
6060
61+ # context.externalModules=/path/to/external/modules/dir
6162# context.requiredModules=
6263# context.pipelineConfig=/path/to/pipeline/config/dir
6364# context.serverGUID=
Original file line number Diff line number Diff line change @@ -431,6 +431,8 @@ public static class ContextProperties
431431 private String contextPath = "" ;
432432 private String pipelineConfig ;
433433 private String requiredModules ;
434+ /** Path to external modules directory */
435+ private String externalModules ;
434436 private boolean bypass2FA = false ;
435437 private String serverGUID ;
436438 private Integer httpPort ;
@@ -576,6 +578,16 @@ public void setRequiredModules(String requiredModules)
576578 this .requiredModules = requiredModules ;
577579 }
578580
581+ public String getExternalModules ()
582+ {
583+ return externalModules ;
584+ }
585+
586+ public void setExternalModules (String externalModules )
587+ {
588+ this .externalModules = externalModules ;
589+ }
590+
579591 public boolean isBypass2FA ()
580592 {
581593 return bypass2FA ;
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ protected TomcatWebServer getTomcatWebServer(Tomcat tomcat)
175175 {
176176 context .addParameter ("requiredModules" , contextProperties .getRequiredModules ());
177177 }
178+ if (contextProperties .getExternalModules () != null )
179+ {
180+ // We've long supported configuring this via a system property so propagate the value
181+ System .setProperty ("labkey.externalModulesDir" , contextProperties .getExternalModules ());
182+ }
178183 if (contextProperties .getPipelineConfig () != null )
179184 {
180185 context .addParameter ("org.labkey.api.pipeline.config" , contextProperties .getPipelineConfig ());
You can’t perform that action at this time.
0 commit comments