Skip to content

Commit

Permalink
Update SmallRye Config to 2.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Jan 17, 2022
1 parent 3c9d92d commit ff95ddf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<microprofile-jwt.version>1.2</microprofile-jwt.version>
<microprofile-lra.version>1.0</microprofile-lra.version>
<smallrye-common.version>1.8.0</smallrye-common.version>
<smallrye-config.version>2.8.1</smallrye-config.version>
<smallrye-config.version>2.8.2</smallrye-config.version>
<smallrye-health.version>3.1.2</smallrye-health.version>
<smallrye-metrics.version>3.0.4</smallrye-metrics.version>
<smallrye-open-api.version>2.1.17</smallrye-open-api.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ public static boolean trigger(ClassLoader deploymentClassLoader,

final PropertiesConfigSource pcs = new PropertiesConfigSource(properties, "Build system");

// Discovered Config classes may cause issues here, because this goal runs before compile
final SmallRyeConfig config = ConfigUtils.configBuilder(false, false, launchMode)
.setAddDiscoveredSources(false)
.setAddDiscoveredInterceptors(false)
.setAddDiscoveredConverters(false)
.withProfile(launchMode.getDefaultProfile())
.withSources(pcs)
.build();
Expand Down

0 comments on commit ff95ddf

Please sign in to comment.