Skip to content

Commit

Permalink
Fix extension resolution that use jdk activation, fixes #300
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jan 6, 2021
1 parent 945ad3e commit f84f1e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ protected void configure() {
final Map<String, ConfigurationProcessor> configurationProcessors = container
.lookupMap(ConfigurationProcessor.class);
final EventSpyDispatcher eventSpyDispatcher = container.lookup(EventSpyDispatcher.class);
properties(cliRequest);
configure(cliRequest, eventSpyDispatcher, configurationProcessors);
populateRequest(cliRequest, cliRequest.request, slf4jLogger, eventSpyDispatcher,
container.lookup(ModelProcessor.class), createTransferListener(cliRequest), loggingSpy);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ void version() throws IOException, InterruptedException {
client.execute(o, "-v").assertSuccess();
assertDaemonRegistrySize(1);
DaemonInfo daemon = registry.getAll().iterator().next();
assertTrue(daemon.getOptions().contains("mvnd.coreExtensions=io.takari.aether:takari-local-repository:[0.11.3,)"));
assertTrue(daemon.getOptions().contains(
"mvnd.coreExtensions=io.takari.aether:takari-local-repository:[0.11.3,);fr.jcgay.maven:maven-profiler:3.0"));

registry.awaitIdle(daemon.getUid());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@
<artifactId>takari-local-repository</artifactId>
<version>[0.11.3,)</version>
</extension>
<extension>
<groupId>fr.jcgay.maven</groupId>
<artifactId>maven-profiler</artifactId>
<version>3.0</version>
</extension>
</extensions>

0 comments on commit f84f1e0

Please sign in to comment.